Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.conf.json 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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.761/4.761, allocations: 0.5623 GB / 0.5775 GB, free: 3.328 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002651/0.002651, allocations: 358 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.53/4.53, allocations: 410.7 MB / 1.113 GB, free: 6.016 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001917/0.001917, allocations: 192 kB / 1.226 GB, free: 6.129 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0007674/0.0007677, allocations: 12 kB / 1.349 GB, free: 8.273 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8277/0.8285, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2238/1.052, allocations: 145.6 MB / 1.604 GB, free: 138.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003528/1.053, allocations: 96.56 kB / 1.604 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.0336/1.086, allocations: 8.789 MB / 1.612 GB, free: 129.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.953e-06/1.086, allocations: 0 / 1.612 GB, free: 129.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.72e-05/1.087, allocations: 12.66 kB / 1.612 GB, free: 129.8 MB / 0.8542 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.002044/1.089, allocations: 0.789 MB / 1.613 GB, free: 128.9 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/1.089, allocations: 15.56 kB / 1.613 GB, free: 128.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001653/1.089, allocations: 67.25 kB / 1.613 GB, free: 128.9 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000758/1.09, allocations: 418.4 kB / 1.613 GB, free: 128.4 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.489e-05/1.09, allocations: 44.94 kB / 1.613 GB, free: 128.4 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001065/1.09, allocations: 48.66 kB / 1.614 GB, free: 128.3 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001529/1.091, allocations: 0.567 MB / 1.614 GB, free: 127.7 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.414e-05/1.091, allocations: 0 / 1.614 GB, free: 127.7 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.375e-05/1.091, allocations: 27.94 kB / 1.614 GB, free: 127.7 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.418e-05/1.091, allocations: 12 kB / 1.614 GB, free: 127.7 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001619/1.093, allocations: 454.1 kB / 1.615 GB, free: 127.3 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003219/1.096, allocations: 1.894 MB / 1.616 GB, free: 125.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0016/1.098, allocations: 417.5 kB / 1.617 GB, free: 124.9 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006722/1.099, allocations: 187.7 kB / 1.617 GB, free: 124.7 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 4.894e-05/1.099, allocations: 7.984 kB / 1.617 GB, free: 124.7 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008227/1.1, allocations: 241.3 kB / 1.617 GB, free: 124.5 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=34): time 4.489e-06/1.1, allocations: 0 / 1.617 GB, free: 124.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=34): time 0.002209/1.102, allocations: 0.5555 MB / 1.618 GB, free: 123.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.728e-05/1.102, allocations: 106.8 kB / 1.618 GB, free: 123.8 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006707/1.103, allocations: 418.8 kB / 1.618 GB, free: 123.4 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001057/1.103, allocations: 41.7 kB / 1.618 GB, free: 123.3 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002118/1.103, allocations: 252.3 kB / 1.619 GB, free: 123.1 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001114/1.103, allocations: 94.7 kB / 1.619 GB, free: 123 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.688e-05/1.103, allocations: 8.938 kB / 1.619 GB, free: 123 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001029/1.103, allocations: 350.8 kB / 1.619 GB, free: 122.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007376/1.104, allocations: 180.4 kB / 1.619 GB, free: 122.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007913/1.105, allocations: 298 kB / 1.619 GB, free: 122.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000736/1.106, allocations: 212.2 kB / 1.62 GB, free: 121.9 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/1.106, allocations: 5.469 kB / 1.62 GB, free: 121.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001858/1.107, allocations: 0.5583 MB / 1.62 GB, free: 121.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.671e-05/1.108, allocations: 42.53 kB / 1.62 GB, free: 121.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/1.108, allocations: 4 kB / 1.62 GB, free: 121.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.361e-05/1.108, allocations: 4 kB / 1.62 GB, free: 121.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005907/1.108, allocations: 81.7 kB / 1.62 GB, free: 121.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.737e-05/1.108, allocations: 13.11 kB / 1.62 GB, free: 121.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007383/1.109, allocations: 79.05 kB / 1.62 GB, free: 121.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-05/1.109, allocations: 23.95 kB / 1.62 GB, free: 121.1 MB / 0.8542 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.0003872/1.109, allocations: 201.7 kB / 1.621 GB, free: 120.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.962e-05/1.11, allocations: 39.53 kB / 1.621 GB, free: 120.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001584/1.111, allocations: 444.6 kB / 1.621 GB, free: 120.4 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/1.111, allocations: 4 kB / 1.621 GB, free: 120.4 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/1.111, allocations: 1.078 kB / 1.621 GB, free: 120.4 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/1.111, allocations: 3.984 kB / 1.621 GB, free: 120.4 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002463/1.114, allocations: 1.021 MB / 1.622 GB, free: 119.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.301e-06/1.114, allocations: 9.312 kB / 1.622 GB, free: 119.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005381/1.114, allocations: 60.83 kB / 1.622 GB, free: 119.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.995e-06/1.114, allocations: 0.5625 kB / 1.622 GB, free: 119.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.059e-05/1.114, allocations: 8.969 kB / 1.622 GB, free: 119.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.005e-06/1.114, allocations: 7.938 kB / 1.622 GB, free: 119.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/1.114, allocations: 0 / 1.622 GB, free: 119.3 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002262/1.117, allocations: 0.73 MB / 1.623 GB, free: 118.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002334/1.117, allocations: 148.6 kB / 1.623 GB, free: 118.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.589e-05/1.117, allocations: 12.91 kB / 1.623 GB, free: 118.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006347/1.118, allocations: 54.97 kB / 1.623 GB, free: 118.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001796/1.118, allocations: 45.14 kB / 1.623 GB, free: 118.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.562e-05/1.118, allocations: 15.98 kB / 1.623 GB, free: 118.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.000409/1.118, allocations: 267.2 kB / 1.623 GB, free: 118 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.51e-07/1.118, allocations: 0.6562 kB / 1.623 GB, free: 118 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0006014/1.119, allocations: 91.83 kB / 1.623 GB, free: 117.9 MB / 0.8542 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.0002211/1.119, allocations: 131.4 kB / 1.624 GB, free: 117.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001627/1.121, allocations: 487.2 kB / 1.624 GB, free: 117.3 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/1.121, allocations: 6.125 kB / 1.624 GB, free: 117.3 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0007596/1.122, allocations: 201.3 kB / 1.624 GB, free: 117.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008926/1.123, allocations: 88.45 kB / 1.624 GB, free: 117 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002104/1.125, allocations: 0.8746 MB / 1.625 GB, free: 116.1 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003153/1.125, allocations: 0.8345 MB / 1.626 GB, free: 115.3 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0004043/1.125, allocations: 65.3 kB / 1.626 GB, free: 115.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001904/1.126, allocations: 31.44 kB / 1.626 GB, free: 115.2 MB / 0.8542 GB Notification: Performance of SimCode: time 1.172e-06/1.126, allocations: 0 / 1.626 GB, free: 115.2 MB / 0.8542 GB Notification: Performance of Templates: time 0.01446/1.14, allocations: 4.792 MB / 1.631 GB, free: 110.6 MB / 0.8542 GB