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.0008983/0.0008983, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.0009287/0.0009288, allocations: 190.9 kB / 16.25 MB, free: 6.641 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.136/1.136, allocations: 205.1 MB / 222.1 MB, free: 4.629 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.282/1.282, allocations: 251.6 MB / 0.5089 GB, free: 3.277 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.001158/0.001158, allocations: 67.91 kB / 0.6217 GB, free: 1.863 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3698/0.371, allocations: 104.7 MB / 0.724 GB, free: 13.13 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil): time 0.00355/0.3746, allocations: 3 MB / 0.7269 GB, free: 10.11 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001515/0.3761, allocations: 1.165 MB / 0.7281 GB, free: 8.934 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002022/0.3763, allocations: 11.94 kB / 0.7281 GB, free: 8.922 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001959/0.3765, allocations: 63.45 kB / 0.7281 GB, free: 8.859 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001449/0.3767, allocations: 51.58 kB / 0.7282 GB, free: 8.809 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005873/0.3773, allocations: 318.3 kB / 0.7285 GB, free: 8.5 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005413/0.3778, allocations: 0.7107 MB / 0.7292 GB, free: 7.789 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004832/0.3783, allocations: 498.2 kB / 0.7296 GB, free: 7.301 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001878/0.3785, allocations: 243.1 kB / 0.7299 GB, free: 7.062 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001998/0.3787, allocations: 246.8 kB / 0.7301 GB, free: 6.82 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.186e-05/0.3788, allocations: 72 kB / 0.7302 GB, free: 6.75 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.133e-05/0.3789, allocations: 76 kB / 0.7303 GB, free: 6.676 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.836e-05/0.379, allocations: 143.5 kB / 0.7304 GB, free: 6.535 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001741/0.3792, allocations: 274.6 kB / 0.7307 GB, free: 6.266 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005025/0.3797, allocations: 0.7127 MB / 0.7313 GB, free: 5.551 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.3797, allocations: 4 kB / 0.7314 GB, free: 5.547 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.192e-06/0.3797, allocations: 0 / 0.7314 GB, free: 5.547 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.815e-06/0.3797, allocations: 0 / 0.7314 GB, free: 5.547 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.001312/0.381, allocations: 0.8703 MB / 0.7322 GB, free: 4.617 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.896e-05/0.3811, allocations: 16.03 kB / 0.7322 GB, free: 4.602 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.178e-05/0.3812, allocations: 56.28 kB / 0.7323 GB, free: 4.547 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00048/0.3816, allocations: 444.5 kB / 0.7327 GB, free: 4.074 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.34e-05/0.3817, allocations: 37.38 kB / 0.7327 GB, free: 4.039 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.563e-05/0.3818, allocations: 48.38 kB / 0.7328 GB, free: 3.992 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008297/0.3826, allocations: 0.5355 MB / 0.7333 GB, free: 3.422 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.3826, allocations: 0 / 0.7333 GB, free: 3.422 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.869e-05/0.3827, allocations: 16 kB / 0.7333 GB, free: 3.406 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.131e-05/0.3827, allocations: 12 kB / 0.7333 GB, free: 3.395 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008006/0.3835, allocations: 403.6 kB / 0.7337 GB, free: 3 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001764/0.3852, allocations: 1.856 MB / 0.7355 GB, free: 1.066 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007706/0.386, allocations: 342.9 kB / 0.7359 GB, free: 0.7227 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003326/0.3864, allocations: 172 kB / 0.736 GB, free: 0.5547 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.084e-05/0.3864, allocations: 7.938 kB / 0.736 GB, free: 0.5469 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004261/0.3868, allocations: 213.5 kB / 0.7362 GB, free: 336 kB / 0.545 GB Notification: Performance of pre-optimization done (n=34): time 1.683e-06/0.3869, allocations: 0 / 0.7362 GB, free: 336 kB / 0.545 GB Notification: Performance of matching and sorting (n=34): time 0.001031/0.3879, allocations: 473.6 kB / 0.7367 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.244e-05/0.3879, allocations: 63.41 kB / 0.7367 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003398/0.3883, allocations: 401.4 kB / 0.7371 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.976e-05/0.3883, allocations: 49.7 kB / 0.7372 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001428/0.3885, allocations: 252.1 kB / 0.7374 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.542e-05/0.3885, allocations: 102.7 kB / 0.7375 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001299/0.3887, allocations: 102.1 kB / 0.7376 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.3888, allocations: 358.8 kB / 0.7379 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003508/0.3892, allocations: 149 kB / 0.7381 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003883/0.3896, allocations: 261.9 kB / 0.7383 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006594/0.3902, allocations: 403.4 kB / 0.7387 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.3902, allocations: 4 kB / 0.7387 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0008836/0.3911, allocations: 0.5145 MB / 0.7392 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.023e-05/0.3912, allocations: 33.7 kB / 0.7393 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.3912, allocations: 4 kB / 0.7393 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.3912, allocations: 7.938 kB / 0.7393 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002755/0.3915, allocations: 79.81 kB / 0.7393 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.3915, allocations: 4 kB / 0.7394 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003052/0.3918, allocations: 75.7 kB / 0.7394 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.865e-05/0.3918, allocations: 20 kB / 0.7394 GB, free: 12.87 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.0001902/0.392, allocations: 205.7 kB / 0.7396 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.968e-05/0.3921, allocations: 47.38 kB / 0.7397 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007911/0.3929, allocations: 385.6 kB / 0.7401 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-06/0.3929, allocations: 7.938 kB / 0.7401 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3929, allocations: 0 / 0.7401 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.3929, allocations: 3.984 kB / 0.7401 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001261/0.3942, allocations: 0.9522 MB / 0.741 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.3942, allocations: 4 kB / 0.741 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002232/0.3944, allocations: 47.91 kB / 0.741 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.3944, allocations: 0 / 0.741 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.633e-05/0.3945, allocations: 11.98 kB / 0.7411 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.3945, allocations: 4.031 kB / 0.7411 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3945, allocations: 0 / 0.7411 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001074/0.3956, allocations: 0.6282 MB / 0.7417 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001128/0.3957, allocations: 144.6 kB / 0.7418 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.029e-05/0.3957, allocations: 12 kB / 0.7418 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002783/0.396, allocations: 31.95 kB / 0.7419 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.3961, allocations: 51.83 kB / 0.7419 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.265e-05/0.3962, allocations: 12.05 kB / 0.7419 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002655/0.3964, allocations: 267.2 kB / 0.7422 GB, free: 9.961 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3964, allocations: 0 / 0.7422 GB, free: 9.961 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003568/0.3968, allocations: 99.67 kB / 0.7423 GB, free: 9.863 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.0001532/0.397, allocations: 129.4 kB / 0.7424 GB, free: 9.73 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009063/0.3979, allocations: 450.8 kB / 0.7428 GB, free: 9.277 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3979, allocations: 0 / 0.7428 GB, free: 9.277 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003692/0.3983, allocations: 181.1 kB / 0.743 GB, free: 9.102 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004834/0.3988, allocations: 93.94 kB / 0.7431 GB, free: 9.008 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001267/0.4, allocations: 0.8951 MB / 0.744 GB, free: 8.082 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003684/0.4004, allocations: 0.8274 MB / 0.7448 GB, free: 7.223 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001865/0.4006, allocations: 47.45 kB / 0.7448 GB, free: 7.172 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.4007, allocations: 47.36 kB / 0.7449 GB, free: 7.129 MB / 0.5606 GB Notification: Performance of SimCode: time 1.9e-07/0.4007, allocations: 4 kB / 0.7449 GB, free: 7.125 MB / 0.5606 GB Notification: Performance of Templates: time 0.007712/0.4084, allocations: 4.836 MB / 0.7496 GB, free: 2.34 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)