Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") translateModel(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008293/0.0008292, allocations: 91.84 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008881/0.0008881, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.318/1.318, allocations: 223.3 MB / 240 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001748/0.001749, allocations: 274 kB / 291.4 MB, free: 1.863 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9419/0.9419, allocations: 169.5 MB / 0.5 GB, free: 14.24 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004257/0.0004258, allocations: 15.25 kB / 0.598 GB, free: 28.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1359, allocations: 88.54 MB / 0.6845 GB, free: 15.5 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction): time 0.4156/0.5515, allocations: 155.4 MB / 0.8362 GB, free: 9.738 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00552/0.5571, allocations: 4.028 MB / 0.8402 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004325/0.5575, allocations: 23.66 kB / 0.8402 GB, free: 6.457 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006889/0.5582, allocations: 238.9 kB / 0.8404 GB, free: 6.262 MB / 0.5606 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.001979/0.5602, allocations: 0.9047 MB / 0.8413 GB, free: 5.551 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001313/0.5615, allocations: 0.5733 MB / 0.8419 GB, free: 5.141 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001838/0.5634, allocations: 1.989 MB / 0.8438 GB, free: 3.98 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005425/0.5639, allocations: 417.3 kB / 0.8442 GB, free: 3.742 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008649/0.5648, allocations: 0.5765 MB / 0.8448 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006705/0.5655, allocations: 0.5253 MB / 0.8453 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.09e-05/0.5656, allocations: 31.16 kB / 0.8453 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008625/0.5664, allocations: 412.3 kB / 0.8457 GB, free: 2.965 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002227/0.5667, allocations: 226.3 kB / 0.8459 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001419/0.5668, allocations: 169.1 kB / 0.8461 GB, free: 2.73 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0008263/0.5677, allocations: 0.8785 MB / 0.8469 GB, free: 2.152 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.5677, allocations: 0 / 0.8469 GB, free: 2.152 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.212e-06/0.5677, allocations: 0 / 0.8469 GB, free: 2.152 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.536e-06/0.5677, allocations: 0 / 0.8469 GB, free: 2.152 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.001457/0.5691, allocations: 0.9157 MB / 0.8478 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.881e-05/0.5692, allocations: 8.062 kB / 0.8478 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009481/0.5701, allocations: 161.5 kB / 0.848 GB, free: 1.344 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000694/0.5708, allocations: 0.5065 MB / 0.8485 GB, free: 0.918 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.174e-05/0.5709, allocations: 46.91 kB / 0.8485 GB, free: 0.8945 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.101e-05/0.571, allocations: 53.14 kB / 0.8486 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001029/0.572, allocations: 0.6525 MB / 0.8492 GB, free: 500 kB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.572, allocations: 6.672 kB / 0.8492 GB, free: 496 kB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.882e-05/0.5721, allocations: 20.88 kB / 0.8493 GB, free: 480 kB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.874e-05/0.5721, allocations: 21.19 kB / 0.8493 GB, free: 476 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008751/0.573, allocations: 0.5244 MB / 0.8498 GB, free: 216 kB / 0.5606 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.003028/0.576, allocations: 2.3 MB / 0.852 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004924/0.5765, allocations: 270.5 kB / 0.8523 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002301/0.5768, allocations: 143.9 kB / 0.8524 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.786e-05/0.5768, allocations: 6.859 kB / 0.8524 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.475e-05/0.5769, allocations: 37.19 kB / 0.8525 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=20): time 1.383e-06/0.5769, allocations: 0 / 0.8525 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20): time 0.001492/0.5784, allocations: 0.6805 MB / 0.8531 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.684e-05/0.5784, allocations: 87.53 kB / 0.8532 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005848/0.579, allocations: 0.549 MB / 0.8538 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.471e-05/0.5791, allocations: 36.27 kB / 0.8538 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002253/0.5793, allocations: 338.2 kB / 0.8541 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.926e-05/0.5794, allocations: 66.94 kB / 0.8542 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.867e-05/0.5794, allocations: 6.938 kB / 0.8542 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.5795, allocations: 361.6 kB / 0.8545 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002454/0.5798, allocations: 135.5 kB / 0.8547 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002947/0.5801, allocations: 225.8 kB / 0.8549 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002942/0.5804, allocations: 165.1 kB / 0.855 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.564e-06/0.5804, allocations: 0 / 0.855 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000872/0.5813, allocations: 0.5126 MB / 0.8555 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.5813, allocations: 5.125 kB / 0.8555 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.5813, allocations: 2.875 kB / 0.8555 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002896/0.5816, allocations: 92.58 kB / 0.8556 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000316/0.5819, allocations: 74.03 kB / 0.8557 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002697/0.5846, allocations: 3.096 MB / 0.8587 GB, free: 8.762 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004697/0.5851, allocations: 64.11 kB / 0.8588 GB, free: 8.723 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.098e-05/0.5852, allocations: 14.84 kB / 0.8588 GB, free: 8.719 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (34): * Single equations (assignments): 32 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002566/0.5854, allocations: 233.3 kB / 0.859 GB, free: 8.527 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.637e-05/0.5855, allocations: 58.86 kB / 0.8591 GB, free: 8.496 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.325e-05/0.5856, allocations: 49.14 kB / 0.8591 GB, free: 8.465 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.5856, allocations: 5.891 kB / 0.8591 GB, free: 8.461 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.5856, allocations: 2 kB / 0.8591 GB, free: 8.461 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006909/0.5863, allocations: 0.5424 MB / 0.8597 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0012/0.5876, allocations: 0.9249 MB / 0.8606 GB, free: 7.273 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.5876, allocations: 3.938 kB / 0.8606 GB, free: 7.27 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002053/0.5878, allocations: 39.17 kB / 0.8606 GB, free: 7.266 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001859/0.588, allocations: 66.45 kB / 0.8607 GB, free: 7.227 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.857e-05/0.588, allocations: 7 kB / 0.8607 GB, free: 7.223 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001511/0.5895, allocations: 1.689 MB / 0.8623 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.5895, allocations: 2.906 kB / 0.8623 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006065/0.5901, allocations: 456.2 kB / 0.8628 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001979/0.5904, allocations: 162.2 kB / 0.8629 GB, free: 5.188 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.182e-05/0.5904, allocations: 10.92 kB / 0.8629 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004258/0.5909, allocations: 30.95 kB / 0.863 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.512e-05/0.5909, allocations: 24.69 kB / 0.863 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.672e-05/0.591, allocations: 12.17 kB / 0.863 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004123/0.5914, allocations: 399.5 kB / 0.8634 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5914, allocations: 3.938 kB / 0.8634 GB, free: 4.91 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005973/0.592, allocations: 199 kB / 0.8636 GB, free: 4.887 MB / 0.5762 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 (15): * Single equations (assignments): 14 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003416/0.5924, allocations: 183.4 kB / 0.8637 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008239/0.5932, allocations: 0.5392 MB / 0.8643 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.5932, allocations: 0.5625 kB / 0.8643 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003474/0.5936, allocations: 257.1 kB / 0.8645 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0015/0.5951, allocations: 359.3 kB / 0.8649 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001431/0.5965, allocations: 1.198 MB / 0.866 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004321/0.597, allocations: 0.9082 MB / 0.8669 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004278/0.5974, allocations: 109.5 kB / 0.867 GB, free: 2.336 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.408e-05/0.5975, allocations: 41.17 kB / 0.8671 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of SimCode: time 2.51e-07/0.5975, allocations: 0 / 0.8671 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of Templates: time 0.01833/0.6158, allocations: 11.96 MB / 0.8787 GB, free: 8.641 MB / 0.5919 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.pipe 2>&1)