Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil") translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 3.685/3.685, allocations: 251.1 MB / 266.7 MB, free: 11.58 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002347/0.002347, allocations: 181.5 kB / 326.2 MB, free: 2.863 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.073/4.073, allocations: 205.4 MB / 0.5772 GB, free: 20.8 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001814/0.001814, allocations: 98.03 kB / 0.6817 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001531, allocations: 16.12 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3125/0.3141, allocations: 106.2 MB / 0.8995 GB, free: 65.57 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3504/0.6645, allocations: 139.3 MB / 1.036 GB, free: 6.051 MB / 0.6824 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005919/0.6652, allocations: 99.94 kB / 1.036 GB, free: 5.953 MB / 0.6824 GB Notification: Performance of FrontEnd - DAE generated: time 0.06526/0.7305, allocations: 8.856 MB / 1.044 GB, free: 13.06 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.507e-06/0.7306, allocations: 0 / 1.044 GB, free: 13.06 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.682e-05/0.7307, allocations: 23.94 kB / 1.044 GB, free: 13.04 MB / 0.698 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.003726/0.7344, allocations: 0.7744 MB / 1.045 GB, free: 12.21 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.858e-05/0.7345, allocations: 8.031 kB / 1.045 GB, free: 12.2 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003953/0.7349, allocations: 64.27 kB / 1.045 GB, free: 12.14 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001525/0.7365, allocations: 433 kB / 1.046 GB, free: 11.68 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001029/0.7367, allocations: 37.38 kB / 1.046 GB, free: 11.64 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000193/0.7369, allocations: 48.38 kB / 1.046 GB, free: 11.59 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002788/0.7397, allocations: 0.5677 MB / 1.046 GB, free: 10.98 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.642e-05/0.7398, allocations: 3.938 kB / 1.046 GB, free: 10.98 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001215/0.7399, allocations: 24 kB / 1.046 GB, free: 10.96 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.32e-05/0.74, allocations: 12 kB / 1.046 GB, free: 10.95 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003282/0.7433, allocations: 455.6 kB / 1.047 GB, free: 10.5 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00921/0.7526, allocations: 1.895 MB / 1.048 GB, free: 8.527 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003113/0.7558, allocations: 412.1 kB / 1.049 GB, free: 8.117 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001297/0.7572, allocations: 184.7 kB / 1.049 GB, free: 7.934 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.363e-05/0.7573, allocations: 7.984 kB / 1.049 GB, free: 7.926 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001519/0.7589, allocations: 249.4 kB / 1.049 GB, free: 7.668 MB / 0.698 GB Notification: Performance of pre-optimization done (n=34): time 7.264e-06/0.759, allocations: 0 / 1.049 GB, free: 7.668 MB / 0.698 GB Notification: Performance of matching and sorting (n=34): time 0.003923/0.7629, allocations: 0.5453 MB / 1.05 GB, free: 7.117 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001601/0.7631, allocations: 118.7 kB / 1.05 GB, free: 6.977 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001247/0.7644, allocations: 401.5 kB / 1.05 GB, free: 6.574 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002152/0.7647, allocations: 45.69 kB / 1.05 GB, free: 6.523 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004451/0.7651, allocations: 252.2 kB / 1.051 GB, free: 6.27 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002422/0.7654, allocations: 94.73 kB / 1.051 GB, free: 6.176 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.57e-05/0.7655, allocations: 12 kB / 1.051 GB, free: 6.164 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0003273/0.7658, allocations: 354.8 kB / 1.051 GB, free: 5.809 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001402/0.7673, allocations: 181 kB / 1.051 GB, free: 5.633 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00155/0.7689, allocations: 294.8 kB / 1.052 GB, free: 5.293 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001451/0.7704, allocations: 215.2 kB / 1.052 GB, free: 5.078 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.728e-05/0.7705, allocations: 4 kB / 1.052 GB, free: 5.074 MB / 0.698 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.003674/0.7742, allocations: 0.5542 MB / 1.052 GB, free: 4.508 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001028/0.7744, allocations: 37.7 kB / 1.052 GB, free: 4.465 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.047e-05/0.7744, allocations: 4 kB / 1.052 GB, free: 4.461 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.325e-05/0.7744, allocations: 4 kB / 1.052 GB, free: 4.457 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009979/0.7755, allocations: 88.03 kB / 1.052 GB, free: 4.371 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.768e-05/0.7755, allocations: 4 kB / 1.052 GB, free: 4.367 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001266/0.7768, allocations: 83.62 kB / 1.052 GB, free: 4.285 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001225/0.777, allocations: 20 kB / 1.053 GB, free: 4.266 MB / 0.698 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 () * Number of clocked 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.0007827/0.7778, allocations: 205.7 kB / 1.053 GB, free: 4.055 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002232/0.778, allocations: 47.38 kB / 1.053 GB, free: 4.008 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0028/0.7808, allocations: 449.3 kB / 1.053 GB, free: 3.562 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.14e-05/0.7809, allocations: 4 kB / 1.053 GB, free: 3.559 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.618e-05/0.781, allocations: 4 kB / 1.053 GB, free: 3.555 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.462e-05/0.781, allocations: 0 / 1.053 GB, free: 3.555 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004896/0.7859, allocations: 1.026 MB / 1.054 GB, free: 2.469 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.836e-06/0.786, allocations: 0 / 1.054 GB, free: 2.469 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008141/0.7868, allocations: 67.92 kB / 1.054 GB, free: 2.402 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.429e-05/0.7869, allocations: 3.938 kB / 1.054 GB, free: 2.398 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.707e-05/0.787, allocations: 8 kB / 1.054 GB, free: 2.391 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.817e-06/0.787, allocations: 0 / 1.054 GB, free: 2.391 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.787, allocations: 0 / 1.054 GB, free: 2.391 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0041/0.7911, allocations: 0.7221 MB / 1.055 GB, free: 1.648 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005305/0.7917, allocations: 164.5 kB / 1.055 GB, free: 1.469 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001556/0.7919, allocations: 8 kB / 1.055 GB, free: 1.461 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001078/0.793, allocations: 51.95 kB / 1.055 GB, free: 1.41 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003879/0.7935, allocations: 47.92 kB / 1.055 GB, free: 1.363 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.148e-05/0.7936, allocations: 19.92 kB / 1.055 GB, free: 1.344 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0009096/0.7945, allocations: 263.2 kB / 1.055 GB, free: 1.086 MB / 0.698 GB Notification: Performance of sort global known variables: time 9.52e-07/0.7945, allocations: 0 / 1.055 GB, free: 1.086 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001308/0.7959, allocations: 91.94 kB / 1.056 GB, free: 0.9961 MB / 0.698 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) * 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 (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.0003727/0.7963, allocations: 129.4 kB / 1.056 GB, free: 0.8633 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002459/0.7987, allocations: 487.4 kB / 1.056 GB, free: 384 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/0.7988, allocations: 0 / 1.056 GB, free: 384 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001235/0.8, allocations: 208.2 kB / 1.056 GB, free: 176 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001446/0.8015, allocations: 77.5 kB / 1.056 GB, free: 100 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9042/1.706, allocations: 0.8649 MB / 1.057 GB, free: 148.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006456/1.706, allocations: 0.83 MB / 1.058 GB, free: 148.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006581/1.707, allocations: 49.7 kB / 1.058 GB, free: 148.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002845/1.707, allocations: 37.64 kB / 1.058 GB, free: 148.2 MB / 0.698 GB Notification: Performance of SimCode: time 1.403e-06/1.708, allocations: 0 / 1.058 GB, free: 148.2 MB / 0.698 GB Notification: Performance of Templates: time 0.0258/1.733, allocations: 4.806 MB / 1.063 GB, free: 148 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.makefile (rm -f Buildings_7.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe ; mkfifo Buildings_7.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe >> ../files/Buildings_7.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.sim & ./Buildings_7.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.pipe 2>&1)