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.326/2.326, allocations: 253.2 MB / 260.6 MB, free: 7.543 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001422/0.001422, allocations: 181.5 kB / 319.9 MB, free: 3.062 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.107/2.107, allocations: 205.6 MB / 0.5708 GB, free: 15.23 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.001129/0.001129, allocations: 91.53 kB / 0.6751 GB, free: 4.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.764e-05/1.739e-05, allocations: 0 / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1979/0.198, allocations: 106.2 MB / 0.8887 GB, free: 11.85 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8748/1.073, allocations: 139.5 MB / 1.025 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003134/1.073, allocations: 89.88 kB / 1.025 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.03685/1.11, allocations: 8.713 MB / 1.033 GB, free: 6.703 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.416e-06/1.11, allocations: 0 / 1.033 GB, free: 6.703 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.701e-05/1.11, allocations: 16.88 kB / 1.034 GB, free: 6.688 MB / 0.6511 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.002206/1.112, allocations: 0.7323 MB / 1.034 GB, free: 5.941 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.574e-05/1.112, allocations: 8.031 kB / 1.034 GB, free: 5.934 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002564/1.113, allocations: 63.25 kB / 1.034 GB, free: 5.871 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009478/1.114, allocations: 423.8 kB / 1.035 GB, free: 5.488 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.922e-05/1.114, allocations: 16 kB / 1.035 GB, free: 5.473 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001234/1.114, allocations: 35.69 kB / 1.035 GB, free: 5.441 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009578/1.115, allocations: 304.6 kB / 1.035 GB, free: 5.27 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001143/1.116, allocations: 467.5 kB / 1.035 GB, free: 4.895 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.988e-05/1.116, allocations: 0 / 1.035 GB, free: 4.895 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.577e-05/1.116, allocations: 0 / 1.035 GB, free: 4.895 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.925e-05/1.116, allocations: 15.94 kB / 1.035 GB, free: 4.879 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003533/1.12, allocations: 1.791 MB / 1.037 GB, free: 3.367 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008616/1.121, allocations: 275.5 kB / 1.038 GB, free: 3.188 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003011/1.121, allocations: 119.8 kB / 1.038 GB, free: 3.117 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.727e-05/1.121, allocations: 4 kB / 1.038 GB, free: 3.113 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004751/1.122, allocations: 181 kB / 1.038 GB, free: 2.969 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=34): time 3.596e-06/1.122, allocations: 0 / 1.038 GB, free: 2.969 MB / 0.6511 GB Notification: Performance of matching and sorting (n=34): time 0.0008571/1.122, allocations: 269.1 kB / 1.038 GB, free: 2.766 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.471e-05/1.123, allocations: 118.4 kB / 1.038 GB, free: 2.629 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004893/1.123, allocations: 284.5 kB / 1.038 GB, free: 2.41 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 8.193e-05/1.123, allocations: 37.19 kB / 1.038 GB, free: 2.371 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002659/1.123, allocations: 253.1 kB / 1.039 GB, free: 2.168 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001265/1.124, allocations: 96.39 kB / 1.039 GB, free: 2.09 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-05/1.124, allocations: 4 kB / 1.039 GB, free: 2.086 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001546/1.124, allocations: 352.2 kB / 1.039 GB, free: 1.746 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003308/1.124, allocations: 112.2 kB / 1.039 GB, free: 1.688 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004335/1.125, allocations: 230.9 kB / 1.039 GB, free: 1.477 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003326/1.125, allocations: 119.7 kB / 1.04 GB, free: 1.402 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.216e-06/1.125, allocations: 4 kB / 1.04 GB, free: 1.398 MB / 0.6511 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.00103/1.126, allocations: 385.5 kB / 1.04 GB, free: 1.105 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 4.831e-05/1.126, allocations: 30.95 kB / 1.04 GB, free: 1.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/1.126, allocations: 4.375 kB / 1.04 GB, free: 1.066 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.916e-05/1.126, allocations: 12 kB / 1.04 GB, free: 1.055 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006457/1.127, allocations: 79.81 kB / 1.04 GB, free: 0.9805 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.772e-05/1.127, allocations: 7.938 kB / 1.04 GB, free: 0.9727 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000707/1.127, allocations: 71.72 kB / 1.04 GB, free: 0.9023 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.727e-05/1.128, allocations: 15.88 kB / 1.04 GB, free: 0.8906 MB / 0.6511 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.0001983/1.128, allocations: 134 kB / 1.04 GB, free: 0.7578 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001269/1.128, allocations: 39.53 kB / 1.04 GB, free: 0.7188 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000904/1.129, allocations: 321.6 kB / 1.041 GB, free: 492 kB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/1.129, allocations: 0 / 1.041 GB, free: 492 kB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/1.129, allocations: 4 kB / 1.041 GB, free: 488 kB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/1.129, allocations: 0 / 1.041 GB, free: 488 kB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001845/1.131, allocations: 0.8206 MB / 1.041 GB, free: 15.82 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/1.131, allocations: 0 / 1.041 GB, free: 15.82 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005289/1.131, allocations: 62.3 kB / 1.042 GB, free: 15.76 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.043e-05/1.131, allocations: 4 kB / 1.042 GB, free: 15.76 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.878e-05/1.131, allocations: 3.984 kB / 1.042 GB, free: 15.75 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.282e-06/1.131, allocations: 4 kB / 1.042 GB, free: 15.75 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/1.131, allocations: 0 / 1.042 GB, free: 15.75 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001199/1.133, allocations: 0.5405 MB / 1.042 GB, free: 15.33 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002342/1.133, allocations: 141.8 kB / 1.042 GB, free: 15.19 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.381e-05/1.133, allocations: 7.438 kB / 1.042 GB, free: 15.19 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006292/1.134, allocations: 52 kB / 1.042 GB, free: 15.14 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001827/1.134, allocations: 54.27 kB / 1.042 GB, free: 15.09 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.312e-05/1.134, allocations: 11.98 kB / 1.042 GB, free: 15.08 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0003294/1.134, allocations: 206.5 kB / 1.043 GB, free: 14.93 MB / 0.6667 GB Notification: Performance of sort global known variables: time 5.01e-07/1.134, allocations: 0 / 1.043 GB, free: 14.93 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0006737/1.135, allocations: 87.75 kB / 1.043 GB, free: 14.84 MB / 0.6667 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.0002492/1.135, allocations: 124.4 kB / 1.043 GB, free: 14.72 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0008936/1.136, allocations: 352.9 kB / 1.043 GB, free: 14.46 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/1.136, allocations: 3.938 kB / 1.043 GB, free: 14.46 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0003689/1.137, allocations: 137 kB / 1.043 GB, free: 14.37 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007035/1.137, allocations: 74.3 kB / 1.043 GB, free: 14.31 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001602/1.139, allocations: 0.5142 MB / 1.044 GB, free: 13.83 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005178/1.139, allocations: 0.8357 MB / 1.045 GB, free: 12.97 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0004024/1.14, allocations: 55.27 kB / 1.045 GB, free: 12.92 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001982/1.14, allocations: 31.42 kB / 1.045 GB, free: 12.89 MB / 0.6667 GB Notification: Performance of SimCode: time 1.062e-06/1.14, allocations: 0 / 1.045 GB, free: 12.89 MB / 0.6667 GB Notification: Performance of Templates: time 0.01509/1.155, allocations: 4.274 MB / 1.049 GB, free: 8.672 MB / 0.6667 GB