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/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.358/1.358, allocations: 252 MB / 268 MB, free: 10.84 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001005/0.001005, allocations: 166.5 kB / 327.6 MB, free: 2.09 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.999/1.999, allocations: 205.4 MB / 0.5786 GB, free: 20.18 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001036/0.001036, allocations: 88.75 kB / 0.6832 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005342/0.000535, allocations: 9.266 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2538/0.2544, allocations: 106.3 MB / 0.9014 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil): time 0.002962/0.2574, allocations: 2.626 MB / 0.904 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0021/0.2595, allocations: 1.15 MB / 0.9051 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003535/0.2599, allocations: 11.94 kB / 0.9051 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002156/0.2601, allocations: 59.45 kB / 0.9052 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000161/0.2603, allocations: 51.58 kB / 0.9053 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007008/0.261, allocations: 314.6 kB / 0.9056 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0004801/0.2615, allocations: 0.6443 MB / 0.9062 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004742/0.262, allocations: 412.8 kB / 0.9066 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001573/0.2622, allocations: 167.1 kB / 0.9067 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001765/0.2623, allocations: 190.8 kB / 0.9069 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.595e-05/0.2624, allocations: 20 kB / 0.9069 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.441e-05/0.2625, allocations: 24 kB / 0.907 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.572e-05/0.2626, allocations: 87.55 kB / 0.907 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001471/0.2627, allocations: 236.3 kB / 0.9073 GB, free: 57.49 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003698/0.2631, allocations: 0.538 MB / 0.9078 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.2631, allocations: 4 kB / 0.9078 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2631, allocations: 0 / 0.9078 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.2631, allocations: 0 / 0.9078 GB, free: 56.95 MB / 0.6042 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.001304/0.2644, allocations: 0.7886 MB / 0.9086 GB, free: 56.11 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.2645, allocations: 16.02 kB / 0.9086 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.868e-05/0.2646, allocations: 60.22 kB / 0.9086 GB, free: 56.03 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004896/0.2651, allocations: 436.6 kB / 0.9091 GB, free: 55.57 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.632e-05/0.2651, allocations: 41.38 kB / 0.9091 GB, free: 55.52 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.55e-05/0.2652, allocations: 52.38 kB / 0.9091 GB, free: 55.47 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008484/0.2661, allocations: 0.5433 MB / 0.9097 GB, free: 54.89 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.2661, allocations: 0 / 0.9097 GB, free: 54.89 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.052e-05/0.2661, allocations: 23.94 kB / 0.9097 GB, free: 54.87 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.343e-05/0.2661, allocations: 12 kB / 0.9097 GB, free: 54.86 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00084/0.267, allocations: 423.6 kB / 0.9101 GB, free: 54.45 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001784/0.2688, allocations: 1.864 MB / 0.9119 GB, free: 52.5 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008342/0.2696, allocations: 363.2 kB / 0.9123 GB, free: 52.14 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003664/0.27, allocations: 186.1 kB / 0.9125 GB, free: 51.96 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.186e-05/0.2701, allocations: 7.922 kB / 0.9125 GB, free: 51.95 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005074/0.2706, allocations: 225.5 kB / 0.9127 GB, free: 51.72 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=34): time 2.394e-06/0.2706, allocations: 0 / 0.9127 GB, free: 51.72 MB / 0.6042 GB Notification: Performance of matching and sorting (n=34): time 0.001156/0.2717, allocations: 0.5051 MB / 0.9132 GB, free: 51.21 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.459e-05/0.2718, allocations: 59.34 kB / 0.9132 GB, free: 51.14 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003499/0.2721, allocations: 409.5 kB / 0.9136 GB, free: 50.73 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.521e-05/0.2722, allocations: 37.7 kB / 0.9137 GB, free: 50.69 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000142/0.2723, allocations: 260.1 kB / 0.9139 GB, free: 50.43 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.893e-05/0.2724, allocations: 94.66 kB / 0.914 GB, free: 50.34 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.348e-05/0.2724, allocations: 12 kB / 0.914 GB, free: 50.32 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.541e-05/0.2725, allocations: 350.8 kB / 0.9143 GB, free: 49.97 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003696/0.2729, allocations: 169 kB / 0.9145 GB, free: 49.8 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003983/0.2733, allocations: 269.9 kB / 0.9148 GB, free: 49.5 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007371/0.2741, allocations: 427.4 kB / 0.9152 GB, free: 49.04 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.2741, allocations: 0 / 0.9152 GB, free: 49.04 MB / 0.6042 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009299/0.275, allocations: 0.5454 MB / 0.9157 GB, free: 48.48 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.389e-05/0.2751, allocations: 29.7 kB / 0.9157 GB, free: 48.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.2751, allocations: 4 kB / 0.9157 GB, free: 48.44 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.2751, allocations: 8 kB / 0.9157 GB, free: 48.43 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002971/0.2754, allocations: 80.06 kB / 0.9158 GB, free: 48.35 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/0.2754, allocations: 15.98 kB / 0.9158 GB, free: 48.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003364/0.2758, allocations: 87.39 kB / 0.9159 GB, free: 48.25 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.312e-05/0.2758, allocations: 20 kB / 0.9159 GB, free: 48.23 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002012/0.276, allocations: 205.7 kB / 0.9161 GB, free: 48.02 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.578e-05/0.2761, allocations: 47.45 kB / 0.9162 GB, free: 47.98 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008483/0.2769, allocations: 401.6 kB / 0.9166 GB, free: 47.58 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.2769, allocations: 4 kB / 0.9166 GB, free: 47.57 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.277, allocations: 7.938 kB / 0.9166 GB, free: 47.57 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.277, allocations: 3.938 kB / 0.9166 GB, free: 47.56 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001334/0.2783, allocations: 0.9867 MB / 0.9175 GB, free: 46.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.2783, allocations: 0 / 0.9175 GB, free: 46.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002479/0.2786, allocations: 47.95 kB / 0.9176 GB, free: 46.47 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.2786, allocations: 11.97 kB / 0.9176 GB, free: 46.46 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.585e-05/0.2786, allocations: 11.98 kB / 0.9176 GB, free: 46.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.2786, allocations: 4 kB / 0.9176 GB, free: 46.44 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.2786, allocations: 0 / 0.9176 GB, free: 46.44 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001159/0.2798, allocations: 0.6597 MB / 0.9183 GB, free: 45.76 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001085/0.2799, allocations: 152.5 kB / 0.9184 GB, free: 45.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.266e-05/0.28, allocations: 8 kB / 0.9184 GB, free: 45.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003016/0.2803, allocations: 48.02 kB / 0.9185 GB, free: 45.54 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000121/0.2804, allocations: 43.89 kB / 0.9185 GB, free: 45.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.547e-05/0.2804, allocations: 19.98 kB / 0.9185 GB, free: 45.48 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002286/0.2807, allocations: 263.2 kB / 0.9188 GB, free: 45.21 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2807, allocations: 0 / 0.9188 GB, free: 45.21 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003748/0.2811, allocations: 99.69 kB / 0.9189 GB, free: 45.12 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000171/0.2812, allocations: 121.4 kB / 0.919 GB, free: 44.99 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0008932/0.2821, allocations: 459.3 kB / 0.9194 GB, free: 44.53 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.2822, allocations: 0 / 0.9194 GB, free: 44.53 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003834/0.2825, allocations: 188.2 kB / 0.9196 GB, free: 44.34 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005444/0.2831, allocations: 84.81 kB / 0.9197 GB, free: 44.27 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001315/0.2844, allocations: 0.9344 MB / 0.9206 GB, free: 43.29 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002766/0.2847, allocations: 0.8273 MB / 0.9214 GB, free: 42.43 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001304/0.2849, allocations: 43.42 kB / 0.9214 GB, free: 42.39 MB / 0.6042 GB Notification: Performance of SimCode: time 2.91e-07/0.2849, allocations: 0 / 0.9214 GB, free: 42.39 MB / 0.6042 GB Notification: Performance of Templates: time 0.007125/0.292, allocations: 5.824 MB / 0.9271 GB, free: 36.6 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.makefile (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)