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.717/4.717, allocations: 0.5623 GB / 0.5769 GB, free: 66.91 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002602/0.002601, allocations: 361.2 kB / 0.644 GB, free: 21.46 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.954/3.954, allocations: 410.8 MB / 1.112 GB, free: 109.7 MB / 0.5573 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001847/0.001847, allocations: 182 kB / 1.225 GB, free: 9.562 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004934/0.0004937, allocations: 12 kB / 1.348 GB, free: 84.7 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1739/0.1744, allocations: 115.3 MB / 1.461 GB, free: 1.336 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV): time 0.5332/0.7077, allocations: 2.669 MB / 1.463 GB, free: 10.71 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002079/0.7098, allocations: 0.7721 MB / 1.464 GB, free: 10.22 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005832/0.7105, allocations: 13.22 kB / 1.464 GB, free: 10.22 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001266/0.7106, allocations: 46.22 kB / 1.464 GB, free: 10.19 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0005301/0.7111, allocations: 91.7 kB / 1.464 GB, free: 10.13 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005278/0.7117, allocations: 158.8 kB / 1.464 GB, free: 10.05 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0009679/0.7127, allocations: 0.6435 MB / 1.465 GB, free: 9.715 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005814/0.7133, allocations: 261.7 kB / 1.465 GB, free: 9.637 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000343/0.7136, allocations: 162 kB / 1.465 GB, free: 9.555 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002718/0.7139, allocations: 195.5 kB / 1.466 GB, free: 9.449 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 8.031e-05/0.714, allocations: 15.84 kB / 1.466 GB, free: 9.449 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.543e-05/0.7141, allocations: 16.97 kB / 1.466 GB, free: 9.449 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001035/0.7142, allocations: 84.34 kB / 1.466 GB, free: 9.402 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001216/0.7143, allocations: 121.7 kB / 1.466 GB, free: 9.305 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001101/0.7154, allocations: 0.7411 MB / 1.467 GB, free: 9.176 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.409e-06/0.7155, allocations: 0 / 1.467 GB, free: 9.176 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.714e-06/0.7155, allocations: 0.6562 kB / 1.467 GB, free: 9.176 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.598e-05/0.7155, allocations: 3.938 kB / 1.467 GB, free: 9.172 MB / 0.6042 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.001787/0.7173, allocations: 0.869 MB / 1.467 GB, free: 8.566 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.7174, allocations: 10.03 kB / 1.467 GB, free: 8.566 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001866/0.7176, allocations: 70.56 kB / 1.467 GB, free: 8.531 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008824/0.7184, allocations: 481.2 kB / 1.468 GB, free: 8.172 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.972e-05/0.7185, allocations: 39.53 kB / 1.468 GB, free: 8.152 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001114/0.7187, allocations: 55.02 kB / 1.468 GB, free: 8.133 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001484/0.7201, allocations: 0.5605 MB / 1.469 GB, free: 7.883 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.103e-05/0.7202, allocations: 3.938 kB / 1.469 GB, free: 7.879 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.291e-05/0.7203, allocations: 22 kB / 1.469 GB, free: 7.863 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.969e-05/0.7203, allocations: 17.34 kB / 1.469 GB, free: 7.859 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001416/0.7217, allocations: 451.4 kB / 1.469 GB, free: 7.715 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004239/0.726, allocations: 1.878 MB / 1.471 GB, free: 6.562 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002008/0.728, allocations: 0.5597 MB / 1.471 GB, free: 6.387 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006631/0.7287, allocations: 216.9 kB / 1.472 GB, free: 6.309 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.067e-05/0.7288, allocations: 3.688 kB / 1.472 GB, free: 6.309 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.583e-05/0.7289, allocations: 41.53 kB / 1.472 GB, free: 6.262 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=32): time 4.072e-06/0.7289, allocations: 0.875 kB / 1.472 GB, free: 6.262 MB / 0.6042 GB Notification: Performance of matching and sorting (n=32): time 0.001838/0.7307, allocations: 0.5244 MB / 1.472 GB, free: 6.066 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.348e-05/0.7308, allocations: 106.6 kB / 1.472 GB, free: 5.941 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009442/0.7318, allocations: 0.5089 MB / 1.473 GB, free: 5.695 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.249e-05/0.7319, allocations: 37.19 kB / 1.473 GB, free: 5.656 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002655/0.7321, allocations: 310.1 kB / 1.473 GB, free: 5.41 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001087/0.7323, allocations: 109.4 kB / 1.473 GB, free: 5.324 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.734e-05/0.7323, allocations: 9.219 kB / 1.473 GB, free: 5.316 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.7324, allocations: 363.2 kB / 1.474 GB, free: 4.98 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005525/0.733, allocations: 161 kB / 1.474 GB, free: 4.926 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005889/0.7336, allocations: 261.1 kB / 1.474 GB, free: 4.762 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005576/0.7342, allocations: 181.9 kB / 1.474 GB, free: 4.688 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.279e-06/0.7342, allocations: 4.875 kB / 1.474 GB, free: 4.684 MB / 0.6042 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001563/0.7358, allocations: 477 kB / 1.475 GB, free: 4.496 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.896e-05/0.7359, allocations: 147.9 kB / 1.475 GB, free: 4.332 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.7359, allocations: 1.875 kB / 1.475 GB, free: 4.332 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.566e-05/0.7359, allocations: 8.5 kB / 1.475 GB, free: 4.328 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005458/0.7365, allocations: 87.81 kB / 1.475 GB, free: 4.324 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/0.7365, allocations: 3.5 kB / 1.475 GB, free: 4.324 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005477/0.7371, allocations: 97.05 kB / 1.475 GB, free: 4.285 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.574e-05/0.7371, allocations: 14.56 kB / 1.475 GB, free: 4.281 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.7372, allocations: 3.75 kB / 1.475 GB, free: 4.281 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009886/0.7381, allocations: 342 kB / 1.475 GB, free: 4.152 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.55e-06/0.7382, allocations: 1.688 kB / 1.475 GB, free: 4.152 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.7382, allocations: 3.719 kB / 1.475 GB, free: 4.152 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004302/0.7386, allocations: 86.83 kB / 1.475 GB, free: 4.137 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/0.7387, allocations: 6.906 kB / 1.475 GB, free: 4.133 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004562/0.7391, allocations: 69 kB / 1.475 GB, free: 4.105 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.747e-05/0.7392, allocations: 11.83 kB / 1.475 GB, free: 4.105 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 5 (vavBoxCon.conCoo.con1.y,vavBoxCon.conHea.con1.y,$PRE.vavBoxCon.hysWitHol.y,vavBoxCon.hysWitHol.y,vavBoxCon.greThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * 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.0004159/0.7396, allocations: 275.7 kB / 1.476 GB, free: 3.859 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001283/0.7397, allocations: 52.72 kB / 1.476 GB, free: 3.832 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001238/0.741, allocations: 428.7 kB / 1.476 GB, free: 3.66 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/0.741, allocations: 3.219 kB / 1.476 GB, free: 3.66 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.539e-06/0.741, allocations: 3.938 kB / 1.476 GB, free: 3.656 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.773e-06/0.7411, allocations: 7 kB / 1.476 GB, free: 3.652 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009726/0.742, allocations: 0.561 MB / 1.477 GB, free: 3.297 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/0.7421, allocations: 0.5312 kB / 1.477 GB, free: 3.297 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005301/0.7426, allocations: 72.98 kB / 1.477 GB, free: 3.293 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.272e-06/0.7426, allocations: 2.625 kB / 1.477 GB, free: 3.293 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.676e-05/0.7427, allocations: 7.609 kB / 1.477 GB, free: 3.289 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.97e-06/0.7427, allocations: 5.812 kB / 1.477 GB, free: 3.285 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.018e-06/0.7427, allocations: 4.5 kB / 1.477 GB, free: 3.281 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001918/0.7446, allocations: 0.6897 MB / 1.478 GB, free: 2.941 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001844/0.7449, allocations: 136.9 kB / 1.478 GB, free: 2.805 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001082/0.745, allocations: 7.078 kB / 1.478 GB, free: 2.801 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004405/0.7454, allocations: 47.22 kB / 1.478 GB, free: 2.793 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/0.7456, allocations: 31.12 kB / 1.478 GB, free: 2.785 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.824e-05/0.7456, allocations: 11.64 kB / 1.478 GB, free: 2.781 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0006187/0.7462, allocations: 361.4 kB / 1.478 GB, free: 2.609 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7.49e-07/0.7463, allocations: 0 / 1.478 GB, free: 2.609 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0008442/0.7471, allocations: 173.8 kB / 1.478 GB, free: 2.559 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (vavBoxCon.conHea.I.y,vavBoxCon.conCoo.I.y) * Number of discrete variables: 1 (vavBoxCon.hysWitHol.y) * Number of discrete states: 1 (vavBoxCon.hysWitHol.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 33 * 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.0001548/0.7473, allocations: 112.2 kB / 1.478 GB, free: 2.457 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001667/0.749, allocations: 0.5531 MB / 1.479 GB, free: 2.285 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.097e-06/0.749, allocations: 0 / 1.479 GB, free: 2.285 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005463/0.7496, allocations: 188.3 kB / 1.479 GB, free: 2.23 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009026/0.7505, allocations: 102.6 kB / 1.479 GB, free: 2.184 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002055/0.7525, allocations: 1.074 MB / 1.48 GB, free: 1.508 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004358/0.753, allocations: 0.8727 MB / 1.481 GB, free: 0.7969 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0004407/0.7535, allocations: 61.28 kB / 1.481 GB, free: 0.7812 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001628/0.7536, allocations: 43.45 kB / 1.481 GB, free: 0.7695 MB / 0.6042 GB Notification: Performance of SimCode: time 1.676e-06/0.7537, allocations: 0 / 1.481 GB, free: 0.7695 MB / 0.6042 GB Notification: Performance of Templates: time 0.016/0.7697, allocations: 4.564 MB / 1.486 GB, free: 448 kB / 0.6042 GB