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.632/1.632, allocations: 285.6 MB / 293.1 MB, free: 10.24 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.00123/0.00123, allocations: 180.8 kB / 361.4 MB, free: 6.859 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.34/1.34, allocations: 205.2 MB / 0.62 GB, free: 11.66 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.0008256/0.0008254, allocations: 97.45 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.662e-05/1.663e-05, allocations: 4 kB / 0.8517 GB, free: 2.746 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6673/0.6673, allocations: 115.3 MB / 0.9644 GB, free: 78.79 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2011/0.8685, allocations: 145 MB / 1.106 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002773/0.8688, allocations: 93.67 kB / 1.106 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.02415/0.8929, allocations: 8.666 MB / 1.115 GB, free: 2.152 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.024e-06/0.893, allocations: 0 / 1.115 GB, free: 2.152 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.095e-05/0.8931, allocations: 15.94 kB / 1.115 GB, free: 2.137 MB / 0.7136 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.001752/0.8948, allocations: 0.7391 MB / 1.115 GB, free: 1.348 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.8949, allocations: 12.03 kB / 1.115 GB, free: 1.336 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002752/0.8952, allocations: 59.3 kB / 1.115 GB, free: 1.277 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008238/0.896, allocations: 428.7 kB / 1.116 GB, free: 0.8164 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.257e-05/0.8961, allocations: 23.98 kB / 1.116 GB, free: 0.793 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.718e-05/0.8962, allocations: 28 kB / 1.116 GB, free: 0.7656 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006878/0.8969, allocations: 306.6 kB / 1.116 GB, free: 480 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008431/0.8977, allocations: 457 kB / 1.117 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.8978, allocations: 0 / 1.117 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.88e-05/0.8978, allocations: 7.953 kB / 1.117 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.113e-05/0.8978, allocations: 15.78 kB / 1.117 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002647/0.9005, allocations: 1.788 MB / 1.118 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005912/0.9011, allocations: 276 kB / 1.119 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002142/0.9013, allocations: 124.8 kB / 1.119 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.217e-05/0.9014, allocations: 8.781 kB / 1.119 GB, free: 13.7 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003436/0.9017, allocations: 177.2 kB / 1.119 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=34): time 2.314e-06/0.9018, allocations: 0.9375 kB / 1.119 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of matching and sorting (n=34): time 0.0005616/0.9023, allocations: 267.2 kB / 1.119 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.56e-05/0.9024, allocations: 110.8 kB / 1.119 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003525/0.9028, allocations: 289.4 kB / 1.119 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.443e-05/0.9028, allocations: 41.69 kB / 1.12 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002016/0.903, allocations: 251.9 kB / 1.12 GB, free: 12.53 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001049/0.9031, allocations: 90.8 kB / 1.12 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.082e-05/0.9032, allocations: 0 / 1.12 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001641/0.9033, allocations: 354.8 kB / 1.12 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002086/0.9036, allocations: 113.1 kB / 1.12 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002924/0.9039, allocations: 230.8 kB / 1.121 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002325/0.9041, allocations: 121.6 kB / 1.121 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.9041, allocations: 0 / 1.121 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0006703/0.9048, allocations: 381.9 kB / 1.121 GB, free: 11.21 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.685e-05/0.9049, allocations: 33.7 kB / 1.121 GB, free: 11.17 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.301e-05/0.9049, allocations: 10.67 kB / 1.121 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.211e-05/0.9049, allocations: 4.375 kB / 1.121 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003626/0.9053, allocations: 93.19 kB / 1.121 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.938e-06/0.9053, allocations: 4 kB / 1.121 GB, free: 11.06 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004229/0.9057, allocations: 67.69 kB / 1.121 GB, free: 11 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.953e-05/0.9058, allocations: 20 kB / 1.121 GB, free: 10.98 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.0001535/0.906, allocations: 138 kB / 1.121 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.297e-05/0.906, allocations: 34.62 kB / 1.121 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006163/0.9066, allocations: 310.9 kB / 1.122 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.9067, allocations: 7.984 kB / 1.122 GB, free: 10.49 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.9067, allocations: 0 / 1.122 GB, free: 10.49 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.9067, allocations: 0 / 1.122 GB, free: 10.49 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00126/0.908, allocations: 0.8202 MB / 1.122 GB, free: 9.621 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.908, allocations: 0 / 1.122 GB, free: 9.621 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002991/0.9083, allocations: 67.92 kB / 1.123 GB, free: 9.555 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.9083, allocations: 0 / 1.123 GB, free: 9.555 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.025e-05/0.9083, allocations: 7.984 kB / 1.123 GB, free: 9.547 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.9083, allocations: 1.812 kB / 1.123 GB, free: 9.547 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.9083, allocations: 0 / 1.123 GB, free: 9.547 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000811/0.9092, allocations: 0.5363 MB / 1.123 GB, free: 8.984 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001706/0.9093, allocations: 148.6 kB / 1.123 GB, free: 8.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.127e-05/0.9094, allocations: 4 kB / 1.123 GB, free: 8.816 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003606/0.9098, allocations: 52 kB / 1.123 GB, free: 8.766 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001304/0.9099, allocations: 43.94 kB / 1.123 GB, free: 8.723 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-05/0.91, allocations: 15.98 kB / 1.123 GB, free: 8.707 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002246/0.9102, allocations: 212.6 kB / 1.124 GB, free: 8.504 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.41e-07/0.9102, allocations: 0 / 1.124 GB, free: 8.504 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004377/0.9106, allocations: 75.84 kB / 1.124 GB, free: 8.43 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.0002191/0.9109, allocations: 141.1 kB / 1.124 GB, free: 8.285 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005839/0.9115, allocations: 347.2 kB / 1.124 GB, free: 7.934 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.9115, allocations: 0 / 1.124 GB, free: 7.934 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002503/0.9117, allocations: 148.5 kB / 1.124 GB, free: 7.789 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004693/0.9122, allocations: 67.09 kB / 1.124 GB, free: 7.727 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001208/0.9134, allocations: 0.5095 MB / 1.125 GB, free: 7.18 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004866/0.9139, allocations: 0.8396 MB / 1.126 GB, free: 6.312 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002398/0.9142, allocations: 45.22 kB / 1.126 GB, free: 6.273 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001184/0.9143, allocations: 39.42 kB / 1.126 GB, free: 6.234 MB / 0.7292 GB Notification: Performance of SimCode: time 2.51e-07/0.9143, allocations: 0 / 1.126 GB, free: 6.234 MB / 0.7292 GB Notification: Performance of Templates: time 0.009704/0.924, allocations: 4.274 MB / 1.13 GB, free: 2.102 MB / 0.7292 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)