Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.538/1.538, allocations: 285.4 MB / 298 MB, free: 5.988 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001302/0.001303, allocations: 180.8 kB / 366.4 MB, free: 2.109 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.416/1.416, allocations: 205.1 MB / 0.6248 GB, free: 7.73 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008223/0.0008224, allocations: 104.9 kB / 0.738 GB, free: 40.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.472e-05/3.474e-05, allocations: 0 / 0.8583 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.687/0.6871, allocations: 115.3 MB / 0.9709 GB, free: 78.03 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2016/0.8887, allocations: 145.7 MB / 1.113 GB, free: 6.094 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002957/0.8891, allocations: 93.62 kB / 1.113 GB, free: 6.004 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.02397/0.913, allocations: 8.756 MB / 1.122 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.236e-06/0.9131, allocations: 0 / 1.122 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.919e-05/0.9132, allocations: 21.84 kB / 1.122 GB, free: 13.32 MB / 0.7292 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.001599/0.9148, allocations: 0.731 MB / 1.123 GB, free: 12.53 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.9148, allocations: 12.03 kB / 1.123 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002013/0.915, allocations: 59.3 kB / 1.123 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007735/0.9158, allocations: 435.3 kB / 1.123 GB, free: 12 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.746e-05/0.9159, allocations: 37 kB / 1.123 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001071/0.916, allocations: 51.98 kB / 1.123 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009359/0.9169, allocations: 0.5049 MB / 1.124 GB, free: 11.36 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.917, allocations: 3.938 kB / 1.124 GB, free: 11.36 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.327e-05/0.917, allocations: 20 kB / 1.124 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.44e-05/0.917, allocations: 11.95 kB / 1.124 GB, free: 11.33 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000694/0.9177, allocations: 339.9 kB / 1.124 GB, free: 11 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002617/0.9204, allocations: 1.894 MB / 1.126 GB, free: 9.027 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006379/0.921, allocations: 299.2 kB / 1.126 GB, free: 8.727 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000227/0.9213, allocations: 129.2 kB / 1.126 GB, free: 8.602 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.538e-05/0.9213, allocations: 0 / 1.126 GB, free: 8.602 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000379/0.9217, allocations: 201.4 kB / 1.126 GB, free: 8.391 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=34): time 1.844e-06/0.9217, allocations: 0 / 1.126 GB, free: 8.391 MB / 0.7292 GB Notification: Performance of matching and sorting (n=34): time 0.0005944/0.9223, allocations: 290.7 kB / 1.127 GB, free: 8.102 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.638e-05/0.9224, allocations: 114.8 kB / 1.127 GB, free: 7.965 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004322/0.9228, allocations: 358.7 kB / 1.127 GB, free: 7.609 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.681e-05/0.9229, allocations: 41.7 kB / 1.127 GB, free: 7.562 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002047/0.9231, allocations: 252.2 kB / 1.127 GB, free: 7.309 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 9.275e-05/0.9232, allocations: 90.78 kB / 1.128 GB, free: 7.219 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.53e-05/0.9232, allocations: 16 kB / 1.128 GB, free: 7.203 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.9234, allocations: 358.7 kB / 1.128 GB, free: 6.844 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002313/0.9236, allocations: 125.1 kB / 1.128 GB, free: 6.723 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003092/0.9239, allocations: 238.9 kB / 1.128 GB, free: 6.441 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002683/0.9242, allocations: 159.2 kB / 1.128 GB, free: 6.281 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/0.9242, allocations: 4 kB / 1.128 GB, free: 6.277 MB / 0.7292 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007228/0.925, allocations: 455.6 kB / 1.129 GB, free: 5.82 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.209e-05/0.925, allocations: 43.11 kB / 1.129 GB, free: 5.773 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.925, allocations: 0 / 1.129 GB, free: 5.773 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.408e-05/0.925, allocations: 11.98 kB / 1.129 GB, free: 5.762 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000358/0.9254, allocations: 79.83 kB / 1.129 GB, free: 5.684 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.447e-05/0.9254, allocations: 8 kB / 1.129 GB, free: 5.676 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004303/0.9259, allocations: 83.62 kB / 1.129 GB, free: 5.594 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.276e-05/0.9259, allocations: 16 kB / 1.129 GB, free: 5.578 MB / 0.7292 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 () * 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.0001644/0.9261, allocations: 162.4 kB / 1.129 GB, free: 5.418 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.271e-05/0.9262, allocations: 43.44 kB / 1.129 GB, free: 5.375 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006049/0.9268, allocations: 325.8 kB / 1.13 GB, free: 5.051 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/0.9268, allocations: 4 kB / 1.13 GB, free: 5.047 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.9268, allocations: 0.6875 kB / 1.13 GB, free: 5.047 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.9269, allocations: 4 kB / 1.13 GB, free: 5.043 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001459/0.9283, allocations: 0.9249 MB / 1.13 GB, free: 4.059 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.9283, allocations: 0 / 1.13 GB, free: 4.059 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003036/0.9286, allocations: 63.14 kB / 1.131 GB, free: 4 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.055e-06/0.9287, allocations: 4 kB / 1.131 GB, free: 3.996 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.366e-05/0.9287, allocations: 7.984 kB / 1.131 GB, free: 3.988 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.718e-06/0.9287, allocations: 5.594 kB / 1.131 GB, free: 3.984 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.9287, allocations: 0 / 1.131 GB, free: 3.984 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009029/0.9296, allocations: 0.5598 MB / 1.131 GB, free: 3.398 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001804/0.9298, allocations: 156.5 kB / 1.131 GB, free: 3.227 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.214e-05/0.9299, allocations: 8 kB / 1.131 GB, free: 3.219 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003811/0.9303, allocations: 56.02 kB / 1.131 GB, free: 3.164 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001353/0.9304, allocations: 51.88 kB / 1.131 GB, free: 3.113 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.029e-05/0.9305, allocations: 12 kB / 1.131 GB, free: 3.102 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002993/0.9308, allocations: 265.2 kB / 1.132 GB, free: 2.84 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9308, allocations: 0 / 1.132 GB, free: 2.84 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004149/0.9312, allocations: 99.78 kB / 1.132 GB, free: 2.742 MB / 0.7292 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) * 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.0002308/0.9314, allocations: 129.4 kB / 1.132 GB, free: 2.609 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006671/0.9321, allocations: 371.5 kB / 1.132 GB, free: 2.234 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.9321, allocations: 0 / 1.132 GB, free: 2.234 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000265/0.9324, allocations: 152.6 kB / 1.132 GB, free: 2.086 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000471/0.9329, allocations: 84.42 kB / 1.132 GB, free: 2.008 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001187/0.9341, allocations: 0.528 MB / 1.133 GB, free: 1.453 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004307/0.9345, allocations: 0.8435 MB / 1.134 GB, free: 0.5859 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002356/0.9348, allocations: 52.45 kB / 1.134 GB, free: 0.5312 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001253/0.9349, allocations: 35.42 kB / 1.134 GB, free: 0.4961 MB / 0.7292 GB Notification: Performance of SimCode: time 3.4e-07/0.9349, allocations: 0 / 1.134 GB, free: 0.4961 MB / 0.7292 GB Notification: Performance of Templates: time 0.011/0.9459, allocations: 4.791 MB / 1.139 GB, free: 11.85 MB / 0.7448 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.makefile (rm -f Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.sim & ./Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe 2>&1)