Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example1v2") translateModel(Buildings.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001093/0.001093, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 196.8 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.731/2.731, allocations: 472.6 MB / 0.7451 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 62.19 kB / 0.912 GB, free: 33.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3168/0.318, allocations: 159.9 MB / 1.068 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example1v2): time 0.07374/0.3918, allocations: 81.1 MB / 1.147 GB, free: 9.094 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.03063/0.4225, allocations: 21.08 MB / 1.168 GB, free: 3.969 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005142/0.4277, allocations: 111.3 kB / 1.168 GB, free: 3.859 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.01013/0.4378, allocations: 4.385 MB / 1.172 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.00887/0.4467, allocations: 2.828 MB / 1.175 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.006054/0.4528, allocations: 2.394 MB / 1.177 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.02888/0.4817, allocations: 29.68 MB / 1.206 GB, free: 12.49 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02177/0.5035, allocations: 17.02 MB / 1.223 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02243/0.526, allocations: 11.18 MB / 1.234 GB, free: 204 kB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01965/0.5457, allocations: 11.71 MB / 1.245 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.005213/0.5509, allocations: 1.285 MB / 1.247 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01029/0.5612, allocations: 2.747 MB / 1.249 GB, free: 428 kB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.5828/1.144, allocations: 3.752 MB / 1.253 GB, free: 53.12 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.02554/1.17, allocations: 6.673 MB / 1.26 GB, free: 52.67 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.03752/1.207, allocations: 18.86 MB / 1.278 GB, free: 51.17 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.165e-06/1.207, allocations: 0.7812 kB / 1.278 GB, free: 51.17 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.723e-06/1.207, allocations: 0 / 1.278 GB, free: 51.17 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0007631/1.208, allocations: 1 kB / 1.278 GB, free: 51.17 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1422 * Number of variables: 1422 Notification: Performance of Generate backend data structure: time 0.05952/1.268, allocations: 12.61 MB / 1.29 GB, free: 46.93 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/1.268, allocations: 13 kB / 1.29 GB, free: 46.93 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01404/1.282, allocations: 1.392 MB / 1.292 GB, free: 46.39 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0353/1.317, allocations: 10.71 MB / 1.302 GB, free: 44.86 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001412/1.319, allocations: 445.2 kB / 1.303 GB, free: 44.84 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01021/1.329, allocations: 0.5834 MB / 1.303 GB, free: 44.84 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.047/1.376, allocations: 14.65 MB / 1.317 GB, free: 44 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004471/1.376, allocations: 20.12 kB / 1.317 GB, free: 44 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006729/1.383, allocations: 243 kB / 1.318 GB, free: 44 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000149/1.383, allocations: 138.6 kB / 1.318 GB, free: 44 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03939/1.423, allocations: 19.81 MB / 1.337 GB, free: 38.13 MB / 0.9981 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.1275/1.55, allocations: 60.66 MB / 1.396 GB, free: 6.488 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01841/1.569, allocations: 9.183 MB / 1.405 GB, free: 13.29 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01596/1.585, allocations: 8.615 MB / 1.414 GB, free: 4.688 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06506/1.65, allocations: 27.5 MB / 1.441 GB, free: 8.922 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01449/1.664, allocations: 7.658 MB / 1.448 GB, free: 1.219 MB / 1.061 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01898/1.683, allocations: 4.493 MB / 1.452 GB, free: 12.86 MB / 1.076 GB Notification: Performance of pre-optimization done (n=298): time 3.191e-05/1.683, allocations: 7.562 kB / 1.452 GB, free: 12.86 MB / 1.076 GB Notification: Performance of matching and sorting (n=298): time 0.06168/1.745, allocations: 23.82 MB / 1.476 GB, free: 4.969 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.495e-05/1.745, allocations: 89.27 kB / 1.476 GB, free: 4.871 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02325/1.768, allocations: 8.827 MB / 1.484 GB, free: 12.09 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.002866/1.771, allocations: 97.7 kB / 1.485 GB, free: 11.99 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.006555/1.778, allocations: 4.211 MB / 1.489 GB, free: 7.773 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.004075/1.782, allocations: 1.08 MB / 1.49 GB, free: 6.703 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008801/1.791, allocations: 1.768 MB / 1.491 GB, free: 4.922 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001097/1.791, allocations: 309.1 kB / 1.492 GB, free: 4.617 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01223/1.803, allocations: 6.737 MB / 1.498 GB, free: 13.86 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01428/1.818, allocations: 8.569 MB / 1.507 GB, free: 4.465 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02857/1.846, allocations: 15.6 MB / 1.522 GB, free: 4.352 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.331e-05/1.846, allocations: 12.88 kB / 1.522 GB, free: 4.34 MB / 1.139 GB Notification: Performance of matching and sorting (n=644) (initialization): time 0.05039/1.897, allocations: 18.08 MB / 1.54 GB, free: 2.527 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001204/1.897, allocations: 57.64 kB / 1.54 GB, free: 2.465 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001046/1.897, allocations: 48 kB / 1.54 GB, free: 2.418 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07357/1.971, allocations: 11.59 MB / 1.551 GB, free: 6.91 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01031/1.981, allocations: 1.607 MB / 1.553 GB, free: 5.375 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006599/1.988, allocations: 3.778 MB / 1.556 GB, free: 1.547 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01478/2.002, allocations: 364.4 kB / 1.557 GB, free: 1.191 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004245/2.007, allocations: 0.5499 MB / 1.557 GB, free: 0.6406 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02151/2.028, allocations: 9.14 MB / 1.566 GB, free: 7.492 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01515/2.043, allocations: 8.542 MB / 1.574 GB, free: 14.12 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02792/2.071, allocations: 15.53 MB / 1.59 GB, free: 14.07 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.512e-05/2.071, allocations: 16 kB / 1.59 GB, free: 14.05 MB / 1.217 GB Notification: Performance of matching and sorting (n=644) (initialization_lambda0): time 0.04556/2.117, allocations: 17.94 MB / 1.607 GB, free: 12.34 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 9.464e-05/2.117, allocations: 57.69 kB / 1.607 GB, free: 12.27 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001126/2.117, allocations: 52 kB / 1.607 GB, free: 12.22 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07111/2.188, allocations: 11.13 MB / 1.618 GB, free: 1.168 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01023/2.199, allocations: 1.605 MB / 1.62 GB, free: 15.63 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01151/2.21, allocations: 8.189 MB / 1.628 GB, free: 7.191 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01355/2.224, allocations: 377.2 kB / 1.628 GB, free: 6.82 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003656/2.228, allocations: 0.546 MB / 1.629 GB, free: 6.273 MB / 1.248 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 221 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,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 (558): * Single equations (assignments): 552 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,5), (20,21), (2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.005877/2.233, allocations: 495.3 kB / 1.629 GB, free: 5.855 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006282/2.24, allocations: 0.8025 MB / 1.63 GB, free: 5.043 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03487/2.275, allocations: 14.11 MB / 1.644 GB, free: 6.93 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.868e-05/2.275, allocations: 36 kB / 1.644 GB, free: 6.895 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.12e-05/2.275, allocations: 0 / 1.644 GB, free: 6.895 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.021/2.296, allocations: 10.69 MB / 1.654 GB, free: 12.15 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05511/2.351, allocations: 24.78 MB / 1.678 GB, free: 3.367 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.49e-05/2.351, allocations: 4.062 kB / 1.678 GB, free: 3.363 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006068/2.357, allocations: 0.6869 MB / 1.679 GB, free: 2.703 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06906/2.426, allocations: 10.75 MB / 1.689 GB, free: 8.031 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001907/2.428, allocations: 99.92 kB / 1.69 GB, free: 7.934 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004394/2.432, allocations: 3.102 MB / 1.693 GB, free: 4.762 MB / 1.311 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/2.432, allocations: 0 / 1.693 GB, free: 4.762 MB / 1.311 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03855/2.471, allocations: 19.37 MB / 1.711 GB, free: 1.348 MB / 1.326 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008156/2.479, allocations: 1.877 MB / 1.713 GB, free: 15.44 MB / 1.342 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004956/2.484, allocations: 71.98 kB / 1.713 GB, free: 15.37 MB / 1.342 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01001/2.494, allocations: 207.5 kB / 1.714 GB, free: 15.17 MB / 1.342 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002207/2.497, allocations: 210.4 kB / 1.714 GB, free: 14.96 MB / 1.342 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001859/2.498, allocations: 163.9 kB / 1.714 GB, free: 14.8 MB / 1.342 GB Notification: Performance of sorting global known variables: time 0.01658/2.515, allocations: 6.067 MB / 1.72 GB, free: 8.773 MB / 1.342 GB Notification: Performance of sort global known variables: time 3.41e-07/2.515, allocations: 0 / 1.72 GB, free: 8.773 MB / 1.342 GB Notification: Performance of remove unused functions: time 0.02755/2.543, allocations: 4.937 MB / 1.725 GB, free: 3.828 MB / 1.342 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 (300): * Single equations (assignments): 291 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,5), (2,5), (20,21)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003602/2.546, allocations: 0.7412 MB / 1.725 GB, free: 3.148 MB / 1.342 GB Notification: Performance of simCode: created initialization part: time 0.06408/2.61, allocations: 29.69 MB / 1.754 GB, free: 5.727 MB / 1.373 GB Notification: Performance of simCode: created event and clocks part: time 9.337e-06/2.61, allocations: 4 kB / 1.754 GB, free: 5.723 MB / 1.373 GB Notification: Performance of simCode: created simulation system equations: time 0.554/3.164, allocations: 6.318 MB / 1.761 GB, free: 0.5226 GB / 1.373 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03074/3.195, allocations: 5.11 MB / 1.766 GB, free: 0.5222 GB / 1.373 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04342/3.239, allocations: 21.43 MB / 1.786 GB, free: 0.5168 GB / 1.373 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006062/3.245, allocations: 5.421 MB / 1.792 GB, free: 0.5158 GB / 1.373 GB Notification: Performance of simCode: alias equations: time 0.02164/3.266, allocations: 5.257 MB / 1.797 GB, free: 0.5149 GB / 1.373 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006308/3.273, allocations: 0.9331 MB / 1.798 GB, free: 0.5149 GB / 1.373 GB Notification: Performance of SimCode: time 6.91e-07/3.273, allocations: 7.719 kB / 1.798 GB, free: 0.5149 GB / 1.373 GB Notification: Performance of Templates: time 0.3142/3.587, allocations: 237.9 MB / 2.03 GB, free: 300.1 MB / 1.373 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example1v2.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example1v2.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example1v2.sim & ./Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example1v2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example1v2.pipe 2>&1)