Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.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.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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.52/2.52, allocations: 287.5 MB / 303.2 MB, free: 8.266 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.001277/0.001277, allocations: 180.5 kB / 371.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.04/2.04, allocations: 205.4 MB / 0.6305 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.0009322/0.0009317, allocations: 94.28 kB / 0.7438 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006251/0.0006252, allocations: 14.75 kB / 0.8667 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2078/0.2084, allocations: 115.3 MB / 0.9793 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8972/1.106, allocations: 145.6 MB / 1.122 GB, free: 15.64 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002945/1.106, allocations: 99.61 kB / 1.122 GB, free: 15.64 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03288/1.139, allocations: 8.798 MB / 1.13 GB, free: 30.63 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.793e-06/1.139, allocations: 3.938 kB / 1.13 GB, free: 30.62 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.431e-05/1.139, allocations: 15.53 kB / 1.13 GB, free: 30.62 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.001973/1.141, allocations: 0.7934 MB / 1.131 GB, free: 30 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/1.141, allocations: 7.719 kB / 1.131 GB, free: 30 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001469/1.141, allocations: 62.84 kB / 1.131 GB, free: 29.96 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000752/1.142, allocations: 436.3 kB / 1.131 GB, free: 29.66 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.768e-05/1.142, allocations: 37.19 kB / 1.132 GB, free: 29.66 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001064/1.142, allocations: 55.03 kB / 1.132 GB, free: 29.65 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001479/1.144, allocations: 0.5662 MB / 1.132 GB, free: 29.43 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.299e-05/1.144, allocations: 7.875 kB / 1.132 GB, free: 29.42 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.012e-05/1.144, allocations: 24.27 kB / 1.132 GB, free: 29.41 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.386e-05/1.144, allocations: 11.66 kB / 1.132 GB, free: 29.41 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001563/1.145, allocations: 447.5 kB / 1.133 GB, free: 29.34 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003205/1.149, allocations: 1.899 MB / 1.134 GB, free: 28.09 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00151/1.15, allocations: 412 kB / 1.135 GB, free: 28 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006715/1.151, allocations: 186.8 kB / 1.135 GB, free: 27.96 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.659e-05/1.151, allocations: 3.875 kB / 1.135 GB, free: 27.96 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007895/1.152, allocations: 253.7 kB / 1.135 GB, free: 27.85 MB / 0.698 GB Notification: Performance of pre-optimization done (n=34): time 4.859e-06/1.152, allocations: 0 / 1.135 GB, free: 27.85 MB / 0.698 GB Notification: Performance of matching and sorting (n=34): time 0.002091/1.154, allocations: 0.5468 MB / 1.136 GB, free: 27.71 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.499e-05/1.154, allocations: 106.7 kB / 1.136 GB, free: 27.59 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005994/1.155, allocations: 413 kB / 1.136 GB, free: 27.41 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.707e-05/1.155, allocations: 39.2 kB / 1.136 GB, free: 27.38 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002181/1.155, allocations: 250.4 kB / 1.137 GB, free: 27.23 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001001/1.155, allocations: 94.92 kB / 1.137 GB, free: 27.17 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.585e-05/1.155, allocations: 9.344 kB / 1.137 GB, free: 27.17 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001502/1.155, allocations: 350.4 kB / 1.137 GB, free: 26.84 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006904/1.156, allocations: 183.6 kB / 1.137 GB, free: 26.81 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007521/1.157, allocations: 294.5 kB / 1.137 GB, free: 26.65 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001296/1.158, allocations: 448.2 kB / 1.138 GB, free: 26.46 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/1.158, allocations: 0 / 1.138 GB, free: 26.46 MB / 0.698 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001749/1.16, allocations: 0.5639 MB / 1.138 GB, free: 26.28 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.791e-05/1.16, allocations: 41.34 kB / 1.138 GB, free: 26.24 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/1.16, allocations: 7.812 kB / 1.138 GB, free: 26.23 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.258e-05/1.16, allocations: 3.875 kB / 1.138 GB, free: 26.23 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005717/1.16, allocations: 83.8 kB / 1.139 GB, free: 26.21 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.439e-05/1.16, allocations: 11.89 kB / 1.139 GB, free: 26.21 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006702/1.161, allocations: 84.86 kB / 1.139 GB, free: 26.17 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.729e-05/1.161, allocations: 18.22 kB / 1.139 GB, free: 26.17 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.0003879/1.162, allocations: 205 kB / 1.139 GB, free: 26.04 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.824e-05/1.162, allocations: 46.81 kB / 1.139 GB, free: 26.02 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001524/1.163, allocations: 441.8 kB / 1.139 GB, free: 25.89 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/1.163, allocations: 7.812 kB / 1.139 GB, free: 25.89 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/1.163, allocations: 0 / 1.139 GB, free: 25.89 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/1.163, allocations: 3.984 kB / 1.139 GB, free: 25.89 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002383/1.166, allocations: 1.025 MB / 1.14 GB, free: 25.38 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/1.166, allocations: 7.562 kB / 1.14 GB, free: 25.38 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004832/1.166, allocations: 62.08 kB / 1.14 GB, free: 25.36 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.031e-06/1.166, allocations: 0 / 1.14 GB, free: 25.36 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.781e-05/1.166, allocations: 10.94 kB / 1.14 GB, free: 25.36 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/1.166, allocations: 0 / 1.14 GB, free: 25.36 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/1.166, allocations: 3.984 kB / 1.14 GB, free: 25.36 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002148/1.168, allocations: 0.7183 MB / 1.141 GB, free: 25.1 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002244/1.169, allocations: 152.6 kB / 1.141 GB, free: 24.96 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.304e-05/1.169, allocations: 11.78 kB / 1.141 GB, free: 24.96 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006048/1.169, allocations: 61.34 kB / 1.141 GB, free: 24.94 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000166/1.17, allocations: 46.78 kB / 1.141 GB, free: 24.92 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-05/1.17, allocations: 18.52 kB / 1.141 GB, free: 24.91 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004015/1.17, allocations: 265.9 kB / 1.142 GB, free: 24.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.41e-07/1.17, allocations: 0 / 1.142 GB, free: 24.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000596/1.171, allocations: 94.8 kB / 1.142 GB, free: 24.79 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.0002154/1.171, allocations: 131.6 kB / 1.142 GB, free: 24.68 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001529/1.172, allocations: 482.9 kB / 1.142 GB, free: 24.55 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/1.172, allocations: 0 / 1.142 GB, free: 24.55 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007058/1.173, allocations: 205.2 kB / 1.143 GB, free: 24.51 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008309/1.174, allocations: 85.11 kB / 1.143 GB, free: 24.48 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001974/1.176, allocations: 0.8813 MB / 1.143 GB, free: 23.94 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004179/1.176, allocations: 0.827 MB / 1.144 GB, free: 23.18 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003753/1.177, allocations: 49.86 kB / 1.144 GB, free: 23.16 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001751/1.177, allocations: 37.98 kB / 1.144 GB, free: 23.15 MB / 0.698 GB Notification: Performance of SimCode: time 8.21e-07/1.177, allocations: 0 / 1.144 GB, free: 23.15 MB / 0.698 GB Notification: Performance of Templates: time 0.01359/1.191, allocations: 4.805 MB / 1.149 GB, free: 20.8 MB / 0.698 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)