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.651/4.651, allocations: 0.5623 GB / 0.5775 GB, free: 66.95 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.002688/0.002687, allocations: 359.9 kB / 0.6446 GB, free: 21.39 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 4.253/4.253, allocations: 410.7 MB / 1.113 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.001829/0.001829, allocations: 180.5 kB / 1.226 GB, free: 9.551 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004924/0.000493, allocations: 16 kB / 1.349 GB, free: 84.65 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.222/0.2225, allocations: 115.2 MB / 1.461 GB, free: 1.293 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV): time 0.6265/0.8491, allocations: 2.674 MB / 1.464 GB, free: 10.66 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002463/0.8516, allocations: 0.7715 MB / 1.465 GB, free: 10.18 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007012/0.8524, allocations: 13.31 kB / 1.465 GB, free: 10.18 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001456/0.8525, allocations: 46.78 kB / 1.465 GB, free: 10.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0006332/0.8532, allocations: 84.62 kB / 1.465 GB, free: 10.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006712/0.8539, allocations: 168.1 kB / 1.465 GB, free: 10 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001388/0.8553, allocations: 0.6407 MB / 1.466 GB, free: 9.672 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007727/0.8561, allocations: 266.4 kB / 1.466 GB, free: 9.586 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000464/0.8566, allocations: 157.1 kB / 1.466 GB, free: 9.508 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003427/0.8569, allocations: 193.4 kB / 1.466 GB, free: 9.406 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.731e-05/0.857, allocations: 15.66 kB / 1.466 GB, free: 9.406 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.572e-05/0.8571, allocations: 21.22 kB / 1.466 GB, free: 9.402 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001083/0.8572, allocations: 83.97 kB / 1.466 GB, free: 9.355 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001375/0.8574, allocations: 121.3 kB / 1.466 GB, free: 9.258 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001422/0.8588, allocations: 0.7408 MB / 1.467 GB, free: 9.129 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.8588, allocations: 0.7188 kB / 1.467 GB, free: 9.129 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.815e-06/0.8589, allocations: 0.5625 kB / 1.467 GB, free: 9.129 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.937e-05/0.8589, allocations: 0 / 1.467 GB, free: 9.129 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.002522/0.8614, allocations: 0.8686 MB / 1.468 GB, free: 8.523 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.36e-05/0.8615, allocations: 13.25 kB / 1.468 GB, free: 8.52 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000218/0.8617, allocations: 70.84 kB / 1.468 GB, free: 8.484 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001039/0.8628, allocations: 481.2 kB / 1.469 GB, free: 8.121 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.127e-05/0.8629, allocations: 39.75 kB / 1.469 GB, free: 8.102 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001373/0.863, allocations: 51.58 kB / 1.469 GB, free: 8.086 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001857/0.8649, allocations: 0.568 MB / 1.469 GB, free: 7.828 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.832e-05/0.8649, allocations: 0.6094 kB / 1.469 GB, free: 7.828 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.186e-05/0.865, allocations: 20.94 kB / 1.469 GB, free: 7.812 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.279e-05/0.8651, allocations: 12.5 kB / 1.469 GB, free: 7.812 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001753/0.8668, allocations: 456 kB / 1.47 GB, free: 7.664 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004715/0.8716, allocations: 1.873 MB / 1.471 GB, free: 6.516 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002689/0.8743, allocations: 0.5672 MB / 1.472 GB, free: 6.336 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008262/0.8752, allocations: 216.5 kB / 1.472 GB, free: 6.262 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.387e-05/0.8753, allocations: 8.688 kB / 1.472 GB, free: 6.258 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.493e-05/0.8753, allocations: 37.34 kB / 1.472 GB, free: 6.215 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=32): time 3.747e-06/0.8753, allocations: 0 / 1.472 GB, free: 6.215 MB / 0.6042 GB Notification: Performance of matching and sorting (n=32): time 0.002363/0.8777, allocations: 0.5288 MB / 1.473 GB, free: 6.016 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.566e-05/0.8778, allocations: 107.4 kB / 1.473 GB, free: 5.891 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001143/0.879, allocations: 0.5086 MB / 1.473 GB, free: 5.645 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001072/0.8791, allocations: 36.33 kB / 1.473 GB, free: 5.605 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000327/0.8794, allocations: 309.8 kB / 1.474 GB, free: 5.359 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001633/0.8796, allocations: 109.4 kB / 1.474 GB, free: 5.273 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.412e-05/0.8797, allocations: 5.438 kB / 1.474 GB, free: 5.27 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0002015/0.8799, allocations: 367.6 kB / 1.474 GB, free: 4.93 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007354/0.8806, allocations: 153.1 kB / 1.474 GB, free: 4.883 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000811/0.8815, allocations: 267 kB / 1.475 GB, free: 4.711 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007342/0.8822, allocations: 179.3 kB / 1.475 GB, free: 4.641 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.8822, allocations: 0.7188 kB / 1.475 GB, free: 4.641 MB / 0.6042 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001973/0.8842, allocations: 484.9 kB / 1.475 GB, free: 4.445 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001391/0.8844, allocations: 146.8 kB / 1.475 GB, free: 4.285 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.8844, allocations: 2.344 kB / 1.475 GB, free: 4.285 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.753e-05/0.8845, allocations: 4.453 kB / 1.475 GB, free: 4.285 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007974/0.8853, allocations: 98.97 kB / 1.475 GB, free: 4.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.7e-05/0.8853, allocations: 4.828 kB / 1.475 GB, free: 4.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007676/0.8861, allocations: 91.88 kB / 1.476 GB, free: 4.234 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.928e-05/0.8862, allocations: 14.55 kB / 1.476 GB, free: 4.23 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.8862, allocations: 4 kB / 1.476 GB, free: 4.23 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001315/0.8875, allocations: 342.1 kB / 1.476 GB, free: 4.102 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.8876, allocations: 1.906 kB / 1.476 GB, free: 4.102 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.8876, allocations: 8.188 kB / 1.476 GB, free: 4.098 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006283/0.8882, allocations: 77.53 kB / 1.476 GB, free: 4.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/0.8882, allocations: 8.031 kB / 1.476 GB, free: 4.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006116/0.8889, allocations: 71.84 kB / 1.476 GB, free: 4.059 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.08e-05/0.8889, allocations: 10.64 kB / 1.476 GB, free: 4.059 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.0005135/0.8894, allocations: 274.4 kB / 1.476 GB, free: 3.812 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001637/0.8896, allocations: 52.22 kB / 1.476 GB, free: 3.785 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001623/0.8913, allocations: 433.3 kB / 1.477 GB, free: 3.609 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.288e-05/0.8913, allocations: 5.766 kB / 1.477 GB, free: 3.605 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.8913, allocations: 0 / 1.477 GB, free: 3.605 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002503/0.8916, allocations: 138.9 kB / 1.477 GB, free: 3.469 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001143/0.8917, allocations: 6.797 kB / 1.477 GB, free: 3.465 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005361/0.8923, allocations: 51.67 kB / 1.477 GB, free: 3.453 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001182/0.8924, allocations: 27.06 kB / 1.477 GB, free: 3.449 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00181/0.8942, allocations: 0.4918 MB / 1.478 GB, free: 3.219 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002386/0.8966, allocations: 0.7621 MB / 1.478 GB, free: 2.809 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006799/0.8974, allocations: 184.1 kB / 1.478 GB, free: 2.746 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0007673/0.8982, allocations: 361.1 kB / 1.479 GB, free: 2.574 MB / 0.6042 GB Notification: Performance of Backend: time 6.21e-07/0.8982, allocations: 0 / 1.479 GB, free: 2.574 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002068/0.9003, allocations: 0.4981 MB / 1.479 GB, free: 2.363 MB / 0.6042 GB Notification: Performance of SimCode: time 0.002805/0.9031, allocations: 1.504 MB / 1.481 GB, free: 1.227 MB / 0.6042 GB Notification: Performance of Templates: time 0.02317/0.9263, allocations: 6.07 MB / 1.487 GB, free: 0.8125 MB / 0.6042 GB