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.461/2.461, allocations: 284.8 MB / 297.3 MB, free: 6.371 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.001446/0.001446, allocations: 164.9 kB / 365.7 MB, free: 2.598 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.883/1.883, allocations: 205.1 MB / 0.6241 GB, free: 8.18 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.001021/0.001021, allocations: 104.6 kB / 0.7372 GB, free: 40.79 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.803e-05/2.816e-05, allocations: 0 / 0.8574 GB, free: 13.72 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.845/0.8451, allocations: 115.2 MB / 0.97 GB, free: 78.36 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2458/1.091, allocations: 145.5 MB / 1.112 GB, free: 6.922 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003183/1.091, allocations: 89.69 kB / 1.112 GB, free: 6.836 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.03833/1.13, allocations: 8.767 MB / 1.121 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.124e-06/1.13, allocations: 0 / 1.121 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.403e-05/1.13, allocations: 11.94 kB / 1.121 GB, free: 14.14 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.00216/1.132, allocations: 0.7388 MB / 1.121 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.345e-05/1.132, allocations: 12.03 kB / 1.121 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000274/1.132, allocations: 63.33 kB / 1.122 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009997/1.133, allocations: 416.5 kB / 1.122 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.95e-05/1.133, allocations: 44.92 kB / 1.122 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001263/1.134, allocations: 51.98 kB / 1.122 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001379/1.135, allocations: 0.5049 MB / 1.123 GB, free: 12.19 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.495e-05/1.135, allocations: 0 / 1.123 GB, free: 12.19 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.097e-05/1.135, allocations: 23.95 kB / 1.123 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.759e-05/1.135, allocations: 9.406 kB / 1.123 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001061/1.136, allocations: 339.8 kB / 1.123 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004167/1.14, allocations: 1.908 MB / 1.125 GB, free: 9.844 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001058/1.141, allocations: 290.8 kB / 1.125 GB, free: 9.555 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003862/1.142, allocations: 132.8 kB / 1.125 GB, free: 9.422 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.043e-05/1.142, allocations: 0 / 1.125 GB, free: 9.422 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005418/1.143, allocations: 199.4 kB / 1.125 GB, free: 9.215 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=34): time 3.096e-06/1.143, allocations: 0 / 1.125 GB, free: 9.215 MB / 0.7292 GB Notification: Performance of matching and sorting (n=34): time 0.0009492/1.144, allocations: 290.7 kB / 1.126 GB, free: 8.926 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.822e-05/1.144, allocations: 110.8 kB / 1.126 GB, free: 8.793 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007164/1.144, allocations: 354.7 kB / 1.126 GB, free: 8.441 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001103/1.144, allocations: 49.69 kB / 1.126 GB, free: 8.387 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002935/1.145, allocations: 248.2 kB / 1.126 GB, free: 8.137 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001387/1.145, allocations: 94.8 kB / 1.126 GB, free: 8.043 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.233e-05/1.145, allocations: 12 kB / 1.126 GB, free: 8.031 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002006/1.145, allocations: 358.7 kB / 1.127 GB, free: 7.672 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004124/1.146, allocations: 117.1 kB / 1.127 GB, free: 7.559 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005198/1.146, allocations: 246.8 kB / 1.127 GB, free: 7.273 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000428/1.147, allocations: 159.2 kB / 1.127 GB, free: 7.113 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.259e-05/1.147, allocations: 4 kB / 1.127 GB, free: 7.109 MB / 0.7292 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001248/1.148, allocations: 463.4 kB / 1.128 GB, free: 6.645 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.252e-05/1.148, allocations: 33.7 kB / 1.128 GB, free: 6.605 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/1.148, allocations: 0 / 1.128 GB, free: 6.605 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.962e-05/1.148, allocations: 11.94 kB / 1.128 GB, free: 6.594 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006865/1.149, allocations: 83.81 kB / 1.128 GB, free: 6.512 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.012e-05/1.149, allocations: 8 kB / 1.128 GB, free: 6.504 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007729/1.15, allocations: 79.83 kB / 1.128 GB, free: 6.426 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.809e-05/1.15, allocations: 17.78 kB / 1.128 GB, free: 6.41 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.0002312/1.15, allocations: 164.7 kB / 1.128 GB, free: 6.246 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001201/1.15, allocations: 43.44 kB / 1.128 GB, free: 6.203 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001008/1.151, allocations: 325.6 kB / 1.128 GB, free: 5.883 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.563e-06/1.151, allocations: 4 kB / 1.128 GB, free: 5.879 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.117e-05/1.151, allocations: 4 kB / 1.128 GB, free: 5.875 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/1.151, allocations: 3.984 kB / 1.128 GB, free: 5.871 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002184/1.153, allocations: 0.9244 MB / 1.129 GB, free: 4.887 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/1.153, allocations: 0 / 1.129 GB, free: 4.887 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005525/1.154, allocations: 51.95 kB / 1.129 GB, free: 4.836 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.196e-05/1.154, allocations: 4 kB / 1.129 GB, free: 4.832 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.1e-05/1.154, allocations: 4 kB / 1.129 GB, free: 4.828 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.907e-06/1.154, allocations: 8.031 kB / 1.129 GB, free: 4.82 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/1.154, allocations: 7.891 kB / 1.129 GB, free: 4.812 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001376/1.155, allocations: 0.5634 MB / 1.13 GB, free: 4.223 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003055/1.156, allocations: 152.6 kB / 1.13 GB, free: 4.055 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.687e-05/1.156, allocations: 8 kB / 1.13 GB, free: 4.047 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000688/1.157, allocations: 55.97 kB / 1.13 GB, free: 3.992 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002069/1.157, allocations: 51.92 kB / 1.13 GB, free: 3.941 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.606e-05/1.157, allocations: 14.89 kB / 1.13 GB, free: 3.93 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0005029/1.157, allocations: 261.2 kB / 1.131 GB, free: 3.672 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6.02e-07/1.157, allocations: 4 kB / 1.131 GB, free: 3.668 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0006772/1.158, allocations: 91.84 kB / 1.131 GB, free: 3.578 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.0002655/1.158, allocations: 130.8 kB / 1.131 GB, free: 3.441 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001073/1.159, allocations: 376.3 kB / 1.131 GB, free: 3.062 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/1.159, allocations: 4.062 kB / 1.131 GB, free: 3.059 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004756/1.16, allocations: 159.8 kB / 1.131 GB, free: 2.902 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007897/1.161, allocations: 72.14 kB / 1.131 GB, free: 2.832 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00179/1.163, allocations: 0.5358 MB / 1.132 GB, free: 2.27 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005534/1.163, allocations: 0.8397 MB / 1.133 GB, free: 1.402 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0004237/1.164, allocations: 53.14 kB / 1.133 GB, free: 1.348 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002/1.164, allocations: 35.42 kB / 1.133 GB, free: 1.312 MB / 0.7292 GB Notification: Performance of SimCode: time 1.052e-06/1.164, allocations: 0 / 1.133 GB, free: 1.312 MB / 0.7292 GB Notification: Performance of Templates: time 0.01744/1.181, allocations: 4.798 MB / 1.137 GB, free: 12.65 MB / 0.7448 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)