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/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007148/0.0007148, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00477/0.00477, allocations: 172.5 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.151/1.151, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.31/1.31, allocations: 252 MB / 0.5105 GB, free: 4.613 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004498/0.0004498, allocations: 12 kB / 0.6249 GB, free: 0.6836 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3727/0.3731, allocations: 106.3 MB / 0.7287 GB, free: 11.24 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil): time 0.002842/0.376, allocations: 2.622 MB / 0.7313 GB, free: 8.605 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001845/0.3779, allocations: 1.142 MB / 0.7324 GB, free: 7.453 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003096/0.3782, allocations: 15.94 kB / 0.7324 GB, free: 7.438 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001994/0.3784, allocations: 55.5 kB / 0.7325 GB, free: 7.383 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001938/0.3786, allocations: 63.52 kB / 0.7325 GB, free: 7.32 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006829/0.3793, allocations: 314 kB / 0.7328 GB, free: 7.016 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0006087/0.3799, allocations: 0.6405 MB / 0.7334 GB, free: 6.375 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005311/0.3805, allocations: 414.7 kB / 0.7338 GB, free: 5.961 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001968/0.3807, allocations: 171.1 kB / 0.734 GB, free: 5.793 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002063/0.3809, allocations: 190.8 kB / 0.7342 GB, free: 5.605 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.228e-05/0.381, allocations: 20 kB / 0.7342 GB, free: 5.586 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.549e-05/0.381, allocations: 27.98 kB / 0.7342 GB, free: 5.559 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.575e-05/0.3811, allocations: 83.61 kB / 0.7343 GB, free: 5.477 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001704/0.3813, allocations: 232.3 kB / 0.7345 GB, free: 5.242 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004787/0.3818, allocations: 0.65 MB / 0.7352 GB, free: 4.59 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.3818, allocations: 0 / 0.7352 GB, free: 4.59 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.383e-06/0.3818, allocations: 0 / 0.7352 GB, free: 4.59 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.307e-06/0.3818, allocations: 3.938 kB / 0.7352 GB, free: 4.586 MB / 0.545 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.001339/0.3832, allocations: 0.7925 MB / 0.7359 GB, free: 3.738 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.3832, allocations: 12.03 kB / 0.736 GB, free: 3.727 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001043/0.3833, allocations: 56.28 kB / 0.736 GB, free: 3.672 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005123/0.3838, allocations: 436.6 kB / 0.7364 GB, free: 3.207 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.912e-05/0.3839, allocations: 41.38 kB / 0.7365 GB, free: 3.164 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.084e-05/0.384, allocations: 52.38 kB / 0.7365 GB, free: 3.113 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009154/0.3849, allocations: 0.5471 MB / 0.737 GB, free: 2.531 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.3849, allocations: 0 / 0.737 GB, free: 2.531 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.323e-05/0.385, allocations: 23.98 kB / 0.7371 GB, free: 2.508 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.383e-05/0.385, allocations: 12 kB / 0.7371 GB, free: 2.496 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008755/0.3859, allocations: 423.6 kB / 0.7375 GB, free: 2.082 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001855/0.3877, allocations: 1.852 MB / 0.7393 GB, free: 156 kB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008551/0.3886, allocations: 367.7 kB / 0.7396 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003766/0.389, allocations: 176.8 kB / 0.7398 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.7e-05/0.389, allocations: 11.92 kB / 0.7398 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004812/0.3895, allocations: 225.5 kB / 0.74 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 1.663e-06/0.3895, allocations: 3.938 kB / 0.74 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34): time 0.001146/0.3907, allocations: 0.5051 MB / 0.7405 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/0.3907, allocations: 59.41 kB / 0.7406 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003536/0.3911, allocations: 397.5 kB / 0.741 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.273e-05/0.3911, allocations: 45.69 kB / 0.741 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001511/0.3913, allocations: 256.1 kB / 0.7413 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.138e-05/0.3913, allocations: 98.64 kB / 0.7414 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.175e-05/0.3914, allocations: 65.67 kB / 0.7414 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.3915, allocations: 354.8 kB / 0.7418 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003827/0.3919, allocations: 169 kB / 0.7419 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004319/0.3924, allocations: 277.8 kB / 0.7422 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007386/0.3931, allocations: 427.4 kB / 0.7426 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.3931, allocations: 0 / 0.7426 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009699/0.3941, allocations: 0.5454 MB / 0.7431 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.694e-05/0.3941, allocations: 29.7 kB / 0.7432 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.3942, allocations: 11.92 kB / 0.7432 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.3942, allocations: 8 kB / 0.7432 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002884/0.3945, allocations: 76.14 kB / 0.7432 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.3945, allocations: 15.92 kB / 0.7433 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003357/0.3948, allocations: 83.39 kB / 0.7433 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.619e-05/0.3949, allocations: 20 kB / 0.7434 GB, free: 11.81 MB / 0.5606 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,preHeatCoil.toOff.t_start,$PRE.preHeatCoil.toOff.t_start,preHeatCoil.toOff.fire,preHeatCoil.toOff.enableFire,preHeatCoil.pumOn.active,preHeatCoil.pumOn.oldActive,$PRE.preHeatCoil.pumOn.oldActive,preHeatCoil.pumOn.newActive,$PRE.preHeatCoil.pumOn.newActive,preHeatCoil.pumOn.localActive,$PRE.preHeatCoil.pumOn.localActive,preHeatCoil.stateGraphRoot.activeSteps,preHeatCoil.toOn.enableFire,preHeatCoil.pumOff.oldActive,$PRE.preHeatCoil.pumOff.oldActive,preHeatCoil.pumOff.newActive,$PRE.preHeatCoil.pumOff.newActive,preHeatCoil.pumOff.localActive,$PRE.preHeatCoil.pumOff.localActive,preHeatCoil.pumOff.active,preHeatCoil.preHeaOn.y,$PRE.preHeatCoil.preHeaOn.y,TMix.count,$PRE.TMix.count,TMix.T_start,$PRE.TMix.T_start,$whenCondition1,$whenCondition2,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.0001901/0.3951, allocations: 205.8 kB / 0.7436 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.784e-05/0.3951, allocations: 43.47 kB / 0.7436 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008495/0.396, allocations: 413.4 kB / 0.744 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.396, allocations: 4 kB / 0.744 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.396, allocations: 4 kB / 0.744 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.396, allocations: 3.984 kB / 0.744 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001356/0.3974, allocations: 0.9794 MB / 0.745 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.3974, allocations: 0 / 0.745 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002372/0.3976, allocations: 59.92 kB / 0.745 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.3976, allocations: 4 kB / 0.745 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.115e-05/0.3977, allocations: 4 kB / 0.745 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.3977, allocations: 4 kB / 0.745 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3977, allocations: 0 / 0.745 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001171/0.3989, allocations: 0.6673 MB / 0.7457 GB, free: 9.336 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001171/0.399, allocations: 152.5 kB / 0.7458 GB, free: 9.168 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.738e-05/0.399, allocations: 8 kB / 0.7458 GB, free: 9.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002951/0.3993, allocations: 44.02 kB / 0.7459 GB, free: 9.117 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/0.3994, allocations: 47.88 kB / 0.7459 GB, free: 9.07 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.11e-05/0.3995, allocations: 12 kB / 0.7459 GB, free: 9.059 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002324/0.3997, allocations: 267.2 kB / 0.7462 GB, free: 8.793 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3997, allocations: 0 / 0.7462 GB, free: 8.793 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000345/0.4001, allocations: 99.69 kB / 0.7463 GB, free: 8.695 MB / 0.5606 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.0001278/0.4002, allocations: 128.7 kB / 0.7464 GB, free: 8.566 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000858/0.4011, allocations: 450.9 kB / 0.7468 GB, free: 8.113 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.4011, allocations: 0.8125 kB / 0.7468 GB, free: 8.113 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003988/0.4015, allocations: 196.4 kB / 0.747 GB, free: 7.922 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004981/0.402, allocations: 88.12 kB / 0.7471 GB, free: 7.84 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.4032, allocations: 0.9166 MB / 0.748 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000303/0.4035, allocations: 0.8274 MB / 0.7488 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000175/0.4037, allocations: 47.45 kB / 0.7489 GB, free: 5.98 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001053/0.4038, allocations: 43.42 kB / 0.7489 GB, free: 5.941 MB / 0.5606 GB Notification: Performance of SimCode: time 3.2e-07/0.4038, allocations: 0 / 0.7489 GB, free: 5.941 MB / 0.5606 GB Notification: Performance of Templates: time 0.007468/0.4113, allocations: 4.55 MB / 0.7533 GB, free: 1.438 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: