Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil") translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.589/1.589, allocations: 289.7 MB / 302.2 MB, free: 2.18 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.001066/0.001066, allocations: 185.2 kB / 371.6 MB, free: 3.391 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.558/1.558, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.0008354/0.0008354, allocations: 90.23 kB / 0.745 GB, free: 54.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.397e-05/3.399e-05, allocations: 4 kB / 0.8662 GB, free: 15.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2581/0.2582, allocations: 116.3 MB / 0.9798 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8557/1.114, allocations: 146.7 MB / 1.123 GB, free: 38.81 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002625/1.114, allocations: 94.75 kB / 1.123 GB, free: 38.78 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.02162/1.136, allocations: 8.753 MB / 1.132 GB, free: 34.25 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.003e-06/1.136, allocations: 4 kB / 1.132 GB, free: 34.24 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.173e-05/1.136, allocations: 12 kB / 1.132 GB, free: 34.23 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.001698/1.138, allocations: 0.7382 MB / 1.132 GB, free: 33.55 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/1.138, allocations: 11.45 kB / 1.132 GB, free: 33.54 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002558/1.138, allocations: 68.48 kB / 1.132 GB, free: 33.48 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007996/1.139, allocations: 416.4 kB / 1.133 GB, free: 33.16 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.057e-05/1.139, allocations: 40.25 kB / 1.133 GB, free: 33.14 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001215/1.139, allocations: 50.94 kB / 1.133 GB, free: 33.11 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001009/1.14, allocations: 0.5078 MB / 1.133 GB, free: 32.77 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/1.14, allocations: 0 / 1.133 GB, free: 32.77 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.276e-05/1.14, allocations: 19.44 kB / 1.133 GB, free: 32.77 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.702e-05/1.14, allocations: 15.95 kB / 1.133 GB, free: 32.75 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000671/1.141, allocations: 336.9 kB / 1.134 GB, free: 32.56 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002535/1.143, allocations: 1.911 MB / 1.136 GB, free: 31.25 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005963/1.144, allocations: 291.1 kB / 1.136 GB, free: 31.06 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000206/1.144, allocations: 130.6 kB / 1.136 GB, free: 30.99 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.183e-05/1.144, allocations: 4 kB / 1.136 GB, free: 30.98 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003296/1.145, allocations: 191.8 kB / 1.136 GB, free: 30.86 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=34): time 2.124e-06/1.145, allocations: 0 / 1.136 GB, free: 30.86 MB / 0.7448 GB Notification: Performance of matching and sorting (n=34): time 0.000563/1.145, allocations: 299.2 kB / 1.137 GB, free: 30.65 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.581e-05/1.145, allocations: 110.8 kB / 1.137 GB, free: 30.52 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003868/1.146, allocations: 359.5 kB / 1.137 GB, free: 30.27 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.17e-05/1.146, allocations: 39.45 kB / 1.137 GB, free: 30.23 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001497/1.146, allocations: 251 kB / 1.137 GB, free: 30.07 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.734e-05/1.146, allocations: 101.3 kB / 1.137 GB, free: 29.99 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.509e-05/1.146, allocations: 6.938 kB / 1.137 GB, free: 29.99 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.806e-05/1.146, allocations: 361.9 kB / 1.138 GB, free: 29.66 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002219/1.146, allocations: 120.4 kB / 1.138 GB, free: 29.6 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002765/1.147, allocations: 240.8 kB / 1.138 GB, free: 29.38 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002431/1.147, allocations: 158.4 kB / 1.138 GB, free: 29.27 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.92e-06/1.147, allocations: 7.406 kB / 1.138 GB, free: 29.27 MB / 0.7448 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0006641/1.148, allocations: 461.5 kB / 1.139 GB, free: 28.93 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.372e-05/1.148, allocations: 37.02 kB / 1.139 GB, free: 28.89 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/1.148, allocations: 4 kB / 1.139 GB, free: 28.89 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.518e-05/1.148, allocations: 4 kB / 1.139 GB, free: 28.89 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003385/1.148, allocations: 80.91 kB / 1.139 GB, free: 28.82 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.024e-05/1.148, allocations: 11.5 kB / 1.139 GB, free: 28.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004298/1.149, allocations: 79.62 kB / 1.139 GB, free: 28.76 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.199e-05/1.149, allocations: 22.62 kB / 1.139 GB, free: 28.74 MB / 0.7448 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.0001501/1.149, allocations: 151.6 kB / 1.139 GB, free: 28.61 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.166e-05/1.149, allocations: 45.03 kB / 1.139 GB, free: 28.56 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005518/1.149, allocations: 333.4 kB / 1.139 GB, free: 28.38 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/1.149, allocations: 4 kB / 1.139 GB, free: 28.37 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/1.149, allocations: 0 / 1.139 GB, free: 28.37 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/1.149, allocations: 3.281 kB / 1.139 GB, free: 28.37 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001223/1.151, allocations: 0.9174 MB / 1.14 GB, free: 27.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/1.151, allocations: 3.422 kB / 1.14 GB, free: 27.77 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002863/1.151, allocations: 61.94 kB / 1.14 GB, free: 27.72 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.893e-06/1.151, allocations: 0 / 1.14 GB, free: 27.72 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.97e-05/1.151, allocations: 11 kB / 1.14 GB, free: 27.72 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/1.151, allocations: 7.547 kB / 1.14 GB, free: 27.71 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/1.151, allocations: 4 kB / 1.14 GB, free: 27.71 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007043/1.152, allocations: 0.567 MB / 1.141 GB, free: 27.29 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001598/1.152, allocations: 149.8 kB / 1.141 GB, free: 27.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.383e-05/1.152, allocations: 6.766 kB / 1.141 GB, free: 27.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003633/1.152, allocations: 60.02 kB / 1.141 GB, free: 27.12 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000132/1.153, allocations: 46.08 kB / 1.141 GB, free: 27.1 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-05/1.153, allocations: 15.7 kB / 1.141 GB, free: 27.09 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002702/1.153, allocations: 265.6 kB / 1.141 GB, free: 26.9 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.8e-07/1.153, allocations: 7.938 kB / 1.141 GB, free: 26.89 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004229/1.153, allocations: 96.47 kB / 1.142 GB, free: 26.81 MB / 0.7448 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.0001922/1.154, allocations: 122.3 kB / 1.142 GB, free: 26.69 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005724/1.154, allocations: 372.8 kB / 1.142 GB, free: 26.42 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/1.154, allocations: 0.75 kB / 1.142 GB, free: 26.42 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002316/1.154, allocations: 154.6 kB / 1.142 GB, free: 26.32 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004671/1.155, allocations: 71.7 kB / 1.142 GB, free: 26.28 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001105/1.156, allocations: 0.5255 MB / 1.143 GB, free: 25.86 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002823/1.156, allocations: 0.8448 MB / 1.144 GB, free: 25.05 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002454/1.156, allocations: 53.88 kB / 1.144 GB, free: 25.01 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000116/1.157, allocations: 35.44 kB / 1.144 GB, free: 24.98 MB / 0.7448 GB Notification: Performance of SimCode: time 3.41e-07/1.157, allocations: 0 / 1.144 GB, free: 24.98 MB / 0.7448 GB Notification: Performance of Templates: time 0.01232/1.169, allocations: 4.792 MB / 1.148 GB, free: 22.3 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.makefile (rm -f Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe ; mkfifo Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe >> ../files/Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.sim & ./Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe 2>&1)