Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.875/4.875, allocations: 0.5623 GB / 0.5775 GB, free: 3.379 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002556/0.002556, allocations: 356.5 kB / 0.6446 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.389/4.389, allocations: 410.7 MB / 1.113 GB, free: 6.035 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001825/0.001825, allocations: 182.8 kB / 1.226 GB, free: 6.199 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0006807/0.0006808, allocations: 12 kB / 1.349 GB, free: 8.324 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7496/0.7503, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2268/0.9772, allocations: 141.7 MB / 1.6 GB, free: 142.5 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003344/0.9776, allocations: 83.94 kB / 1.6 GB, free: 142.4 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.03239/1.01, allocations: 8.906 MB / 1.609 GB, free: 133.6 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.984e-06/1.01, allocations: 1.438 kB / 1.609 GB, free: 133.6 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.565e-05/1.01, allocations: 12 kB / 1.609 GB, free: 133.6 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001996/1.012, allocations: 0.8705 MB / 1.609 GB, free: 132.7 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/1.012, allocations: 11.62 kB / 1.609 GB, free: 132.7 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001858/1.012, allocations: 71.16 kB / 1.609 GB, free: 132.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007606/1.013, allocations: 452.7 kB / 1.61 GB, free: 132.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.41e-05/1.013, allocations: 41.31 kB / 1.61 GB, free: 132.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001124/1.013, allocations: 56.44 kB / 1.61 GB, free: 132 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001525/1.015, allocations: 0.5693 MB / 1.611 GB, free: 131.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.515e-05/1.015, allocations: 1.406 kB / 1.611 GB, free: 131.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.471e-05/1.015, allocations: 24 kB / 1.611 GB, free: 131.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.373e-05/1.015, allocations: 12 kB / 1.611 GB, free: 131.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001525/1.017, allocations: 467.7 kB / 1.611 GB, free: 131 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003636/1.02, allocations: 1.78 MB / 1.613 GB, free: 129.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002595/1.023, allocations: 0.609 MB / 1.613 GB, free: 128.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006986/1.024, allocations: 219.7 kB / 1.614 GB, free: 128.3 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 5.101e-05/1.024, allocations: 13.8 kB / 1.614 GB, free: 128.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008237/1.024, allocations: 284 kB / 1.614 GB, free: 128 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=37): time 2.735e-06/1.024, allocations: 0 / 1.614 GB, free: 128 MB / 0.8542 GB Notification: Performance of matching and sorting (n=37): time 0.002081/1.027, allocations: 0.5847 MB / 1.614 GB, free: 127.4 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.026e-05/1.027, allocations: 166.2 kB / 1.615 GB, free: 127.2 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008606/1.028, allocations: 0.5263 MB / 1.615 GB, free: 126.7 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 7.378e-05/1.028, allocations: 38.8 kB / 1.615 GB, free: 126.7 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002417/1.028, allocations: 288.5 kB / 1.615 GB, free: 126.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001143/1.028, allocations: 119 kB / 1.616 GB, free: 126.3 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-05/1.028, allocations: 4 kB / 1.616 GB, free: 126.3 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001056/1.028, allocations: 367.3 kB / 1.616 GB, free: 125.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006198/1.029, allocations: 171.4 kB / 1.616 GB, free: 125.7 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007042/1.03, allocations: 254.1 kB / 1.616 GB, free: 125.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006347/1.03, allocations: 178.9 kB / 1.616 GB, free: 125.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/1.03, allocations: 0 / 1.616 GB, free: 125.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001535/1.032, allocations: 488.5 kB / 1.617 GB, free: 124.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.97e-05/1.032, allocations: 119.2 kB / 1.617 GB, free: 124.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/1.032, allocations: 4 kB / 1.617 GB, free: 124.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.534e-05/1.032, allocations: 0 / 1.617 GB, free: 124.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006688/1.033, allocations: 90.58 kB / 1.617 GB, free: 124.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/1.033, allocations: 0 / 1.617 GB, free: 124.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006302/1.033, allocations: 94.12 kB / 1.617 GB, free: 124.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.928e-05/1.033, allocations: 12 kB / 1.617 GB, free: 124.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.047e-06/1.033, allocations: 7.938 kB / 1.617 GB, free: 124.5 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001005/1.034, allocations: 339 kB / 1.618 GB, free: 124.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/1.034, allocations: 4 kB / 1.618 GB, free: 124.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.995e-06/1.034, allocations: 4.75 kB / 1.618 GB, free: 124.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005479/1.035, allocations: 75.84 kB / 1.618 GB, free: 124.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/1.035, allocations: 3.156 kB / 1.618 GB, free: 124.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005228/1.035, allocations: 67.64 kB / 1.618 GB, free: 124 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.4e-05/1.035, allocations: 13.5 kB / 1.618 GB, free: 124 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,$PRE.vavBoxCon.hysWitHol.y,vavBoxCon.hysWitHol.y,vavBoxCon.assMes.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * 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.0003939/1.036, allocations: 269 kB / 1.618 GB, free: 123.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/1.036, allocations: 62.94 kB / 1.618 GB, free: 123.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001483/1.038, allocations: 465 kB / 1.618 GB, free: 123.2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/1.038, allocations: 5.641 kB / 1.618 GB, free: 123.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/1.038, allocations: 0 / 1.618 GB, free: 123.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.675e-06/1.038, allocations: 0.7188 kB / 1.618 GB, free: 123.2 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002198/1.04, allocations: 1.175 MB / 1.62 GB, free: 122 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/1.04, allocations: 7.375 kB / 1.62 GB, free: 122 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006479/1.04, allocations: 71.95 kB / 1.62 GB, free: 121.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/1.041, allocations: 7.938 kB / 1.62 GB, free: 121.9 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.915e-05/1.041, allocations: 7.984 kB / 1.62 GB, free: 121.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.88e-06/1.041, allocations: 4 kB / 1.62 GB, free: 121.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/1.041, allocations: 0.6562 kB / 1.62 GB, free: 121.9 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002157/1.043, allocations: 0.766 MB / 1.62 GB, free: 121.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001524/1.043, allocations: 137 kB / 1.621 GB, free: 121 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.87e-05/1.043, allocations: 12 kB / 1.621 GB, free: 120.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005361/1.044, allocations: 52.14 kB / 1.621 GB, free: 120.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/1.044, allocations: 31.95 kB / 1.621 GB, free: 120.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.879e-05/1.044, allocations: 15.95 kB / 1.621 GB, free: 120.9 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0006145/1.044, allocations: 380.1 kB / 1.621 GB, free: 120.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.7e-07/1.044, allocations: 0 / 1.621 GB, free: 120.5 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0007653/1.045, allocations: 175.4 kB / 1.621 GB, free: 120.3 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (vavBoxCon.conHea.I.y,vavBoxCon.conCoo.I.y) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,vavBoxCon.hysWitHol.y,vavBoxCon.assMes.u) * Number of discrete states: 1 (vavBoxCon.hysWitHol.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001917/1.045, allocations: 120 kB / 1.621 GB, free: 120.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001868/1.047, allocations: 0.5802 MB / 1.622 GB, free: 119.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/1.047, allocations: 0 / 1.622 GB, free: 119.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0006637/1.048, allocations: 209.6 kB / 1.622 GB, free: 119.4 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009447/1.049, allocations: 111.2 kB / 1.622 GB, free: 119.3 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002197/1.051, allocations: 1.095 MB / 1.623 GB, free: 118.2 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003299/1.052, allocations: 0.8726 MB / 1.624 GB, free: 117.3 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0004499/1.052, allocations: 65.72 kB / 1.624 GB, free: 117.3 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001958/1.052, allocations: 40.64 kB / 1.624 GB, free: 117.2 MB / 0.8542 GB Notification: Performance of SimCode: time 1.182e-06/1.052, allocations: 4 kB / 1.624 GB, free: 117.2 MB / 0.8542 GB Notification: Performance of Templates: time 0.01471/1.067, allocations: 4.893 MB / 1.629 GB, free: 112.5 MB / 0.8542 GB