Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v2") translateModel(Buildings.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.718/1.718, allocations: 288.4 MB / 303.4 MB, free: 8.031 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00148/0.00148, allocations: 179.2 kB / 372 MB, free: 10.22 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.474/1.474, allocations: 205.4 MB / 0.6307 GB, free: 9.98 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007814/0.0007814, allocations: 90.34 kB / 0.7441 GB, free: 5.898 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004174/0.0004174, allocations: 15.02 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1925/0.1929, allocations: 115.3 MB / 0.9796 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example1v2): time 0.05898/0.2519, allocations: 74.47 MB / 1.052 GB, free: 0.9844 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.4032/0.6552, allocations: 20.98 MB / 1.073 GB, free: 18.74 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003107/0.6584, allocations: 92.25 kB / 1.073 GB, free: 18.74 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.002458/0.6608, allocations: 0.7804 MB / 1.074 GB, free: 18.74 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.006424/0.6673, allocations: 2.263 MB / 1.076 GB, free: 18.67 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.004997/0.6723, allocations: 1.792 MB / 1.078 GB, free: 18.62 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.02793/0.7002, allocations: 30.14 MB / 1.107 GB, free: 15.88 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01656/0.7168, allocations: 13.45 MB / 1.12 GB, free: 11.42 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01689/0.7338, allocations: 9.17 MB / 1.129 GB, free: 8.664 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01944/0.7532, allocations: 10.73 MB / 1.14 GB, free: 5.047 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.00424/0.7575, allocations: 0.8162 MB / 1.14 GB, free: 5.047 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009254/0.7668, allocations: 1.79 MB / 1.142 GB, free: 4.617 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.005241/0.7721, allocations: 2.962 MB / 1.145 GB, free: 2.746 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.00507/0.7771, allocations: 1.831 MB / 1.147 GB, free: 1.48 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.01629/0.7935, allocations: 13.9 MB / 1.16 GB, free: 5.457 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.7935, allocations: 0 / 1.16 GB, free: 5.457 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.745e-06/0.7935, allocations: 0 / 1.16 GB, free: 5.457 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0004442/0.794, allocations: 0 / 1.16 GB, free: 5.457 MB / 0.698 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.03143/0.8254, allocations: 13.08 MB / 1.173 GB, free: 9.055 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.8255, allocations: 8.031 kB / 1.173 GB, free: 9.047 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007801/0.8333, allocations: 1.273 MB / 1.174 GB, free: 7.766 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02414/0.8574, allocations: 9.612 MB / 1.184 GB, free: 14.49 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005468/0.858, allocations: 444 kB / 1.184 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004703/0.8628, allocations: 0.5887 MB / 1.185 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03025/0.893, allocations: 14.68 MB / 1.199 GB, free: 14.53 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000165/0.8932, allocations: 23.77 kB / 1.199 GB, free: 14.51 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001833/0.8951, allocations: 248 kB / 1.199 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001035/0.8952, allocations: 140 kB / 1.2 GB, free: 14.13 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0339/0.9291, allocations: 19.88 MB / 1.219 GB, free: 10.23 MB / 0.7605 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.1192/1.048, allocations: 66.61 MB / 1.284 GB, free: 6.625 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01519/1.064, allocations: 9.332 MB / 1.293 GB, free: 13.3 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01413/1.078, allocations: 8.674 MB / 1.302 GB, free: 4.637 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06582/1.144, allocations: 30.98 MB / 1.332 GB, free: 5.375 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01353/1.157, allocations: 7.742 MB / 1.339 GB, free: 13.59 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.03243/1.19, allocations: 11.76 MB / 1.351 GB, free: 1.941 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=300): time 2.76e-05/1.19, allocations: 0 / 1.351 GB, free: 1.941 MB / 0.8855 GB Notification: Performance of matching and sorting (n=300): time 0.05854/1.248, allocations: 24.44 MB / 1.375 GB, free: 9.367 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.66e-05/1.248, allocations: 85.77 kB / 1.375 GB, free: 9.27 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01299/1.261, allocations: 8.096 MB / 1.383 GB, free: 1.188 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.002569/1.264, allocations: 101.7 kB / 1.383 GB, free: 1.082 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.004245/1.268, allocations: 4.017 MB / 1.387 GB, free: 13.06 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.003627/1.272, allocations: 1.082 MB / 1.388 GB, free: 11.98 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009303/1.273, allocations: 88 kB / 1.388 GB, free: 11.9 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.000366/1.273, allocations: 495.8 kB / 1.388 GB, free: 11.41 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01036/1.284, allocations: 6.544 MB / 1.395 GB, free: 4.852 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01248/1.296, allocations: 8.404 MB / 1.403 GB, free: 11.61 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01274/1.309, allocations: 7.437 MB / 1.41 GB, free: 4.156 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.927e-05/1.309, allocations: 16 kB / 1.41 GB, free: 4.141 MB / 0.948 GB Notification: Performance of matching and sorting (n=579) (initialization): time 0.03703/1.346, allocations: 17.81 MB / 1.428 GB, free: 2.277 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.001158/1.347, allocations: 1.556 MB / 1.429 GB, free: 44 kB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.4169/1.764, allocations: 47.95 kB / 1.429 GB, free: 339.7 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07501/1.839, allocations: 11.5 MB / 1.44 GB, free: 339.4 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008873/1.848, allocations: 1.568 MB / 1.442 GB, free: 339.4 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009369/1.858, allocations: 6.795 MB / 1.449 GB, free: 336.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01086/1.868, allocations: 0.5926 MB / 1.449 GB, free: 336.4 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002294/1.871, allocations: 0.5438 MB / 1.45 GB, free: 336.4 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/1.871, allocations: 3.719 kB / 1.45 GB, free: 336.4 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03013/1.901, allocations: 16.75 MB / 1.466 GB, free: 331.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001201/1.901, allocations: 48.34 kB / 1.466 GB, free: 331.1 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06676/1.968, allocations: 11.03 MB / 1.477 GB, free: 328.6 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007846/1.976, allocations: 1.555 MB / 1.478 GB, free: 327.9 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01204/1.988, allocations: 11.02 MB / 1.489 GB, free: 319.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01032/1.998, allocations: 0.5733 MB / 1.49 GB, free: 319.5 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002549/2.001, allocations: 0.5344 MB / 1.49 GB, free: 319.2 MB / 0.9636 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.006715/2.007, allocations: 2.634 MB / 1.493 GB, free: 317.7 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002694/2.01, allocations: 0.7463 MB / 1.494 GB, free: 317.7 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02399/2.034, allocations: 14.35 MB / 1.508 GB, free: 306.1 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-05/2.034, allocations: 42.53 kB / 1.508 GB, free: 306.1 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/2.034, allocations: 2.516 kB / 1.508 GB, free: 306.1 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01362/2.048, allocations: 10.93 MB / 1.518 GB, free: 295.1 MB / 0.9636 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.03173/2.08, allocations: 24.89 MB / 1.543 GB, free: 270.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-05/2.08, allocations: 4 kB / 1.543 GB, free: 270.2 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004636/2.084, allocations: 0.7055 MB / 1.543 GB, free: 269.5 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06294/2.147, allocations: 10.33 MB / 1.553 GB, free: 259.2 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001429/2.149, allocations: 103.9 kB / 1.553 GB, free: 259.1 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004457/2.153, allocations: 4.943 MB / 1.558 GB, free: 254 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/2.153, allocations: 0 / 1.558 GB, free: 254 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02567/2.179, allocations: 19.55 MB / 1.577 GB, free: 234.4 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006237/2.185, allocations: 1.995 MB / 1.579 GB, free: 232.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002556/2.188, allocations: 79.91 kB / 1.579 GB, free: 232.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00699/2.195, allocations: 451.9 kB / 1.58 GB, free: 231.9 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006727/2.196, allocations: 214.5 kB / 1.58 GB, free: 231.6 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005607/2.196, allocations: 159.9 kB / 1.58 GB, free: 231.5 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.00834/2.204, allocations: 5.57 MB / 1.586 GB, free: 225.9 MB / 0.9636 GB Notification: Performance of sort global known variables: time 3.3e-07/2.204, allocations: 2.844 kB / 1.586 GB, free: 225.9 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.01926/2.224, allocations: 4.978 MB / 1.591 GB, free: 221.2 MB / 0.9636 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.002151/2.226, allocations: 0.5464 MB / 1.591 GB, free: 220.7 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0351/2.261, allocations: 24.2 MB / 1.615 GB, free: 196.4 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.161e-05/2.261, allocations: 4 kB / 1.615 GB, free: 196.4 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.009084/2.27, allocations: 6.473 MB / 1.621 GB, free: 189.9 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.025/2.295, allocations: 5.043 MB / 1.626 GB, free: 185 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03024/2.325, allocations: 23.12 MB / 1.648 GB, free: 161.8 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003539/2.329, allocations: 5.214 MB / 1.654 GB, free: 156.6 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.01788/2.347, allocations: 4.965 MB / 1.658 GB, free: 151.6 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005222/2.352, allocations: 0.9241 MB / 1.659 GB, free: 150.7 MB / 0.9636 GB Notification: Performance of SimCode: time 9.41e-07/2.352, allocations: 0 / 1.659 GB, free: 150.7 MB / 0.9636 GB Notification: Performance of Templates: time 0.7372/3.089, allocations: 219.4 MB / 1.874 GB, free: 272.1 MB / 0.9636 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v2.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v2.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v2.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example1v2.pipe 2>&1)