Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v2") translateModel(Buildings.Fluid.Examples.Performance.Example1v2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.622/1.622, allocations: 287.5 MB / 302.6 MB, free: 8.27 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.001064/0.001064, allocations: 174.7 kB / 371.2 MB, free: 10.85 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.435/1.435, allocations: 205.4 MB / 0.6299 GB, free: 10.57 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.0007992/0.0007993, allocations: 99.84 kB / 0.7432 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004335/0.0004336, allocations: 15.33 kB / 0.8661 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1941/0.1945, allocations: 115.3 MB / 0.9787 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example1v2): time 0.06068/0.2553, allocations: 74.5 MB / 1.051 GB, free: 1.512 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.4728/0.7281, allocations: 20.98 MB / 1.072 GB, free: 18.21 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004284/0.7324, allocations: 92.97 kB / 1.072 GB, free: 18.21 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.00313/0.7356, allocations: 0.7757 MB / 1.073 GB, free: 18.2 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.007243/0.7429, allocations: 2.261 MB / 1.075 GB, free: 18.13 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.005675/0.7485, allocations: 1.795 MB / 1.077 GB, free: 18.08 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.03013/0.7787, allocations: 30.34 MB / 1.106 GB, free: 15.31 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02347/0.8022, allocations: 14.86 MB / 1.121 GB, free: 11.23 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01931/0.8215, allocations: 9.18 MB / 1.13 GB, free: 8.469 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02082/0.8424, allocations: 10.74 MB / 1.14 GB, free: 4.855 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.004459/0.8469, allocations: 0.8144 MB / 1.141 GB, free: 4.855 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01116/0.8581, allocations: 1.786 MB / 1.143 GB, free: 3.742 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.006701/0.8648, allocations: 2.959 MB / 1.146 GB, free: 1.871 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.005942/0.8708, allocations: 1.829 MB / 1.148 GB, free: 0.6055 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.01723/0.888, allocations: 13.91 MB / 1.161 GB, free: 4.574 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/0.888, allocations: 0 / 1.161 GB, free: 4.574 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.044e-06/0.8881, allocations: 0 / 1.161 GB, free: 4.574 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0005092/0.8886, allocations: 0 / 1.161 GB, free: 4.574 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.03232/0.9209, allocations: 12.97 MB / 1.174 GB, free: 8.273 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.921, allocations: 8.031 kB / 1.174 GB, free: 8.266 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00693/0.9279, allocations: 1.276 MB / 1.175 GB, free: 6.984 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02085/0.9488, allocations: 9.89 MB / 1.185 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004438/0.9492, allocations: 440.1 kB / 1.185 GB, free: 13 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003018/0.9523, allocations: 0.5857 MB / 1.186 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02957/0.9818, allocations: 14.68 MB / 1.2 GB, free: 13.48 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002307/0.9821, allocations: 31.52 kB / 1.2 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002392/0.9845, allocations: 244 kB / 1.2 GB, free: 13.21 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001187/0.9846, allocations: 136 kB / 1.2 GB, free: 13.08 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0326/1.017, allocations: 19.88 MB / 1.22 GB, free: 9.18 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.1348/1.152, allocations: 66.64 MB / 1.285 GB, free: 5.555 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01486/1.167, allocations: 9.321 MB / 1.294 GB, free: 12.23 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01294/1.18, allocations: 8.678 MB / 1.302 GB, free: 3.555 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06164/1.242, allocations: 30.98 MB / 1.333 GB, free: 4.297 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0131/1.255, allocations: 7.744 MB / 1.34 GB, free: 12.5 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0304/1.285, allocations: 11.77 MB / 1.352 GB, free: 0.8594 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=300): time 2.593e-05/1.285, allocations: 0 / 1.352 GB, free: 0.8594 MB / 0.8855 GB Notification: Performance of matching and sorting (n=300): time 0.05748/1.343, allocations: 24.52 MB / 1.376 GB, free: 8.195 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.177e-05/1.343, allocations: 85.75 kB / 1.376 GB, free: 8.098 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01738/1.36, allocations: 8.092 MB / 1.384 GB, free: 20 kB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.002385/1.363, allocations: 105 kB / 1.384 GB, free: 15.91 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.005278/1.368, allocations: 4.011 MB / 1.388 GB, free: 11.89 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.003392/1.371, allocations: 1.079 MB / 1.389 GB, free: 10.82 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002039/1.373, allocations: 94.66 kB / 1.389 GB, free: 10.73 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0004283/1.374, allocations: 495.8 kB / 1.389 GB, free: 10.23 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01097/1.385, allocations: 6.543 MB / 1.396 GB, free: 3.68 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01304/1.398, allocations: 8.404 MB / 1.404 GB, free: 10.43 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02461/1.423, allocations: 15.3 MB / 1.419 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.812e-05/1.423, allocations: 16 kB / 1.419 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of matching and sorting (n=579) (initialization): time 0.8093/2.232, allocations: 17.81 MB / 1.436 GB, free: 337.8 MB / 0.9637 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008843/2.233, allocations: 1.559 MB / 1.438 GB, free: 335.8 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.441e-05/2.233, allocations: 47.06 kB / 1.438 GB, free: 335.8 MB / 0.9637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06796/2.301, allocations: 11.49 MB / 1.449 GB, free: 335 MB / 0.9637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00863/2.31, allocations: 1.572 MB / 1.451 GB, free: 335 MB / 0.9637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008697/2.318, allocations: 6.792 MB / 1.457 GB, free: 331.2 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01104/2.33, allocations: 0.5892 MB / 1.458 GB, free: 331.1 MB / 0.9637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00336/2.333, allocations: 0.5423 MB / 1.458 GB, free: 331 MB / 0.9637 GB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/2.333, allocations: 3.969 kB / 1.458 GB, free: 331 MB / 0.9637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03094/2.364, allocations: 16.75 MB / 1.475 GB, free: 325 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001294/2.364, allocations: 46.94 kB / 1.475 GB, free: 325 MB / 0.9637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06073/2.425, allocations: 11.03 MB / 1.486 GB, free: 321.5 MB / 0.9637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00824/2.433, allocations: 1.553 MB / 1.487 GB, free: 320.8 MB / 0.9637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01225/2.445, allocations: 11.02 MB / 1.498 GB, free: 312.6 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01303/2.458, allocations: 0.5655 MB / 1.498 GB, free: 312.4 MB / 0.9637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003762/2.462, allocations: 0.5338 MB / 1.499 GB, free: 312.1 MB / 0.9637 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.007415/2.47, allocations: 2.644 MB / 1.501 GB, free: 310.6 MB / 0.9637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002929/2.473, allocations: 0.7496 MB / 1.502 GB, free: 310.4 MB / 0.9637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02371/2.496, allocations: 14.33 MB / 1.516 GB, free: 296.1 MB / 0.9637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.729e-05/2.496, allocations: 32 kB / 1.516 GB, free: 296.1 MB / 0.9637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/2.496, allocations: 3.984 kB / 1.516 GB, free: 296.1 MB / 0.9637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01502/2.511, allocations: 10.93 MB / 1.527 GB, free: 285 MB / 0.9637 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.03501/2.547, allocations: 24.9 MB / 1.551 GB, free: 260.1 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.788e-05/2.547, allocations: 0 / 1.551 GB, free: 260.1 MB / 0.9637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005138/2.552, allocations: 0.6963 MB / 1.552 GB, free: 259.4 MB / 0.9637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.05901/2.611, allocations: 10.34 MB / 1.562 GB, free: 249.1 MB / 0.9637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001303/2.612, allocations: 107.9 kB / 1.562 GB, free: 249 MB / 0.9637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004573/2.617, allocations: 4.942 MB / 1.567 GB, free: 243.9 MB / 0.9637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/2.617, allocations: 0 / 1.567 GB, free: 243.9 MB / 0.9637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0261/2.643, allocations: 19.55 MB / 1.586 GB, free: 224.6 MB / 0.9637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00604/2.649, allocations: 2.004 MB / 1.588 GB, free: 222.6 MB / 0.9637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002982/2.652, allocations: 75.05 kB / 1.588 GB, free: 222.5 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007925/2.66, allocations: 440.2 kB / 1.588 GB, free: 222.1 MB / 0.9637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001107/2.661, allocations: 222.6 kB / 1.589 GB, free: 221.9 MB / 0.9637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006242/2.662, allocations: 159.9 kB / 1.589 GB, free: 221.8 MB / 0.9637 GB Notification: Performance of sorting global known variables: time 0.008777/2.67, allocations: 5.573 MB / 1.594 GB, free: 216.2 MB / 0.9637 GB Notification: Performance of sort global known variables: time 4.41e-07/2.67, allocations: 4 kB / 1.594 GB, free: 216.2 MB / 0.9637 GB Notification: Performance of remove unused functions: time 0.01775/2.688, allocations: 4.976 MB / 1.599 GB, free: 211.4 MB / 0.9637 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.002216/2.69, allocations: 0.5595 MB / 1.6 GB, free: 211 MB / 0.9637 GB Notification: Performance of simCode: created initialization part: time 0.03543/2.726, allocations: 24.19 MB / 1.623 GB, free: 186.7 MB / 0.9637 GB Notification: Performance of simCode: created event and clocks part: time 9.818e-06/2.726, allocations: 4.438 kB / 1.623 GB, free: 186.7 MB / 0.9637 GB Notification: Performance of simCode: created simulation system equations: time 0.008826/2.735, allocations: 6.463 MB / 1.63 GB, free: 180.2 MB / 0.9637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02827/2.763, allocations: 4.97 MB / 1.634 GB, free: 175.3 MB / 0.9637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0347/2.798, allocations: 23.11 MB / 1.657 GB, free: 152.2 MB / 0.9637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005342/2.803, allocations: 5.208 MB / 1.662 GB, free: 146.9 MB / 0.9637 GB Notification: Performance of simCode: alias equations: time 0.01955/2.823, allocations: 4.969 MB / 1.667 GB, free: 141.9 MB / 0.9637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005518/2.828, allocations: 0.9164 MB / 1.668 GB, free: 141 MB / 0.9637 GB Notification: Performance of SimCode: time 1.373e-06/2.828, allocations: 4 kB / 1.668 GB, free: 141 MB / 0.9637 GB Notification: Performance of Templates: time 0.7514/3.58, allocations: 219.6 MB / 1.882 GB, free: 276.5 MB / 0.9637 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v2.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v2.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v2.sim & ./Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v2.pipe 2>&1)