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.0009464/0.0009464, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000947/0.0009469, allocations: 191.9 kB / 16.53 MB, free: 6.391 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.193/1.193, allocations: 205.1 MB / 222.4 MB, free: 4.574 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.325/1.325, allocations: 251.7 MB / 0.5092 GB, free: 3.125 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.002255/0.002255, allocations: 71.89 kB / 0.6223 GB, free: 1.5 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3664/0.3687, allocations: 104.7 MB / 0.7245 GB, free: 12.93 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil): time 0.003677/0.3724, allocations: 2.939 MB / 0.7274 GB, free: 9.973 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001585/0.374, allocations: 1.169 MB / 0.7285 GB, free: 8.793 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001984/0.3742, allocations: 23.81 kB / 0.7285 GB, free: 8.77 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001947/0.3744, allocations: 71.2 kB / 0.7286 GB, free: 8.699 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001547/0.3746, allocations: 83.19 kB / 0.7287 GB, free: 8.617 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006151/0.3752, allocations: 338.6 kB / 0.729 GB, free: 8.289 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005457/0.3757, allocations: 0.703 MB / 0.7297 GB, free: 7.586 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004862/0.3762, allocations: 0.4905 MB / 0.7302 GB, free: 7.094 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001929/0.3764, allocations: 243.2 kB / 0.7304 GB, free: 6.855 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002139/0.3766, allocations: 254.7 kB / 0.7307 GB, free: 6.605 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.368e-05/0.3767, allocations: 68 kB / 0.7307 GB, free: 6.539 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001079/0.3768, allocations: 80 kB / 0.7308 GB, free: 6.461 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001064/0.377, allocations: 139.6 kB / 0.7309 GB, free: 6.324 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001802/0.3771, allocations: 270.5 kB / 0.7312 GB, free: 6.059 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005105/0.3777, allocations: 0.7166 MB / 0.7319 GB, free: 5.34 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.3777, allocations: 0 / 0.7319 GB, free: 5.34 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.173e-06/0.3777, allocations: 0 / 0.7319 GB, free: 5.34 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.057e-06/0.3777, allocations: 0 / 0.7319 GB, free: 5.34 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.001379/0.3791, allocations: 0.8821 MB / 0.7327 GB, free: 4.398 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.3791, allocations: 8.031 kB / 0.7328 GB, free: 4.391 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001074/0.3792, allocations: 64.27 kB / 0.7328 GB, free: 4.328 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004893/0.3797, allocations: 436.6 kB / 0.7332 GB, free: 3.859 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.632e-05/0.3798, allocations: 37.38 kB / 0.7333 GB, free: 3.824 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.591e-05/0.3798, allocations: 52.31 kB / 0.7333 GB, free: 3.773 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008379/0.3807, allocations: 0.5394 MB / 0.7338 GB, free: 3.203 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.3807, allocations: 0 / 0.7338 GB, free: 3.203 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.332e-05/0.3808, allocations: 20 kB / 0.7339 GB, free: 3.184 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.265e-05/0.3808, allocations: 16 kB / 0.7339 GB, free: 3.168 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008614/0.3816, allocations: 395.6 kB / 0.7343 GB, free: 2.781 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001877/0.3835, allocations: 1.852 MB / 0.7361 GB, free: 0.8516 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008109/0.3843, allocations: 338.9 kB / 0.7364 GB, free: 0.5117 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003482/0.3847, allocations: 172 kB / 0.7365 GB, free: 352 kB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.658e-05/0.3847, allocations: 7.938 kB / 0.7366 GB, free: 344 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004984/0.3852, allocations: 213.4 kB / 0.7368 GB, free: 120 kB / 0.545 GB Notification: Performance of pre-optimization done (n=34): time 1.904e-06/0.3853, allocations: 3.938 kB / 0.7368 GB, free: 116 kB / 0.545 GB Notification: Performance of matching and sorting (n=34): time 0.00112/0.3864, allocations: 481.6 kB / 0.7372 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.095e-05/0.3864, allocations: 55.41 kB / 0.7373 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003514/0.3868, allocations: 409.4 kB / 0.7377 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.522e-05/0.3868, allocations: 37.7 kB / 0.7377 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001487/0.387, allocations: 256.1 kB / 0.7379 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.026e-05/0.3871, allocations: 98.72 kB / 0.738 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001488/0.3872, allocations: 110.1 kB / 0.7381 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.3873, allocations: 346.8 kB / 0.7385 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003704/0.3877, allocations: 161 kB / 0.7386 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000415/0.3881, allocations: 265.8 kB / 0.7389 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007075/0.3888, allocations: 399.4 kB / 0.7393 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.3889, allocations: 0 / 0.7393 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.000938/0.3898, allocations: 0.5182 MB / 0.7398 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.075e-05/0.3898, allocations: 37.7 kB / 0.7398 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/0.3899, allocations: 4 kB / 0.7398 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.3899, allocations: 4 kB / 0.7398 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002864/0.3902, allocations: 72.28 kB / 0.7399 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/0.3902, allocations: 23.88 kB / 0.7399 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003302/0.3905, allocations: 71.48 kB / 0.74 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.676e-05/0.3906, allocations: 16 kB / 0.74 GB, free: 12.64 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.0001926/0.3908, allocations: 201.8 kB / 0.7402 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.154e-05/0.3908, allocations: 51.31 kB / 0.7402 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008452/0.3917, allocations: 385.6 kB / 0.7406 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.3917, allocations: 4 kB / 0.7406 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.84e-06/0.3917, allocations: 0 / 0.7406 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.3917, allocations: 7.984 kB / 0.7406 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001323/0.393, allocations: 0.9444 MB / 0.7415 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.3931, allocations: 0 / 0.7415 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002381/0.3933, allocations: 55.92 kB / 0.7416 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.3933, allocations: 0 / 0.7416 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.493e-05/0.3933, allocations: 11.98 kB / 0.7416 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.3934, allocations: 0 / 0.7416 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3934, allocations: 4 kB / 0.7416 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001154/0.3945, allocations: 0.6282 MB / 0.7422 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001211/0.3946, allocations: 148.4 kB / 0.7424 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.135e-05/0.3947, allocations: 8 kB / 0.7424 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002935/0.395, allocations: 40.02 kB / 0.7424 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001171/0.3951, allocations: 47.89 kB / 0.7424 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.279e-05/0.3952, allocations: 11.98 kB / 0.7425 GB, free: 10 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002367/0.3954, allocations: 267.2 kB / 0.7427 GB, free: 9.738 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3954, allocations: 0 / 0.7427 GB, free: 9.738 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003544/0.3958, allocations: 99.62 kB / 0.7428 GB, free: 9.641 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.active,preHeatCoil.pumOff.active,$cse1,$cse2,$whenCondition2,$whenCondition1,TMix.T_start,TMix.count,preHeatCoil.preHeaOn.y,preHeatCoil.pumOff.localActive,preHeatCoil.pumOff.newActive,preHeatCoil.pumOff.oldActive,preHeatCoil.toOn.enableFire,preHeatCoil.stateGraphRoot.activeSteps,preHeatCoil.pumOn.localActive,preHeatCoil.pumOn.newActive,preHeatCoil.pumOn.oldActive,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.0001624/0.3959, allocations: 125.4 kB / 0.7429 GB, free: 9.512 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009326/0.3969, allocations: 442.8 kB / 0.7434 GB, free: 9.066 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3969, allocations: 0.8125 kB / 0.7434 GB, free: 9.066 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003878/0.3973, allocations: 188.3 kB / 0.7435 GB, free: 8.883 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004767/0.3978, allocations: 86.78 kB / 0.7436 GB, free: 8.801 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001176/0.3989, allocations: 0.7544 MB / 0.7444 GB, free: 8.016 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003121/0.3993, allocations: 0.8235 MB / 0.7452 GB, free: 7.16 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001769/0.3995, allocations: 55.45 kB / 0.7452 GB, free: 7.102 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.37e-05/0.3996, allocations: 39.42 kB / 0.7452 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of SimCode: time 1.323e-06/0.3996, allocations: 0 / 0.7452 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of Templates: time 0.008023/0.4076, allocations: 4.938 MB / 0.7501 GB, free: 2.172 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.makefile (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)