Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/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") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.174/2.174, allocations: 251.1 MB / 266.1 MB, free: 11.57 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001437/0.001437, allocations: 176 kB / 325.6 MB, free: 2.816 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.265/2.265, allocations: 205.4 MB / 0.5766 GB, free: 20.7 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001143/0.001143, allocations: 84.66 kB / 0.6811 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004808/0.0004809, allocations: 15.69 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2091/0.2096, allocations: 106.3 MB / 0.8989 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2297/0.4394, allocations: 139.3 MB / 1.035 GB, free: 5.945 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003438/0.4398, allocations: 91.95 kB / 1.035 GB, free: 5.855 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03576/0.4756, allocations: 8.828 MB / 1.044 GB, free: 12.99 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.124e-06/0.4757, allocations: 0 / 1.044 GB, free: 12.99 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.326e-05/0.4757, allocations: 23.94 kB / 1.044 GB, free: 12.97 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.002143/0.4779, allocations: 0.7821 MB / 1.044 GB, free: 12.13 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.4779, allocations: 8.031 kB / 1.044 GB, free: 12.12 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001651/0.4781, allocations: 59.34 kB / 1.044 GB, free: 12.06 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008566/0.479, allocations: 431.5 kB / 1.045 GB, free: 11.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.585e-05/0.4791, allocations: 41 kB / 1.045 GB, free: 11.56 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001271/0.4792, allocations: 48 kB / 1.045 GB, free: 11.51 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001698/0.4809, allocations: 0.5672 MB / 1.046 GB, free: 10.91 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.613e-05/0.481, allocations: 3.984 kB / 1.046 GB, free: 10.9 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.266e-05/0.4811, allocations: 20 kB / 1.046 GB, free: 10.88 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.941e-05/0.4811, allocations: 12 kB / 1.046 GB, free: 10.87 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00178/0.4829, allocations: 451.6 kB / 1.046 GB, free: 10.43 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003689/0.4866, allocations: 1.9 MB / 1.048 GB, free: 8.453 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001797/0.4884, allocations: 425 kB / 1.048 GB, free: 8.031 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.98e-05/0.4885, allocations: 0 / 1.048 GB, free: 8.031 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008835/0.4894, allocations: 245.5 kB / 1.049 GB, free: 7.777 MB / 0.698 GB Notification: Performance of pre-optimization done (n=34): time 2.335e-06/0.4894, allocations: 0 / 1.049 GB, free: 7.777 MB / 0.698 GB Notification: Performance of matching and sorting (n=34): time 0.002322/0.4918, allocations: 0.553 MB / 1.049 GB, free: 7.219 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.38e-05/0.4918, allocations: 106.8 kB / 1.049 GB, free: 7.09 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006629/0.4925, allocations: 368.6 kB / 1.05 GB, free: 6.727 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.169e-05/0.4926, allocations: 45.69 kB / 1.05 GB, free: 6.676 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002493/0.4929, allocations: 244.2 kB / 1.05 GB, free: 6.434 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001283/0.493, allocations: 98.78 kB / 1.05 GB, free: 6.336 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.801e-05/0.4931, allocations: 8 kB / 1.05 GB, free: 6.328 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.4933, allocations: 362.7 kB / 1.05 GB, free: 5.965 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007575/0.494, allocations: 181 kB / 1.05 GB, free: 5.789 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000875/0.4949, allocations: 290.8 kB / 1.051 GB, free: 5.453 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007959/0.4957, allocations: 219.2 kB / 1.051 GB, free: 5.234 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/0.4957, allocations: 4 kB / 1.051 GB, free: 5.23 MB / 0.698 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001933/0.4977, allocations: 0.554 MB / 1.051 GB, free: 4.664 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.156e-05/0.4978, allocations: 37.7 kB / 1.051 GB, free: 4.621 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.4978, allocations: 4 kB / 1.051 GB, free: 4.617 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.489e-05/0.4978, allocations: 8.219 kB / 1.051 GB, free: 4.609 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006153/0.4984, allocations: 91.75 kB / 1.052 GB, free: 4.52 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.986e-05/0.4985, allocations: 4 kB / 1.052 GB, free: 4.516 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000707/0.4992, allocations: 83.56 kB / 1.052 GB, free: 4.434 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-05/0.4993, allocations: 23.95 kB / 1.052 GB, free: 4.41 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.0003982/0.4997, allocations: 197.8 kB / 1.052 GB, free: 4.207 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001016/0.4998, allocations: 43.44 kB / 1.052 GB, free: 4.164 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001693/0.5015, allocations: 449.3 kB / 1.052 GB, free: 3.719 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.5015, allocations: 0 / 1.052 GB, free: 3.719 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.5015, allocations: 4 kB / 1.052 GB, free: 3.715 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.5016, allocations: 0 / 1.052 GB, free: 3.715 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00271/0.5043, allocations: 1.03 MB / 1.053 GB, free: 2.625 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.329e-06/0.5043, allocations: 0 / 1.053 GB, free: 2.625 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005227/0.5048, allocations: 67.92 kB / 1.053 GB, free: 2.559 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.707e-06/0.5049, allocations: 4 kB / 1.053 GB, free: 2.555 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.958e-05/0.5049, allocations: 8 kB / 1.053 GB, free: 2.547 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.985e-06/0.5049, allocations: 3.953 kB / 1.053 GB, free: 2.543 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.5049, allocations: 0 / 1.053 GB, free: 2.543 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002431/0.5074, allocations: 0.7356 MB / 1.054 GB, free: 1.781 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002367/0.5076, allocations: 152.5 kB / 1.054 GB, free: 1.613 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000102/0.5077, allocations: 15.95 kB / 1.054 GB, free: 1.598 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006418/0.5084, allocations: 55.95 kB / 1.054 GB, free: 1.543 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001805/0.5086, allocations: 43.92 kB / 1.054 GB, free: 1.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.523e-05/0.5086, allocations: 15.98 kB / 1.054 GB, free: 1.484 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004655/0.5091, allocations: 263.2 kB / 1.055 GB, free: 1.227 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.21e-07/0.5091, allocations: 0 / 1.055 GB, free: 1.227 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006183/0.5098, allocations: 91.94 kB / 1.055 GB, free: 1.137 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.0002442/0.51, allocations: 129.4 kB / 1.055 GB, free: 1.004 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001695/0.5117, allocations: 483.1 kB / 1.055 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.5117, allocations: 0.5 kB / 1.055 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008061/0.5126, allocations: 203.8 kB / 1.056 GB, free: 328 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006682/0.5132, allocations: 73.58 kB / 1.056 GB, free: 256 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.56/1.073, allocations: 0.8664 MB / 1.056 GB, free: 148.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003929/1.074, allocations: 0.8364 MB / 1.057 GB, free: 148.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000424/1.074, allocations: 56.77 kB / 1.057 GB, free: 148.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001988/1.074, allocations: 37.2 kB / 1.057 GB, free: 148.2 MB / 0.698 GB Notification: Performance of SimCode: time 8.71e-07/1.074, allocations: 1.281 kB / 1.057 GB, free: 148.2 MB / 0.698 GB Notification: Performance of Templates: time 0.01598/1.09, allocations: 4.791 MB / 1.062 GB, free: 148 MB / 0.698 GB