Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.746/1.746, allocations: 288.3 MB / 303.2 MB, free: 8.246 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.001107/0.001107, allocations: 190 kB / 371.8 MB, free: 10.26 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.709/1.709, allocations: 205.4 MB / 0.6306 GB, free: 9.98 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.0009148/0.0009148, allocations: 91.25 kB / 0.7439 GB, free: 5.902 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005026/0.0005026, allocations: 15.41 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2764/0.2769, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8711/1.148, allocations: 145.8 MB / 1.122 GB, free: 16.32 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002511/1.148, allocations: 90.84 kB / 1.122 GB, free: 16.32 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02083/1.169, allocations: 8.784 MB / 1.13 GB, free: 30.45 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.322e-06/1.169, allocations: 0 / 1.13 GB, free: 30.45 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.246e-05/1.169, allocations: 15.62 kB / 1.13 GB, free: 30.45 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.001418/1.171, allocations: 0.7933 MB / 1.131 GB, free: 29.82 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/1.171, allocations: 7.688 kB / 1.131 GB, free: 29.82 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001179/1.171, allocations: 66.45 kB / 1.131 GB, free: 29.79 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006016/1.172, allocations: 427.4 kB / 1.132 GB, free: 29.48 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.605e-05/1.172, allocations: 38.28 kB / 1.132 GB, free: 29.48 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.374e-05/1.172, allocations: 47.84 kB / 1.132 GB, free: 29.48 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009328/1.173, allocations: 0.5647 MB / 1.132 GB, free: 29.25 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/1.173, allocations: 7.844 kB / 1.132 GB, free: 29.25 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.899e-05/1.173, allocations: 21.27 kB / 1.132 GB, free: 29.25 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.336e-05/1.173, allocations: 15.48 kB / 1.132 GB, free: 29.24 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009107/1.174, allocations: 452.2 kB / 1.133 GB, free: 29.16 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002162/1.176, allocations: 1.892 MB / 1.135 GB, free: 27.92 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009542/1.177, allocations: 426 kB / 1.135 GB, free: 27.82 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.042e-05/1.177, allocations: 7.656 kB / 1.135 GB, free: 27.82 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005147/1.177, allocations: 250.1 kB / 1.135 GB, free: 27.71 MB / 0.698 GB Notification: Performance of pre-optimization done (n=34): time 2.635e-06/1.177, allocations: 0 / 1.135 GB, free: 27.71 MB / 0.698 GB Notification: Performance of matching and sorting (n=34): time 0.001215/1.179, allocations: 0.5408 MB / 1.136 GB, free: 27.58 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.777e-05/1.179, allocations: 110.6 kB / 1.136 GB, free: 27.45 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003752/1.179, allocations: 370.1 kB / 1.136 GB, free: 27.29 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.733e-05/1.179, allocations: 44.09 kB / 1.136 GB, free: 27.26 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002184/1.179, allocations: 246.9 kB / 1.137 GB, free: 27.11 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.29e-05/1.179, allocations: 95.5 kB / 1.137 GB, free: 27.05 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.968e-05/1.179, allocations: 7.688 kB / 1.137 GB, free: 27.05 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001611/1.18, allocations: 359 kB / 1.137 GB, free: 26.72 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000494/1.18, allocations: 185.3 kB / 1.137 GB, free: 26.69 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004498/1.181, allocations: 293 kB / 1.137 GB, free: 26.52 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004162/1.181, allocations: 210.7 kB / 1.138 GB, free: 26.46 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/1.181, allocations: 3.875 kB / 1.138 GB, free: 26.46 MB / 0.698 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001011/1.182, allocations: 0.5588 MB / 1.138 GB, free: 26.29 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.326e-05/1.182, allocations: 33.11 kB / 1.138 GB, free: 26.26 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/1.182, allocations: 4.125 kB / 1.138 GB, free: 26.26 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.393e-05/1.182, allocations: 7.781 kB / 1.138 GB, free: 26.25 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003194/1.183, allocations: 84.47 kB / 1.138 GB, free: 26.23 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.235e-05/1.183, allocations: 7.719 kB / 1.138 GB, free: 26.23 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003873/1.183, allocations: 80.11 kB / 1.138 GB, free: 26.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.764e-05/1.183, allocations: 22.52 kB / 1.138 GB, free: 26.2 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.000293/1.183, allocations: 206.6 kB / 1.139 GB, free: 26.06 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.355e-05/1.183, allocations: 42.77 kB / 1.139 GB, free: 26.04 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009059/1.184, allocations: 442 kB / 1.139 GB, free: 25.91 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.361e-06/1.184, allocations: 3.812 kB / 1.139 GB, free: 25.91 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/1.184, allocations: 0 / 1.139 GB, free: 25.91 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/1.184, allocations: 3.969 kB / 1.139 GB, free: 25.91 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001522/1.186, allocations: 1.042 MB / 1.14 GB, free: 25.39 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/1.186, allocations: 0 / 1.14 GB, free: 25.39 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002714/1.186, allocations: 61.33 kB / 1.14 GB, free: 25.37 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/1.186, allocations: 0 / 1.14 GB, free: 25.37 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.885e-05/1.186, allocations: 10.97 kB / 1.14 GB, free: 25.37 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.646e-06/1.186, allocations: 3.688 kB / 1.14 GB, free: 25.37 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/1.186, allocations: 0 / 1.14 GB, free: 25.37 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001259/1.187, allocations: 0.7336 MB / 1.141 GB, free: 25.09 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001554/1.188, allocations: 149.1 kB / 1.141 GB, free: 24.96 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.728e-05/1.188, allocations: 10.91 kB / 1.141 GB, free: 24.96 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003397/1.188, allocations: 50.58 kB / 1.141 GB, free: 24.95 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001211/1.188, allocations: 54.12 kB / 1.141 GB, free: 24.92 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.579e-05/1.188, allocations: 11.31 kB / 1.141 GB, free: 24.92 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002749/1.188, allocations: 269 kB / 1.141 GB, free: 24.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.21e-07/1.188, allocations: 0 / 1.141 GB, free: 24.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004417/1.189, allocations: 91.25 kB / 1.142 GB, free: 24.8 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.0002017/1.189, allocations: 131.5 kB / 1.142 GB, free: 24.69 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0009455/1.19, allocations: 482.1 kB / 1.142 GB, free: 24.55 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/1.19, allocations: 0 / 1.142 GB, free: 24.55 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004219/1.191, allocations: 212.7 kB / 1.142 GB, free: 24.52 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004976/1.191, allocations: 78.39 kB / 1.142 GB, free: 24.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001593/1.193, allocations: 0.8694 MB / 1.143 GB, free: 23.96 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004634/1.193, allocations: 0.8463 MB / 1.144 GB, free: 23.18 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002428/1.193, allocations: 50.41 kB / 1.144 GB, free: 23.16 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001192/1.193, allocations: 38.7 kB / 1.144 GB, free: 23.15 MB / 0.698 GB Notification: Performance of SimCode: time 7.02e-07/1.194, allocations: 0 / 1.144 GB, free: 23.15 MB / 0.698 GB Notification: Performance of Templates: time 0.009551/1.203, allocations: 4.794 MB / 1.149 GB, free: 20.82 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.makefile (rm -f Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.sim & ./Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe 2>&1)