Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.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.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001401/0.001401, allocations: 177.3 kB / 15.95 MB, free: 216 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.847/1.847, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.602/1.602, allocations: 251.9 MB / 0.51 GB, free: 4.852 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.000623/0.0006231, allocations: 12 kB / 0.6241 GB, free: 1.176 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6203/0.621, allocations: 106.3 MB / 0.728 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil): time 0.003707/0.6247, allocations: 2.495 MB / 0.7304 GB, free: 8.926 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001952/0.6267, allocations: 1.119 MB / 0.7315 GB, free: 7.797 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002733/0.627, allocations: 15.94 kB / 0.7315 GB, free: 7.781 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001543/0.6272, allocations: 43.53 kB / 0.7316 GB, free: 7.738 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003531/0.6275, allocations: 95.64 kB / 0.7316 GB, free: 7.645 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006078/0.6282, allocations: 246.3 kB / 0.7319 GB, free: 7.406 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005579/0.6287, allocations: 408.4 kB / 0.7323 GB, free: 7.008 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005242/0.6293, allocations: 352.2 kB / 0.7326 GB, free: 6.652 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002206/0.6295, allocations: 175.2 kB / 0.7328 GB, free: 6.48 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002207/0.6297, allocations: 179 kB / 0.7329 GB, free: 6.305 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.488e-05/0.6298, allocations: 16 kB / 0.733 GB, free: 6.289 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.789e-05/0.6299, allocations: 24 kB / 0.733 GB, free: 6.266 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.832e-05/0.63, allocations: 79.66 kB / 0.7331 GB, free: 6.188 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001065/0.6301, allocations: 117.4 kB / 0.7332 GB, free: 6.066 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005306/0.6306, allocations: 0.5318 MB / 0.7337 GB, free: 5.535 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.6306, allocations: 0 / 0.7337 GB, free: 5.535 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.204e-06/0.6306, allocations: 0 / 0.7337 GB, free: 5.535 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.495e-05/0.6307, allocations: 0 / 0.7337 GB, free: 5.535 MB / 0.545 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.002057/0.6327, allocations: 0.804 MB / 0.7345 GB, free: 4.672 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.38e-05/0.6328, allocations: 8.031 kB / 0.7345 GB, free: 4.664 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001555/0.633, allocations: 63.3 kB / 0.7345 GB, free: 4.602 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008486/0.6338, allocations: 423.6 kB / 0.7349 GB, free: 4.145 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.977e-05/0.6339, allocations: 37 kB / 0.735 GB, free: 4.105 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/0.634, allocations: 52 kB / 0.735 GB, free: 4.055 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001175/0.6352, allocations: 0.5429 MB / 0.7356 GB, free: 3.477 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/0.6353, allocations: 3.938 kB / 0.7356 GB, free: 3.473 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.885e-05/0.6353, allocations: 16 kB / 0.7356 GB, free: 3.457 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.756e-05/0.6353, allocations: 12 kB / 0.7356 GB, free: 3.445 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001059/0.6364, allocations: 423.6 kB / 0.736 GB, free: 3.031 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002606/0.639, allocations: 1.856 MB / 0.7378 GB, free: 1.098 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0011/0.6401, allocations: 366.9 kB / 0.7382 GB, free: 0.7305 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.439e-05/0.6402, allocations: 0 / 0.7382 GB, free: 0.7305 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006294/0.6408, allocations: 229.4 kB / 0.7384 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of pre-optimization done (n=34): time 1.863e-06/0.6408, allocations: 4 kB / 0.7384 GB, free: 0.4922 MB / 0.545 GB Notification: Performance of matching and sorting (n=34): time 0.001439/0.6423, allocations: 0.5013 MB / 0.7389 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.053e-05/0.6423, allocations: 55.41 kB / 0.7389 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000457/0.6428, allocations: 401.4 kB / 0.7393 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.63e-05/0.6429, allocations: 37.7 kB / 0.7393 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002129/0.6431, allocations: 256.2 kB / 0.7396 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001055/0.6432, allocations: 98.64 kB / 0.7397 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.447e-05/0.6432, allocations: 12 kB / 0.7397 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001765/0.6434, allocations: 358.8 kB / 0.74 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004116/0.6438, allocations: 161 kB / 0.7402 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004904/0.6443, allocations: 277.8 kB / 0.7405 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004571/0.6448, allocations: 195.3 kB / 0.7406 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.748e-06/0.6448, allocations: 3.953 kB / 0.7406 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001149/0.646, allocations: 0.5382 MB / 0.7412 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.664e-05/0.646, allocations: 29.7 kB / 0.7412 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/0.6461, allocations: 4 kB / 0.7412 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.702e-05/0.6461, allocations: 8 kB / 0.7412 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003247/0.6464, allocations: 88.06 kB / 0.7413 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.505e-05/0.6464, allocations: 4 kB / 0.7413 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003671/0.6468, allocations: 79.48 kB / 0.7414 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.025e-05/0.6469, allocations: 24 kB / 0.7414 GB, free: 13.29 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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,preHeatCoil.pumOff.active,$PRE.preHeatCoil.pumOff.localActive,preHeatCoil.pumOff.localActive,$PRE.preHeatCoil.pumOff.newActive,preHeatCoil.pumOff.newActive,$PRE.preHeatCoil.pumOff.oldActive,preHeatCoil.pumOff.oldActive,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 (58): * Single equations (assignments): 57 * 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.0002808/0.6472, allocations: 216.7 kB / 0.7416 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.498e-05/0.6472, allocations: 43.48 kB / 0.7416 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009849/0.6482, allocations: 409.4 kB / 0.742 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.6482, allocations: 4 kB / 0.742 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.483e-06/0.6483, allocations: 0 / 0.742 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/0.6483, allocations: 4 kB / 0.742 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001692/0.65, allocations: 0.9718 MB / 0.743 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.65, allocations: 0 / 0.743 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002605/0.6502, allocations: 59.92 kB / 0.743 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.6503, allocations: 4 kB / 0.743 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.002e-05/0.6503, allocations: 8 kB / 0.7431 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.6503, allocations: 3.984 kB / 0.7431 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.542e-06/0.6503, allocations: 3.938 kB / 0.7431 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001323/0.6516, allocations: 0.6691 MB / 0.7437 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001525/0.6518, allocations: 148.4 kB / 0.7439 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.683e-05/0.6519, allocations: 11.98 kB / 0.7439 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003008/0.6522, allocations: 51.95 kB / 0.7439 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/0.6523, allocations: 39.94 kB / 0.744 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.774e-05/0.6524, allocations: 19.98 kB / 0.744 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002741/0.6526, allocations: 267.1 kB / 0.7442 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6526, allocations: 0 / 0.7442 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003903/0.653, allocations: 95.75 kB / 0.7443 GB, free: 10.17 MB / 0.5606 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.active,preHeatCoil.pumOff.newActive,preHeatCoil.pumOff.oldActive,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.0002019/0.6532, allocations: 129.4 kB / 0.7444 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009746/0.6542, allocations: 451.8 kB / 0.7449 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.6542, allocations: 3.938 kB / 0.7449 GB, free: 9.578 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004401/0.6547, allocations: 192.4 kB / 0.7451 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004881/0.6552, allocations: 76.39 kB / 0.7451 GB, free: 9.32 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00158/0.6568, allocations: 0.8613 MB / 0.746 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004241/0.6572, allocations: 0.8438 MB / 0.7468 GB, free: 7.559 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002077/0.6574, allocations: 47.45 kB / 0.7468 GB, free: 7.508 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001099/0.6575, allocations: 39.42 kB / 0.7469 GB, free: 7.469 MB / 0.5606 GB Notification: Performance of SimCode: time 3.3e-07/0.6576, allocations: 0 / 0.7469 GB, free: 7.469 MB / 0.5606 GB Notification: Performance of Templates: time 0.009434/0.667, allocations: 4.407 MB / 0.7512 GB, free: 3.105 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.sim & ./Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe 2>&1) Environment - environmentSimulation: