Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil") translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.682/1.682, allocations: 293 MB / 309 MB, free: 4.801 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.001137/0.001137, allocations: 176.6 kB / 378.7 MB, free: 1.027 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.795/1.795, allocations: 205.4 MB / 0.6383 GB, free: 8.227 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008918/0.000892, allocations: 95.28 kB / 0.7527 GB, free: 62.72 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004148/0.000415, allocations: 16 kB / 0.8768 GB, free: 10.44 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2808/0.2812, allocations: 116.4 MB / 0.9904 GB, free: 5.883 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7367/1.018, allocations: 146.8 MB / 1.134 GB, free: 28.71 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002252/1.018, allocations: 94.16 kB / 1.134 GB, free: 28.64 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.02255/1.041, allocations: 8.807 MB / 1.143 GB, free: 22.63 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.184e-06/1.041, allocations: 4 kB / 1.143 GB, free: 22.63 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.804e-05/1.041, allocations: 8 kB / 1.143 GB, free: 22.62 MB / 0.7292 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.001786/1.043, allocations: 0.7889 MB / 1.143 GB, free: 21.86 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/1.043, allocations: 8.031 kB / 1.143 GB, free: 21.85 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002476/1.043, allocations: 64.7 kB / 1.143 GB, free: 21.79 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007827/1.044, allocations: 433 kB / 1.144 GB, free: 21.37 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.196e-05/1.044, allocations: 39.61 kB / 1.144 GB, free: 21.34 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001147/1.044, allocations: 52.28 kB / 1.144 GB, free: 21.29 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001219/1.045, allocations: 0.5732 MB / 1.144 GB, free: 20.77 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.163e-05/1.045, allocations: 4.734 kB / 1.144 GB, free: 20.77 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.036e-05/1.045, allocations: 17.64 kB / 1.144 GB, free: 20.75 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.194e-05/1.045, allocations: 12.61 kB / 1.144 GB, free: 20.74 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001089/1.046, allocations: 460.7 kB / 1.145 GB, free: 20.35 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002626/1.049, allocations: 1.892 MB / 1.147 GB, free: 18.68 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009589/1.05, allocations: 419.5 kB / 1.147 GB, free: 18.31 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003948/1.05, allocations: 182.7 kB / 1.147 GB, free: 18.16 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.532e-05/1.05, allocations: 4.656 kB / 1.147 GB, free: 18.15 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005432/1.051, allocations: 255.5 kB / 1.148 GB, free: 17.94 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=34): time 2.425e-06/1.051, allocations: 0 / 1.148 GB, free: 17.94 MB / 0.7292 GB Notification: Performance of matching and sorting (n=34): time 0.001274/1.052, allocations: 0.5438 MB / 1.148 GB, free: 17.46 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.587e-05/1.052, allocations: 116.4 kB / 1.148 GB, free: 17.32 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004969/1.053, allocations: 409.2 kB / 1.149 GB, free: 16.96 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 6.012e-05/1.053, allocations: 43.2 kB / 1.149 GB, free: 16.91 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001693/1.053, allocations: 246.2 kB / 1.149 GB, free: 16.68 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.916e-05/1.053, allocations: 95.12 kB / 1.149 GB, free: 16.59 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.217e-05/1.053, allocations: 8 kB / 1.149 GB, free: 16.59 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001121/1.053, allocations: 357.6 kB / 1.149 GB, free: 16.24 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004335/1.054, allocations: 175.3 kB / 1.15 GB, free: 16.1 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004853/1.054, allocations: 304.6 kB / 1.15 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007713/1.055, allocations: 445.2 kB / 1.15 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/1.055, allocations: 0 / 1.15 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.00107/1.056, allocations: 0.5693 MB / 1.151 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.515e-05/1.056, allocations: 34.59 kB / 1.151 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/1.056, allocations: 0.8438 kB / 1.151 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.179e-05/1.056, allocations: 8.797 kB / 1.151 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003125/1.057, allocations: 82.62 kB / 1.151 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.277e-05/1.057, allocations: 8.75 kB / 1.151 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004226/1.057, allocations: 84.77 kB / 1.151 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.672e-05/1.057, allocations: 16.7 kB / 1.151 GB, free: 14.61 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 () * 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.0002707/1.057, allocations: 211.8 kB / 1.151 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.168e-05/1.057, allocations: 44.03 kB / 1.151 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009314/1.058, allocations: 434.5 kB / 1.152 GB, free: 14 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/1.058, allocations: 8.938 kB / 1.152 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/1.058, allocations: 0 / 1.152 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/1.058, allocations: 1.969 kB / 1.152 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001781/1.06, allocations: 1.031 MB / 1.153 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/1.06, allocations: 4.75 kB / 1.153 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002642/1.061, allocations: 56.52 kB / 1.153 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/1.061, allocations: 0 / 1.153 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.482e-05/1.061, allocations: 13.73 kB / 1.153 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/1.061, allocations: 4 kB / 1.153 GB, free: 13.01 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/1.061, allocations: 5.609 kB / 1.153 GB, free: 13.01 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0013/1.062, allocations: 0.7203 MB / 1.153 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000187/1.062, allocations: 154.2 kB / 1.154 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.335e-05/1.062, allocations: 13.31 kB / 1.154 GB, free: 12.17 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003551/1.063, allocations: 53.14 kB / 1.154 GB, free: 12.13 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001561/1.063, allocations: 47.27 kB / 1.154 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.927e-05/1.063, allocations: 17.2 kB / 1.154 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003137/1.063, allocations: 270.2 kB / 1.154 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.9e-07/1.063, allocations: 4 kB / 1.154 GB, free: 11.85 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004632/1.064, allocations: 95.84 kB / 1.154 GB, free: 11.76 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) * 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.0001997/1.064, allocations: 119.7 kB / 1.154 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001008/1.065, allocations: 488.1 kB / 1.155 GB, free: 11.2 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/1.065, allocations: 0 / 1.155 GB, free: 11.2 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004184/1.065, allocations: 205.7 kB / 1.155 GB, free: 11.03 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005528/1.066, allocations: 82.8 kB / 1.155 GB, free: 10.97 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001541/1.067, allocations: 0.8808 MB / 1.156 GB, free: 10.13 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003507/1.068, allocations: 0.832 MB / 1.157 GB, free: 9.324 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002725/1.068, allocations: 49.83 kB / 1.157 GB, free: 9.285 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001092/1.068, allocations: 33.78 kB / 1.157 GB, free: 9.254 MB / 0.7292 GB Notification: Performance of SimCode: time 8.11e-07/1.068, allocations: 4 kB / 1.157 GB, free: 9.25 MB / 0.7292 GB Notification: Performance of Templates: time 0.0107/1.079, allocations: 4.848 MB / 1.161 GB, free: 6.121 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.makefile (rm -f Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe ; mkfifo Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe >> ../files/Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.sim & ./Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe 2>&1)