Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/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_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil") translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.781/1.781, allocations: 297.8 MB / 313.7 MB, free: 76 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001074/0.001074, allocations: 172.5 kB / 384.6 MB, free: 10.81 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.56/1.56, allocations: 223.2 MB / 0.6626 GB, free: 4.289 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008182/0.0008185, allocations: 90.22 kB / 0.7808 GB, free: 50.25 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005088/0.0005089, allocations: 12 kB / 0.9088 GB, free: 2.867 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.817/0.8176, allocations: 120.3 MB / 1.026 GB, free: 55.86 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2252/1.043, allocations: 148.9 MB / 1.172 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003105/1.043, allocations: 91.05 kB / 1.172 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.02412/1.067, allocations: 8.864 MB / 1.18 GB, free: 4.055 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.188e-06/1.067, allocations: 1.875 kB / 1.18 GB, free: 4.055 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.401e-05/1.068, allocations: 11.98 kB / 1.18 GB, free: 4.043 MB / 0.7448 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.002082/1.07, allocations: 0.7925 MB / 1.181 GB, free: 3.191 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/1.07, allocations: 12.03 kB / 1.181 GB, free: 3.18 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002515/1.07, allocations: 56.28 kB / 1.181 GB, free: 3.125 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008473/1.071, allocations: 440.7 kB / 1.182 GB, free: 2.648 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.894e-05/1.071, allocations: 41.38 kB / 1.182 GB, free: 2.609 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001157/1.071, allocations: 48.38 kB / 1.182 GB, free: 2.562 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001191/1.072, allocations: 0.5757 MB / 1.182 GB, free: 1.949 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.242e-05/1.072, allocations: 6.125 kB / 1.182 GB, free: 1.945 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.259e-05/1.072, allocations: 17.97 kB / 1.182 GB, free: 1.93 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.613e-05/1.072, allocations: 12 kB / 1.182 GB, free: 1.918 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001105/1.073, allocations: 459.6 kB / 1.183 GB, free: 1.469 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002754/1.076, allocations: 1.9 MB / 1.185 GB, free: 15.5 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001042/1.077, allocations: 432 kB / 1.185 GB, free: 15.06 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004233/1.078, allocations: 200.1 kB / 1.185 GB, free: 14.86 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 3.852e-05/1.078, allocations: 4 kB / 1.185 GB, free: 14.86 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006115/1.078, allocations: 271.8 kB / 1.186 GB, free: 14.57 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=35): time 6.462e-06/1.078, allocations: 4 kB / 1.186 GB, free: 14.57 MB / 0.7605 GB Notification: Performance of matching and sorting (n=35): time 0.001472/1.08, allocations: 0.5546 MB / 1.186 GB, free: 14.01 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001133/1.08, allocations: 144.5 kB / 1.186 GB, free: 13.84 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005544/1.081, allocations: 401.5 kB / 1.187 GB, free: 13.44 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 8.527e-05/1.081, allocations: 45.69 kB / 1.187 GB, free: 13.39 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.000228/1.081, allocations: 240.3 kB / 1.187 GB, free: 13.15 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001434/1.081, allocations: 98.7 kB / 1.187 GB, free: 13.05 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.283e-05/1.081, allocations: 4 kB / 1.187 GB, free: 13.05 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001744/1.081, allocations: 362.8 kB / 1.187 GB, free: 12.69 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004831/1.082, allocations: 181 kB / 1.188 GB, free: 12.51 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005916/1.082, allocations: 302.8 kB / 1.188 GB, free: 12.17 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009814/1.083, allocations: 455.3 kB / 1.188 GB, free: 11.68 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/1.083, allocations: 0 / 1.188 GB, free: 11.68 MB / 0.7605 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001269/1.085, allocations: 0.5731 MB / 1.189 GB, free: 11.1 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 5.336e-05/1.085, allocations: 33.7 kB / 1.189 GB, free: 11.06 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/1.085, allocations: 4 kB / 1.189 GB, free: 11.05 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.427e-05/1.085, allocations: 7.984 kB / 1.189 GB, free: 11.05 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004113/1.085, allocations: 84.02 kB / 1.189 GB, free: 10.96 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.104e-05/1.085, allocations: 9.953 kB / 1.189 GB, free: 10.96 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004864/1.086, allocations: 84.66 kB / 1.189 GB, free: 10.88 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.007e-05/1.086, allocations: 16 kB / 1.189 GB, free: 10.86 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 35 ($PRE.preHeatCoil.toOn.enableFire,$PRE.preHeatCoil.toOff.enableFire,$PRE.preHeatCoil.toOn.t_start,preHeatCoil.toOn.t_start,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 (58): * Single equations (assignments): 57 * 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.0004111/1.086, allocations: 208.8 kB / 1.189 GB, free: 10.65 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/1.086, allocations: 47.38 kB / 1.189 GB, free: 10.61 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001078/1.087, allocations: 452.5 kB / 1.19 GB, free: 10.16 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/1.087, allocations: 6.344 kB / 1.19 GB, free: 10.16 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.203e-06/1.087, allocations: 0 / 1.19 GB, free: 10.16 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/1.087, allocations: 0 / 1.19 GB, free: 10.16 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00203/1.089, allocations: 1.03 MB / 1.191 GB, free: 9.066 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/1.089, allocations: 0 / 1.191 GB, free: 9.066 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002961/1.09, allocations: 63.92 kB / 1.191 GB, free: 9.004 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.937e-06/1.09, allocations: 5.406 kB / 1.191 GB, free: 9 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.849e-05/1.09, allocations: 14.3 kB / 1.191 GB, free: 8.988 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/1.09, allocations: 0 / 1.191 GB, free: 8.988 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/1.09, allocations: 0 / 1.191 GB, free: 8.988 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001509/1.091, allocations: 0.7444 MB / 1.192 GB, free: 8.227 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002147/1.092, allocations: 152.6 kB / 1.192 GB, free: 8.059 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.924e-05/1.092, allocations: 8 kB / 1.192 GB, free: 8.051 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003641/1.092, allocations: 52.02 kB / 1.192 GB, free: 8 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001395/1.092, allocations: 51.92 kB / 1.192 GB, free: 7.949 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.038e-05/1.092, allocations: 15.92 kB / 1.192 GB, free: 7.934 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0003359/1.093, allocations: 267.2 kB / 1.192 GB, free: 7.668 MB / 0.7605 GB Notification: Performance of sort global known variables: time 2.214e-06/1.093, allocations: 0 / 1.192 GB, free: 7.668 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0005129/1.093, allocations: 95.78 kB / 1.192 GB, free: 7.574 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (preHeatCoil.preHeaCoiCon.I.y) * Number of discrete variables: 21 (preHeatCoil.toOn.t_start,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: 5 (TMix.count,preHeatCoil.pumOff.newActive,preHeatCoil.pumOn.newActive,preHeatCoil.preHeaOn.y,preHeatCoil.toOn.t_start) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.0002266/1.093, allocations: 130.2 kB / 1.192 GB, free: 7.438 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.00109/1.094, allocations: 483.4 kB / 1.193 GB, free: 6.953 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/1.094, allocations: 0.9375 kB / 1.193 GB, free: 6.953 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0004742/1.095, allocations: 212.2 kB / 1.193 GB, free: 6.746 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006201/1.096, allocations: 88.33 kB / 1.193 GB, free: 6.664 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001719/1.097, allocations: 0.8867 MB / 1.194 GB, free: 5.742 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004245/1.098, allocations: 0.8279 MB / 1.195 GB, free: 4.887 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0002668/1.098, allocations: 55.92 kB / 1.195 GB, free: 4.836 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/1.098, allocations: 39.42 kB / 1.195 GB, free: 4.797 MB / 0.7605 GB Notification: Performance of SimCode: time 5.61e-07/1.098, allocations: 0.8438 kB / 1.195 GB, free: 4.797 MB / 0.7605 GB Notification: Performance of Templates: time 0.01106/1.109, allocations: 4.884 MB / 1.2 GB, free: 116 kB / 0.7605 GB make -j1 -f Buildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.makefile (rm -f Buildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe ; mkfifo Buildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe >> ../files/Buildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.sim & ./Buildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe 2>&1)