Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.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.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil") translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.636/1.636, allocations: 288.4 MB / 304.3 MB, free: 8.137 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.00102/0.001021, allocations: 184.5 kB / 373 MB, free: 10.14 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.503/1.503, allocations: 205.4 MB / 0.6317 GB, free: 9.879 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.0008239/0.0008237, allocations: 92.09 kB / 0.745 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004225/0.0004225, allocations: 12.56 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2158/0.2162, allocations: 115.3 MB / 0.9807 GB, free: 27.42 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7139/0.9302, allocations: 145.8 MB / 1.123 GB, free: 16.24 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002854/0.9305, allocations: 92.89 kB / 1.123 GB, free: 16.24 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02/0.9505, allocations: 8.809 MB / 1.132 GB, free: 30.3 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.685e-06/0.9506, allocations: 0 / 1.132 GB, free: 30.3 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.651e-05/0.9506, allocations: 11.66 kB / 1.132 GB, free: 30.3 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001326/0.952, allocations: 0.7955 MB / 1.133 GB, free: 29.68 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.952, allocations: 11.53 kB / 1.133 GB, free: 29.68 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.805e-05/0.9521, allocations: 59.25 kB / 1.133 GB, free: 29.64 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005274/0.9526, allocations: 428.7 kB / 1.133 GB, free: 29.34 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.716e-05/0.9527, allocations: 39.72 kB / 1.133 GB, free: 29.34 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.665e-05/0.9528, allocations: 54.44 kB / 1.133 GB, free: 29.33 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009312/0.9537, allocations: 0.5739 MB / 1.134 GB, free: 29.1 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.9537, allocations: 3.938 kB / 1.134 GB, free: 29.1 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.256e-05/0.9538, allocations: 21.66 kB / 1.134 GB, free: 29.09 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.9538, allocations: 11.5 kB / 1.134 GB, free: 29.09 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008635/0.9547, allocations: 452.6 kB / 1.134 GB, free: 29.02 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001977/0.9566, allocations: 1.899 MB / 1.136 GB, free: 27.77 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008794/0.9575, allocations: 416.8 kB / 1.136 GB, free: 27.68 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003493/0.9579, allocations: 181.3 kB / 1.137 GB, free: 27.64 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.455e-05/0.9579, allocations: 7.938 kB / 1.137 GB, free: 27.64 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004618/0.9584, allocations: 258.9 kB / 1.137 GB, free: 27.52 MB / 0.698 GB Notification: Performance of pre-optimization done (n=34): time 2.455e-06/0.9584, allocations: 0 / 1.137 GB, free: 27.52 MB / 0.698 GB Notification: Performance of matching and sorting (n=34): time 0.001167/0.9596, allocations: 0.5414 MB / 1.137 GB, free: 27.39 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.109e-05/0.9597, allocations: 110.3 kB / 1.137 GB, free: 27.26 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003543/0.96, allocations: 412.8 kB / 1.138 GB, free: 27.09 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.886e-05/0.9601, allocations: 36.36 kB / 1.138 GB, free: 27.05 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001461/0.9602, allocations: 245.7 kB / 1.138 GB, free: 26.91 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.284e-05/0.9603, allocations: 101.6 kB / 1.138 GB, free: 26.84 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.987e-05/0.9603, allocations: 14.97 kB / 1.138 GB, free: 26.84 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.9605, allocations: 349.5 kB / 1.139 GB, free: 26.52 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003848/0.9609, allocations: 185.2 kB / 1.139 GB, free: 26.48 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000441/0.9613, allocations: 292 kB / 1.139 GB, free: 26.32 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007281/0.9621, allocations: 451.4 kB / 1.139 GB, free: 26.12 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.9621, allocations: 0 / 1.139 GB, free: 26.12 MB / 0.698 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0009371/0.963, allocations: 0.5608 MB / 1.14 GB, free: 25.95 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.463e-05/0.9631, allocations: 37.38 kB / 1.14 GB, free: 25.91 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.9631, allocations: 3.844 kB / 1.14 GB, free: 25.91 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.9631, allocations: 3.812 kB / 1.14 GB, free: 25.91 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000311/0.9634, allocations: 88.81 kB / 1.14 GB, free: 25.88 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/0.9634, allocations: 7.656 kB / 1.14 GB, free: 25.88 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003682/0.9638, allocations: 84.33 kB / 1.14 GB, free: 25.85 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.13e-05/0.9639, allocations: 18.56 kB / 1.14 GB, free: 25.85 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 33 ($PRE.preHeatCoil.toOn.enableFire,$PRE.preHeatCoil.toOff.enableFire,preHeatCoil.stateGraphRoot.resume,preHeatCoil.stateGraphRoot.suspend,$whenCondition2,$whenCondition1,$PRE.TMix.T_start,TMix.T_start,$PRE.TMix.count,TMix.count,$PRE.preHeatCoil.preHeaOn.y,preHeatCoil.preHeaOn.y,$PRE.preHeatCoil.pumOff.localActive,preHeatCoil.pumOff.localActive,$PRE.preHeatCoil.pumOff.newActive,preHeatCoil.pumOff.newActive,$PRE.preHeatCoil.pumOff.oldActive,preHeatCoil.pumOff.oldActive,preHeatCoil.pumOff.active,preHeatCoil.toOn.enableFire,preHeatCoil.stateGraphRoot.activeSteps,$PRE.preHeatCoil.pumOn.localActive,preHeatCoil.pumOn.localActive,$PRE.preHeatCoil.pumOn.newActive,preHeatCoil.pumOn.newActive,$PRE.preHeatCoil.pumOn.oldActive,preHeatCoil.pumOn.oldActive,preHeatCoil.pumOn.active,preHeatCoil.toOff.enableFire,preHeatCoil.toOff.fire,$PRE.preHeatCoil.toOff.t_start,preHeatCoil.toOff.t_start,preHeatCoil.preHeaCoiCon.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002421/0.9641, allocations: 203.2 kB / 1.14 GB, free: 25.72 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.767e-05/0.9642, allocations: 42.66 kB / 1.141 GB, free: 25.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008597/0.965, allocations: 443.4 kB / 1.141 GB, free: 25.57 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.9651, allocations: 3.844 kB / 1.141 GB, free: 25.57 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.9651, allocations: 3.938 kB / 1.141 GB, free: 25.57 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.9651, allocations: 7.641 kB / 1.141 GB, free: 25.56 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001446/0.9665, allocations: 1.037 MB / 1.142 GB, free: 25.04 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.9665, allocations: 0 / 1.142 GB, free: 25.04 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002584/0.9668, allocations: 65.7 kB / 1.142 GB, free: 25.02 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.9668, allocations: 0 / 1.142 GB, free: 25.02 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.537e-05/0.9669, allocations: 11.77 kB / 1.142 GB, free: 25.02 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.9669, allocations: 0 / 1.142 GB, free: 25.02 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.9669, allocations: 3.844 kB / 1.142 GB, free: 25.02 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001194/0.9681, allocations: 0.7103 MB / 1.143 GB, free: 24.77 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001422/0.9682, allocations: 155.7 kB / 1.143 GB, free: 24.63 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.905e-05/0.9683, allocations: 11.58 kB / 1.143 GB, free: 24.63 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003276/0.9686, allocations: 53.23 kB / 1.143 GB, free: 24.62 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/0.9687, allocations: 47.11 kB / 1.143 GB, free: 24.59 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.318e-05/0.9688, allocations: 19.31 kB / 1.143 GB, free: 24.59 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002469/0.969, allocations: 270.8 kB / 1.143 GB, free: 24.47 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.91e-07/0.969, allocations: 0 / 1.143 GB, free: 24.47 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004094/0.9694, allocations: 92.94 kB / 1.143 GB, free: 24.46 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (preHeatCoil.preHeaCoiCon.I.y) * Number of discrete variables: 20 (preHeatCoil.toOff.enableFire,preHeatCoil.pumOn.localActive,preHeatCoil.pumOff.localActive,$cse1,$cse2,$whenCondition2,$whenCondition1,TMix.T_start,TMix.count,preHeatCoil.preHeaOn.y,preHeatCoil.pumOff.newActive,preHeatCoil.pumOff.oldActive,preHeatCoil.pumOff.active,preHeatCoil.toOn.enableFire,preHeatCoil.stateGraphRoot.activeSteps,preHeatCoil.pumOn.newActive,preHeatCoil.pumOn.oldActive,preHeatCoil.pumOn.active,preHeatCoil.toOff.fire,preHeatCoil.toOff.t_start) * Number of discrete states: 4 (TMix.count,preHeatCoil.pumOff.newActive,preHeatCoil.pumOn.newActive,preHeatCoil.preHeaOn.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001863/0.9696, allocations: 122.2 kB / 1.143 GB, free: 24.37 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0008799/0.9705, allocations: 485.9 kB / 1.144 GB, free: 24.23 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.9705, allocations: 0 / 1.144 GB, free: 24.23 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003951/0.9709, allocations: 211.3 kB / 1.144 GB, free: 24.19 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005365/0.9715, allocations: 82.27 kB / 1.144 GB, free: 24.16 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001245/0.9727, allocations: 0.8759 MB / 1.145 GB, free: 23.62 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003786/0.9731, allocations: 0.8314 MB / 1.146 GB, free: 22.86 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002208/0.9734, allocations: 58.28 kB / 1.146 GB, free: 22.83 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.9735, allocations: 34.48 kB / 1.146 GB, free: 22.82 MB / 0.698 GB Notification: Performance of SimCode: time 7.72e-07/0.9735, allocations: 3.812 kB / 1.146 GB, free: 22.82 MB / 0.698 GB Notification: Performance of Templates: time 0.00791/0.9814, allocations: 4.848 MB / 1.151 GB, free: 20.47 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.makefile (rm -f Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.sim & ./Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe 2>&1)