Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil") translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.397/2.397, allocations: 285 MB / 292.5 MB, free: 10.57 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001985/0.001986, allocations: 176.9 kB / 360.7 MB, free: 7.266 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.886/1.886, allocations: 205.2 MB / 0.6192 GB, free: 12.15 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001093/0.001091, allocations: 96.59 kB / 0.7322 GB, free: 44.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.206e-05/2.216e-05, allocations: 4 kB / 0.8509 GB, free: 3.395 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8206/0.8206, allocations: 115.3 MB / 0.9634 GB, free: 78.47 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2495/1.07, allocations: 144.9 MB / 1.105 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003211/1.071, allocations: 91.08 kB / 1.105 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.03725/1.108, allocations: 8.668 MB / 1.113 GB, free: 2.961 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.104e-06/1.108, allocations: 0 / 1.113 GB, free: 2.961 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.112e-05/1.108, allocations: 15.94 kB / 1.113 GB, free: 2.945 MB / 0.7136 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.00221/1.11, allocations: 0.743 MB / 1.114 GB, free: 2.152 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/1.11, allocations: 8.031 kB / 1.114 GB, free: 2.145 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001934/1.11, allocations: 55.34 kB / 1.114 GB, free: 2.09 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009238/1.111, allocations: 424.8 kB / 1.115 GB, free: 1.629 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.47e-05/1.111, allocations: 19.94 kB / 1.115 GB, free: 1.609 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001143/1.112, allocations: 28 kB / 1.115 GB, free: 1.582 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009863/1.113, allocations: 310.6 kB / 1.115 GB, free: 1.281 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001141/1.114, allocations: 460.9 kB / 1.115 GB, free: 0.793 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/1.114, allocations: 4 kB / 1.115 GB, free: 0.7891 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.058e-05/1.114, allocations: 0 / 1.115 GB, free: 0.7891 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.062e-05/1.114, allocations: 12 kB / 1.115 GB, free: 0.7773 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003581/1.117, allocations: 1.798 MB / 1.117 GB, free: 14.92 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000903/1.118, allocations: 279.2 kB / 1.117 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003284/1.119, allocations: 116.8 kB / 1.118 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.778e-05/1.119, allocations: 4 kB / 1.118 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004721/1.119, allocations: 179 kB / 1.118 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=34): time 3.256e-06/1.119, allocations: 0 / 1.118 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of matching and sorting (n=34): time 0.000824/1.12, allocations: 267.1 kB / 1.118 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.187e-05/1.12, allocations: 118.8 kB / 1.118 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005193/1.121, allocations: 293.4 kB / 1.118 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.446e-05/1.121, allocations: 37.69 kB / 1.118 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002723/1.121, allocations: 255.9 kB / 1.119 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001266/1.121, allocations: 82.81 kB / 1.119 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.191e-05/1.121, allocations: 0 / 1.119 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001884/1.121, allocations: 354.8 kB / 1.119 GB, free: 12.9 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003355/1.122, allocations: 113.1 kB / 1.119 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004572/1.122, allocations: 233.7 kB / 1.119 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003413/1.123, allocations: 117.6 kB / 1.12 GB, free: 12.4 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/1.123, allocations: 4 kB / 1.12 GB, free: 12.4 MB / 0.7292 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001025/1.124, allocations: 381.6 kB / 1.12 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.608e-05/1.124, allocations: 33.7 kB / 1.12 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.427e-05/1.124, allocations: 4 kB / 1.12 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.369e-05/1.124, allocations: 7.938 kB / 1.12 GB, free: 11.97 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006786/1.125, allocations: 92.19 kB / 1.12 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/1.125, allocations: 7.094 kB / 1.12 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006866/1.125, allocations: 67.7 kB / 1.12 GB, free: 11.81 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.859e-05/1.125, allocations: 23.98 kB / 1.12 GB, free: 11.79 MB / 0.7292 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 () * 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.0001991/1.126, allocations: 139.3 kB / 1.12 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.111e-05/1.126, allocations: 35.62 kB / 1.12 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009015/1.127, allocations: 300.8 kB / 1.121 GB, free: 11.31 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.358e-06/1.127, allocations: 5.688 kB / 1.121 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.834e-06/1.127, allocations: 3.984 kB / 1.121 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/1.127, allocations: 8 kB / 1.121 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001874/1.129, allocations: 0.8203 MB / 1.121 GB, free: 10.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/1.129, allocations: 0 / 1.121 GB, free: 10.43 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005254/1.129, allocations: 63.92 kB / 1.121 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.335e-05/1.129, allocations: 4 kB / 1.121 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.701e-05/1.129, allocations: 3.984 kB / 1.121 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.925e-06/1.129, allocations: 4 kB / 1.121 GB, free: 10.35 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/1.129, allocations: 0 / 1.121 GB, free: 10.35 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001266/1.13, allocations: 0.5401 MB / 1.122 GB, free: 9.785 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002367/1.131, allocations: 148.6 kB / 1.122 GB, free: 9.621 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.932e-05/1.131, allocations: 9.75 kB / 1.122 GB, free: 9.613 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006314/1.131, allocations: 47.94 kB / 1.122 GB, free: 9.566 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000199/1.132, allocations: 51.89 kB / 1.122 GB, free: 9.516 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.393e-05/1.132, allocations: 11.98 kB / 1.122 GB, free: 9.504 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003572/1.132, allocations: 208.6 kB / 1.122 GB, free: 9.305 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.01e-07/1.132, allocations: 0 / 1.122 GB, free: 9.305 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0006515/1.133, allocations: 75.84 kB / 1.123 GB, free: 9.23 MB / 0.7292 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) * 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.0002615/1.133, allocations: 137.3 kB / 1.123 GB, free: 9.086 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0008775/1.134, allocations: 351.5 kB / 1.123 GB, free: 8.73 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/1.134, allocations: 0 / 1.123 GB, free: 8.73 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003905/1.134, allocations: 143.9 kB / 1.123 GB, free: 8.59 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006771/1.135, allocations: 64.28 kB / 1.123 GB, free: 8.535 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001697/1.137, allocations: 0.514 MB / 1.124 GB, free: 7.984 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005629/1.137, allocations: 0.8435 MB / 1.125 GB, free: 7.117 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0003967/1.138, allocations: 41.34 kB / 1.125 GB, free: 7.082 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001829/1.138, allocations: 38.33 kB / 1.125 GB, free: 7.047 MB / 0.7292 GB Notification: Performance of SimCode: time 8.72e-07/1.138, allocations: 0 / 1.125 GB, free: 7.047 MB / 0.7292 GB Notification: Performance of Templates: time 0.01496/1.153, allocations: 4.265 MB / 1.129 GB, free: 2.906 MB / 0.7292 GB make -j1 -f Buildings_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.makefile (rm -f Buildings_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.sim & ./Buildings_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe 2>&1)