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.209/2.209, allocations: 252.6 MB / 265.2 MB, free: 5.785 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.001455/0.001454, allocations: 192.6 kB / 324.5 MB, free: 14.34 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.935/1.935, allocations: 205.4 MB / 0.5754 GB, free: 10.45 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: 94 kB / 0.6797 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.256e-05/3.297e-05, allocations: 4 kB / 0.7911 GB, free: 96.58 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1944/0.1944, allocations: 106.2 MB / 0.8949 GB, free: 6.242 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8342/1.029, allocations: 139.2 MB / 1.031 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003241/1.029, allocations: 94.42 kB / 1.031 GB, free: 11.33 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.03745/1.067, allocations: 8.807 MB / 1.04 GB, free: 3.918 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.226e-06/1.067, allocations: 0 / 1.04 GB, free: 3.918 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.05e-05/1.067, allocations: 16.88 kB / 1.04 GB, free: 3.902 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.001978/1.069, allocations: 0.739 MB / 1.04 GB, free: 3.145 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/1.069, allocations: 8.031 kB / 1.04 GB, free: 3.137 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001746/1.069, allocations: 67.19 kB / 1.04 GB, free: 3.07 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008275/1.07, allocations: 411.9 kB / 1.041 GB, free: 2.707 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.382e-05/1.07, allocations: 49.06 kB / 1.041 GB, free: 2.676 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001138/1.07, allocations: 46.38 kB / 1.041 GB, free: 2.645 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001225/1.071, allocations: 0.5057 MB / 1.041 GB, free: 2.262 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.41e-05/1.071, allocations: 4 kB / 1.041 GB, free: 2.258 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.975e-05/1.071, allocations: 17.88 kB / 1.041 GB, free: 2.254 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.299e-05/1.071, allocations: 12 kB / 1.041 GB, free: 2.242 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009536/1.072, allocations: 345.1 kB / 1.042 GB, free: 2.031 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003515/1.076, allocations: 1.895 MB / 1.044 GB, free: 448 kB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009305/1.077, allocations: 300.6 kB / 1.044 GB, free: 244 kB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003348/1.077, allocations: 122.7 kB / 1.044 GB, free: 168 kB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.136e-05/1.077, allocations: 7.5 kB / 1.044 GB, free: 164 kB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004764/1.078, allocations: 182.8 kB / 1.044 GB, free: 16 kB / 0.6511 GB Notification: Performance of pre-optimization done (n=34): time 3.356e-06/1.078, allocations: 7.938 kB / 1.044 GB, free: 8 kB / 0.6511 GB Notification: Performance of matching and sorting (n=34): time 0.0009319/1.079, allocations: 296.1 kB / 1.044 GB, free: 15.79 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.211e-05/1.079, allocations: 118.8 kB / 1.045 GB, free: 15.64 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006608/1.08, allocations: 361.8 kB / 1.045 GB, free: 15.37 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 9.467e-05/1.08, allocations: 39.83 kB / 1.045 GB, free: 15.33 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.000254/1.08, allocations: 250 kB / 1.045 GB, free: 15.15 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001287/1.08, allocations: 95.08 kB / 1.045 GB, free: 15.07 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-05/1.08, allocations: 9.875 kB / 1.045 GB, free: 15.07 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001685/1.08, allocations: 357.5 kB / 1.046 GB, free: 14.73 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003776/1.081, allocations: 122.5 kB / 1.046 GB, free: 14.66 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000485/1.081, allocations: 240.5 kB / 1.046 GB, free: 14.44 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004073/1.082, allocations: 162.2 kB / 1.046 GB, free: 14.32 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/1.082, allocations: 0 / 1.046 GB, free: 14.32 MB / 0.6667 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001224/1.083, allocations: 457.1 kB / 1.047 GB, free: 13.96 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 5.273e-05/1.083, allocations: 37.45 kB / 1.047 GB, free: 13.92 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/1.083, allocations: 4.375 kB / 1.047 GB, free: 13.92 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.636e-05/1.083, allocations: 8 kB / 1.047 GB, free: 13.91 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006646/1.084, allocations: 82.62 kB / 1.047 GB, free: 13.83 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.995e-05/1.084, allocations: 7.938 kB / 1.047 GB, free: 13.82 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007689/1.084, allocations: 87.97 kB / 1.047 GB, free: 13.75 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.138e-05/1.085, allocations: 23.05 kB / 1.047 GB, free: 13.73 MB / 0.6667 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.0002107/1.085, allocations: 150 kB / 1.047 GB, free: 13.59 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/1.085, allocations: 39.53 kB / 1.047 GB, free: 13.55 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009591/1.086, allocations: 338.3 kB / 1.047 GB, free: 13.32 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.296e-06/1.086, allocations: 4 kB / 1.047 GB, free: 13.31 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/1.086, allocations: 0 / 1.047 GB, free: 13.31 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.014e-06/1.086, allocations: 0 / 1.047 GB, free: 13.31 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001981/1.088, allocations: 0.9162 MB / 1.048 GB, free: 12.57 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/1.088, allocations: 0 / 1.048 GB, free: 12.57 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005491/1.089, allocations: 67.8 kB / 1.048 GB, free: 12.5 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.337e-06/1.089, allocations: 0 / 1.048 GB, free: 12.5 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.473e-05/1.089, allocations: 10.92 kB / 1.048 GB, free: 12.5 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.194e-06/1.089, allocations: 3.953 kB / 1.048 GB, free: 12.49 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/1.089, allocations: 0 / 1.048 GB, free: 12.49 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001295/1.09, allocations: 0.5704 MB / 1.049 GB, free: 12.05 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002631/1.09, allocations: 148.2 kB / 1.049 GB, free: 11.91 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.892e-05/1.09, allocations: 15.5 kB / 1.049 GB, free: 11.89 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006922/1.091, allocations: 54.89 kB / 1.049 GB, free: 11.85 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001931/1.091, allocations: 49.98 kB / 1.049 GB, free: 11.81 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.359e-05/1.091, allocations: 8 kB / 1.049 GB, free: 11.8 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0004671/1.092, allocations: 267.6 kB / 1.049 GB, free: 11.59 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.11e-07/1.092, allocations: 0 / 1.049 GB, free: 11.59 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0006331/1.092, allocations: 101.5 kB / 1.049 GB, free: 11.51 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.0002732/1.093, allocations: 131.9 kB / 1.05 GB, free: 11.38 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0009514/1.094, allocations: 366.4 kB / 1.05 GB, free: 11.1 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/1.094, allocations: 0 / 1.05 GB, free: 11.1 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.000413/1.094, allocations: 153.2 kB / 1.05 GB, free: 11 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007619/1.095, allocations: 78.83 kB / 1.05 GB, free: 10.95 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001687/1.097, allocations: 0.5353 MB / 1.051 GB, free: 10.47 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004864/1.097, allocations: 0.8435 MB / 1.051 GB, free: 9.605 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0003937/1.098, allocations: 47.39 kB / 1.052 GB, free: 9.559 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001967/1.098, allocations: 35.42 kB / 1.052 GB, free: 9.523 MB / 0.6667 GB Notification: Performance of SimCode: time 1.162e-06/1.098, allocations: 0 / 1.052 GB, free: 9.523 MB / 0.6667 GB Notification: Performance of Templates: time 0.01653/1.114, allocations: 4.802 MB / 1.056 GB, free: 4.773 MB / 0.6667 GB