Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v2.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 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(Buildings.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v2") translateModel(Buildings.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 91.77 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.001391/0.001391, 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 3.2.3+maint.om/package.mo): time 1.454/1.454, allocations: 205.4 MB / 222.1 MB, free: 5.492 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.555/1.555, allocations: 252 MB / 0.5102 GB, free: 4.734 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007931/0.0007933, allocations: 19.27 kB / 0.6243 GB, free: 1.098 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5853/0.5861, allocations: 106.3 MB / 0.7281 GB, free: 11.4 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example1v2): time 0.06818/0.6544, allocations: 74.49 MB / 0.8009 GB, free: 0.7109 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.03087/0.6853, allocations: 20.98 MB / 0.8214 GB, free: 11.7 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004359/0.6897, allocations: 95.31 kB / 0.8214 GB, free: 11.6 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.00336/0.6931, allocations: 0.7763 MB / 0.8222 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.007868/0.701, allocations: 2.256 MB / 0.8244 GB, free: 8.555 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.00569/0.7067, allocations: 1.792 MB / 0.8262 GB, free: 6.781 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.03148/0.7382, allocations: 30.14 MB / 0.8556 GB, free: 8.559 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01941/0.7576, allocations: 13.45 MB / 0.8687 GB, free: 11.02 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01994/0.7776, allocations: 9.169 MB / 0.8777 GB, free: 1.824 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02241/0.8001, allocations: 10.73 MB / 0.8882 GB, free: 7.055 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.006204/0.8063, allocations: 0.8164 MB / 0.889 GB, free: 6.238 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01311/0.8195, allocations: 1.788 MB / 0.8907 GB, free: 4.449 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0089/0.8284, allocations: 2.959 MB / 0.8936 GB, free: 1.48 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.006918/0.8354, allocations: 1.825 MB / 0.8954 GB, free: 15.64 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01878/0.8542, allocations: 13.9 MB / 0.9089 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.8543, allocations: 0 / 0.9089 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of FrontEnd: time 4.469e-06/0.8543, allocations: 0 / 0.9089 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0006399/0.8549, allocations: 3.938 kB / 0.909 GB, free: 1.711 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1418 * Number of variables: 1418 Notification: Performance of Generate backend data structure: time 0.4123/1.267, allocations: 13.07 MB / 0.9217 GB, free: 164.5 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/1.267, allocations: 9.625 kB / 0.9217 GB, free: 164.5 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00726/1.275, allocations: 1.271 MB / 0.923 GB, free: 163.9 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01651/1.291, allocations: 9.61 MB / 0.9323 GB, free: 157.8 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002788/1.291, allocations: 448.1 kB / 0.9328 GB, free: 157.4 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001686/1.293, allocations: 0.5702 MB / 0.9333 GB, free: 156.8 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01934/1.312, allocations: 14.68 MB / 0.9477 GB, free: 141.9 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001094/1.313, allocations: 21.5 kB / 0.9477 GB, free: 141.8 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009916/1.314, allocations: 240 kB / 0.9479 GB, free: 141.6 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.501e-05/1.314, allocations: 143.8 kB / 0.9481 GB, free: 141.5 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02353/1.337, allocations: 19.88 MB / 0.9675 GB, free: 121.6 MB / 0.7169 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.08547/1.423, allocations: 66.61 MB / 1.033 GB, free: 53.8 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01157/1.434, allocations: 9.325 MB / 1.042 GB, free: 44.46 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009774/1.444, allocations: 8.665 MB / 1.05 GB, free: 35.79 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04898/1.493, allocations: 30.99 MB / 1.08 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01087/1.504, allocations: 7.745 MB / 1.088 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02855/1.533, allocations: 11.77 MB / 1.099 GB, free: 0.957 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=300): time 2.399e-05/1.533, allocations: 0 / 1.099 GB, free: 0.957 MB / 0.7325 GB Notification: Performance of matching and sorting (n=300): time 0.0555/1.588, allocations: 24.44 MB / 1.123 GB, free: 8.367 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.87e-05/1.588, allocations: 85.77 kB / 1.123 GB, free: 8.27 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01735/1.606, allocations: 8.096 MB / 1.131 GB, free: 192 kB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.002697/1.608, allocations: 97.7 kB / 1.131 GB, free: 88 kB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.005439/1.614, allocations: 4.021 MB / 1.135 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.003424/1.617, allocations: 1.075 MB / 1.136 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002082/1.619, allocations: 92 kB / 1.136 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0004305/1.62, allocations: 491.8 kB / 1.137 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01063/1.63, allocations: 6.551 MB / 1.143 GB, free: 3.809 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01171/1.642, allocations: 8.393 MB / 1.151 GB, free: 10.56 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01148/1.654, allocations: 7.449 MB / 1.159 GB, free: 3.086 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-05/1.654, allocations: 15.95 kB / 1.159 GB, free: 3.07 MB / 0.795 GB Notification: Performance of matching and sorting (n=579) (initialization): time 0.03735/1.691, allocations: 17.79 MB / 1.176 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.001856/1.693, allocations: 1.568 MB / 1.178 GB, free: 14.97 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001598/1.693, allocations: 49 kB / 1.178 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06321/1.756, allocations: 11.51 MB / 1.189 GB, free: 3.391 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008554/1.765, allocations: 1.568 MB / 1.19 GB, free: 1.824 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009533/1.775, allocations: 6.799 MB / 1.197 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01091/1.785, allocations: 0.5931 MB / 1.198 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00252/1.788, allocations: 0.5421 MB / 1.198 GB, free: 9.664 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/1.788, allocations: 4 kB / 1.198 GB, free: 9.66 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03331/1.821, allocations: 16.74 MB / 1.215 GB, free: 8.863 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001503/1.822, allocations: 49 kB / 1.215 GB, free: 8.816 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05906/1.881, allocations: 11.03 MB / 1.225 GB, free: 13.76 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008697/1.889, allocations: 1.557 MB / 1.227 GB, free: 12.2 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01424/1.904, allocations: 11.03 MB / 1.238 GB, free: 0.7227 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01051/1.914, allocations: 0.5663 MB / 1.238 GB, free: 160 kB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.783/2.697, allocations: 0.5285 MB / 1.239 GB, free: 298.9 MB / 0.8732 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 217 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,nRes.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (527): * Single equations (assignments): 521 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 3 {1 3,20 21,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.00677/2.704, allocations: 2.631 MB / 1.241 GB, free: 298.7 MB / 0.8732 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002588/2.707, allocations: 0.7512 MB / 1.242 GB, free: 298.7 MB / 0.8732 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02699/2.734, allocations: 14.36 MB / 1.256 GB, free: 294.6 MB / 0.8732 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-05/2.734, allocations: 31 kB / 1.256 GB, free: 294.6 MB / 0.8732 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/2.734, allocations: 3.844 kB / 1.256 GB, free: 294.6 MB / 0.8732 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01465/2.748, allocations: 10.93 MB / 1.267 GB, free: 289.7 MB / 0.8732 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 postOpt removeSimpleEquations (simulation): time 0.03255/2.781, allocations: 24.88 MB / 1.291 GB, free: 273.6 MB / 0.8732 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.219e-05/2.781, allocations: 1.078 kB / 1.291 GB, free: 273.6 MB / 0.8732 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004334/2.785, allocations: 0.7139 MB / 1.292 GB, free: 272.9 MB / 0.8732 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05345/2.839, allocations: 10.33 MB / 1.302 GB, free: 263.1 MB / 0.8732 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001299/2.84, allocations: 103.9 kB / 1.302 GB, free: 263 MB / 0.8732 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004276/2.844, allocations: 4.933 MB / 1.307 GB, free: 257.9 MB / 0.8732 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/2.844, allocations: 0 / 1.307 GB, free: 257.9 MB / 0.8732 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02404/2.868, allocations: 19.55 MB / 1.326 GB, free: 238.5 MB / 0.8732 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005201/2.874, allocations: 2.005 MB / 1.328 GB, free: 236.5 MB / 0.8732 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002528/2.876, allocations: 71.98 kB / 1.328 GB, free: 236.4 MB / 0.8732 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006471/2.883, allocations: 446.1 kB / 1.328 GB, free: 236 MB / 0.8732 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006254/2.883, allocations: 222.4 kB / 1.329 GB, free: 235.8 MB / 0.8732 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004964/2.884, allocations: 155.9 kB / 1.329 GB, free: 235.6 MB / 0.8732 GB Notification: Performance of sorting global known variables: time 0.007594/2.891, allocations: 5.566 MB / 1.334 GB, free: 230.1 MB / 0.8732 GB Notification: Performance of sort global known variables: time 4.3e-07/2.892, allocations: 4 kB / 1.334 GB, free: 230.1 MB / 0.8732 GB Notification: Performance of remove unused functions: time 0.01945/2.911, allocations: 4.978 MB / 1.339 GB, free: 225.3 MB / 0.8732 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 22 (pump.vol.dynBal.U,hea.outCon.T,vol[1].dynBal.U,vol[2].dynBal.U,vol[3].dynBal.U,vol[4].dynBal.U,vol[5].dynBal.U,vol[6].dynBal.U,vol[7].dynBal.U,vol[8].dynBal.U,vol[9].dynBal.U,vol[10].dynBal.U,vol[11].dynBal.U,vol[12].dynBal.U,vol[13].dynBal.U,vol[14].dynBal.U,vol[15].dynBal.U,vol[16].dynBal.U,vol[17].dynBal.U,vol[18].dynBal.U,vol[19].dynBal.U,vol[20].dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (304): * Single equations (assignments): 294 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 3 {1 3,2 5,20 21} Notification: Performance of Backend phase and start with SimCode phase: time 0.002254/2.913, allocations: 0.5601 MB / 1.34 GB, free: 224.9 MB / 0.8732 GB Notification: Performance of simCode: created initialization part: time 0.03407/2.947, allocations: 24.19 MB / 1.363 GB, free: 200.6 MB / 0.8732 GB Notification: Performance of simCode: created event and clocks part: time 1.018e-05/2.947, allocations: 4.125 kB / 1.363 GB, free: 200.6 MB / 0.8732 GB Notification: Performance of simCode: created simulation system equations: time 0.009514/2.957, allocations: 6.459 MB / 1.369 GB, free: 194.1 MB / 0.8732 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02671/2.984, allocations: 5.046 MB / 1.374 GB, free: 189.2 MB / 0.8732 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03519/3.019, allocations: 23.12 MB / 1.397 GB, free: 166 MB / 0.8732 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006767/3.026, allocations: 5.21 MB / 1.402 GB, free: 160.8 MB / 0.8732 GB Notification: Performance of simCode: alias equations: time 0.02088/3.047, allocations: 4.965 MB / 1.407 GB, free: 155.8 MB / 0.8732 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006854/3.053, allocations: 0.9241 MB / 1.408 GB, free: 154.9 MB / 0.8732 GB Notification: Performance of SimCode: time 7.32e-07/3.054, allocations: 3.938 kB / 1.408 GB, free: 154.9 MB / 0.8732 GB Notification: Performance of Templates: time 0.808/3.862, allocations: 219.4 MB / 1.622 GB, free: 249.9 MB / 0.8888 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v2.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v2.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v2.pipe 2>&1) Environment - environmentSimulation: