Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.47/1.47, allocations: 252 MB / 267 MB, free: 10.96 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001174/0.001174, allocations: 173.7 kB / 326.6 MB, free: 2.215 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.054/2.054, allocations: 205.4 MB / 0.5777 GB, free: 20.26 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008189/0.0008188, allocations: 86.36 kB / 0.6822 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003856/0.0003855, allocations: 8.688 kB / 0.7964 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.256/0.2564, allocations: 106.3 MB / 0.9003 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate): time 0.1886/0.445, allocations: 155.5 MB / 1.052 GB, free: 3.836 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.646/1.091, allocations: 4.082 MB / 1.056 GB, free: 4.297 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001149/1.092, allocations: 18.47 kB / 1.056 GB, free: 4.297 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001089/1.093, allocations: 239.8 kB / 1.056 GB, free: 4.297 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.003386/1.097, allocations: 0.8107 MB / 1.057 GB, free: 4.285 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002453/1.099, allocations: 0.6182 MB / 1.058 GB, free: 4.27 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003183/1.103, allocations: 1.628 MB / 1.059 GB, free: 4.27 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001046/1.104, allocations: 376.4 kB / 1.06 GB, free: 4.246 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001716/1.105, allocations: 0.5453 MB / 1.06 GB, free: 4.246 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001214/1.107, allocations: 471.4 kB / 1.061 GB, free: 4.242 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001103/1.107, allocations: 23.83 kB / 1.061 GB, free: 4.242 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001958/1.109, allocations: 0.6153 MB / 1.061 GB, free: 4.23 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004222/1.109, allocations: 199.5 kB / 1.062 GB, free: 4.23 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.000692/1.11, allocations: 143.7 kB / 1.062 GB, free: 20.2 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.001785/1.112, allocations: 0.8285 MB / 1.063 GB, free: 20.14 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/1.112, allocations: 0 / 1.063 GB, free: 20.14 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.685e-06/1.112, allocations: 6.469 kB / 1.063 GB, free: 20.14 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.071e-05/1.112, allocations: 0 / 1.063 GB, free: 20.14 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.00205/1.114, allocations: 0.8548 MB / 1.063 GB, free: 19.56 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/1.114, allocations: 11.69 kB / 1.063 GB, free: 19.56 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001518/1.114, allocations: 84.86 kB / 1.063 GB, free: 19.52 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001632/1.116, allocations: 270.6 kB / 1.064 GB, free: 19.48 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001028/1.117, allocations: 484.7 kB / 1.064 GB, free: 19.23 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000382/1.117, allocations: 98.19 kB / 1.064 GB, free: 19.22 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.444e-05/1.117, allocations: 49.66 kB / 1.064 GB, free: 19.21 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00151/1.119, allocations: 0.6529 MB / 1.065 GB, free: 19.12 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/1.119, allocations: 0 / 1.065 GB, free: 19.12 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.396e-05/1.119, allocations: 20.03 kB / 1.065 GB, free: 19.12 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.865e-05/1.119, allocations: 22.98 kB / 1.065 GB, free: 19.12 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001611/1.12, allocations: 0.5827 MB / 1.066 GB, free: 19.1 MB / 0.7136 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005344/1.126, allocations: 2.317 MB / 1.068 GB, free: 18.05 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001136/1.127, allocations: 315.6 kB / 1.068 GB, free: 18.01 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006501/1.128, allocations: 186.9 kB / 1.068 GB, free: 17.99 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.502e-05/1.128, allocations: 7.922 kB / 1.068 GB, free: 17.99 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.66e-05/1.128, allocations: 39.52 kB / 1.068 GB, free: 17.95 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 4.549e-06/1.128, allocations: 2.906 kB / 1.068 GB, free: 17.95 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.006113/1.134, allocations: 1.179 MB / 1.069 GB, free: 17.74 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.015e-05/1.134, allocations: 78.89 kB / 1.07 GB, free: 17.64 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001057/1.135, allocations: 0.5568 MB / 1.07 GB, free: 17.52 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001259/1.135, allocations: 31.86 kB / 1.07 GB, free: 17.48 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002448/1.135, allocations: 311 kB / 1.07 GB, free: 17.32 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.988e-05/1.135, allocations: 42.16 kB / 1.07 GB, free: 17.3 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.991e-05/1.135, allocations: 4.844 kB / 1.07 GB, free: 17.3 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000153/1.136, allocations: 358 kB / 1.071 GB, free: 16.99 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007023/1.136, allocations: 207.2 kB / 1.071 GB, free: 16.98 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007445/1.137, allocations: 301.3 kB / 1.071 GB, free: 16.86 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007452/1.138, allocations: 216.9 kB / 1.072 GB, free: 16.85 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/1.138, allocations: 0.5938 kB / 1.072 GB, free: 16.85 MB / 0.7136 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.003274/1.141, allocations: 0.7805 MB / 1.072 GB, free: 16.76 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.578e-05/1.141, allocations: 9.672 kB / 1.072 GB, free: 16.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/1.141, allocations: 2.656 kB / 1.072 GB, free: 16.75 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007014/1.142, allocations: 189.5 kB / 1.072 GB, free: 16.73 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004368/1.142, allocations: 86.34 kB / 1.073 GB, free: 16.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003987/1.146, allocations: 2.082 MB / 1.075 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009611/1.147, allocations: 92.55 kB / 1.075 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.807e-05/1.147, allocations: 13.33 kB / 1.075 GB, free: 15.4 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0005192/1.148, allocations: 197 kB / 1.075 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001444/1.148, allocations: 58.36 kB / 1.075 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001315/1.148, allocations: 55.09 kB / 1.075 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/1.148, allocations: 1.438 kB / 1.075 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/1.148, allocations: 0.5625 kB / 1.075 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/1.148, allocations: 1.859 kB / 1.075 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003631/1.152, allocations: 1.191 MB / 1.076 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/1.152, allocations: 0.8125 kB / 1.076 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002663/1.152, allocations: 48.8 kB / 1.076 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005937/1.153, allocations: 187 kB / 1.076 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.568e-05/1.153, allocations: 4.359 kB / 1.076 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003606/1.157, allocations: 2.058 MB / 1.078 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/1.157, allocations: 1.406 kB / 1.078 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002825/1.159, allocations: 0.7652 MB / 1.079 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004831/1.16, allocations: 175.7 kB / 1.079 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.85e-05/1.16, allocations: 9.016 kB / 1.079 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006673/1.161, allocations: 66.73 kB / 1.079 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.864e-05/1.161, allocations: 12.2 kB / 1.079 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.425e-05/1.161, allocations: 10.64 kB / 1.079 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0007045/1.162, allocations: 401.2 kB / 1.08 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/1.162, allocations: 4 kB / 1.08 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008466/1.162, allocations: 164 kB / 1.08 GB, free: 13.13 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.003604/1.166, allocations: 1.379 MB / 1.081 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001991/1.168, allocations: 0.5652 MB / 1.082 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.097e-06/1.168, allocations: 3.141 kB / 1.082 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000843/1.169, allocations: 323.8 kB / 1.082 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001912/1.171, allocations: 307.5 kB / 1.082 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009206/1.18, allocations: 3.594 MB / 1.086 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004653/1.181, allocations: 0.8642 MB / 1.087 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0007176/1.181, allocations: 106.2 kB / 1.087 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002125/1.182, allocations: 168.4 kB / 1.087 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of SimCode: time 1.162e-06/1.182, allocations: 0 / 1.087 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03712/1.219, allocations: 16.38 MB / 1.103 GB, free: 7.043 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002596/1.219, allocations: 291 kB / 1.103 GB, free: 6.688 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.634/3.854, allocations: 0 / 1.103 GB, free: 6.688 MB / 0.7136 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Examples_MixingVolumePrescribedHeatFlowRate.fmu > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.pipe 2>&1)