Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV") translateModel(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 192.5 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.041/3.041, allocations: 472.6 MB / 0.7451 GB, free: 4.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 70.42 kB / 0.912 GB, free: 33.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3621/0.3634, allocations: 159.9 MB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV): time 0.008017/0.3714, allocations: 6.101 MB / 1.074 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.005123/0.3766, allocations: 1.92 MB / 1.076 GB, free: 2.402 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001475/0.3781, allocations: 35.88 kB / 1.076 GB, free: 2.367 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0006806/0.3788, allocations: 253.3 kB / 1.076 GB, free: 2.117 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0007201/0.3796, allocations: 210 kB / 1.076 GB, free: 1.91 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.00117/0.3807, allocations: 0.5851 MB / 1.077 GB, free: 1.324 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001724/0.3825, allocations: 1.734 MB / 1.079 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001327/0.3838, allocations: 0.9946 MB / 1.08 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007475/0.3846, allocations: 0.5913 MB / 1.08 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006206/0.3852, allocations: 0.6333 MB / 1.081 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0002409/0.3855, allocations: 200 kB / 1.081 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000225/0.3857, allocations: 200 kB / 1.081 GB, free: 12.92 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0003196/0.386, allocations: 386.7 kB / 1.082 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0006274/0.3866, allocations: 0.7305 MB / 1.082 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.002012/0.3887, allocations: 2.224 MB / 1.085 GB, free: 9.578 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 8.997e-06/0.3887, allocations: 3.938 kB / 1.085 GB, free: 9.574 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.154e-06/0.3887, allocations: 0 / 1.085 GB, free: 9.574 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 2.26e-05/0.3887, allocations: 0 / 1.085 GB, free: 9.574 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 302 * Number of variables: 302 Notification: Performance of Generate backend data structure: time 0.003193/0.3919, allocations: 1.753 MB / 1.086 GB, free: 7.762 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.337e-05/0.392, allocations: 11.97 kB / 1.086 GB, free: 7.75 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002692/0.3923, allocations: 170.9 kB / 1.086 GB, free: 7.582 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001228/0.3935, allocations: 0.8526 MB / 1.087 GB, free: 6.688 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.834e-05/0.3936, allocations: 94.75 kB / 1.087 GB, free: 6.594 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001602/0.3938, allocations: 116.4 kB / 1.087 GB, free: 6.48 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002136/0.3959, allocations: 1.217 MB / 1.089 GB, free: 5.215 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.332e-05/0.3959, allocations: 3.938 kB / 1.089 GB, free: 5.211 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.671e-05/0.3961, allocations: 52 kB / 1.089 GB, free: 5.16 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.506e-05/0.3961, allocations: 28 kB / 1.089 GB, free: 5.133 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00184/0.3979, allocations: 0.9342 MB / 1.09 GB, free: 4.191 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005484/0.4034, allocations: 4.091 MB / 1.094 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002653/0.4061, allocations: 1.163 MB / 1.095 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008032/0.4069, allocations: 474.7 kB / 1.095 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 5.385e-05/0.407, allocations: 16.62 kB / 1.095 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.26e-05/0.407, allocations: 51.09 kB / 1.095 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=75): time 3.196e-06/0.407, allocations: 0 / 1.095 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of matching and sorting (n=75): time 0.002315/0.4094, allocations: 1.039 MB / 1.096 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/0.4095, allocations: 192.6 kB / 1.097 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001285/0.4108, allocations: 1.011 MB / 1.097 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.164e-05/0.4108, allocations: 45.7 kB / 1.098 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004827/0.4113, allocations: 0.6052 MB / 1.098 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001963/0.4115, allocations: 256.3 kB / 1.098 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002272/0.4118, allocations: 158.6 kB / 1.099 GB, free: 10.87 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.4119, allocations: 337.9 kB / 1.099 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006957/0.4126, allocations: 336.6 kB / 1.099 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008181/0.4134, allocations: 0.5474 MB / 1.1 GB, free: 9.566 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001406/0.4148, allocations: 0.7906 MB / 1.1 GB, free: 8.723 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/0.4149, allocations: 4 kB / 1.1 GB, free: 8.719 MB / 0.8575 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001821/0.4167, allocations: 0.9725 MB / 1.101 GB, free: 7.738 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/0.4167, allocations: 11.94 kB / 1.101 GB, free: 7.727 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.4167, allocations: 4 kB / 1.101 GB, free: 7.723 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/0.4168, allocations: 8 kB / 1.101 GB, free: 7.715 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007054/0.4175, allocations: 195.8 kB / 1.102 GB, free: 7.523 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.551e-05/0.4175, allocations: 11.94 kB / 1.102 GB, free: 7.512 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006723/0.4182, allocations: 162.8 kB / 1.102 GB, free: 7.352 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.341e-05/0.4182, allocations: 31.98 kB / 1.102 GB, free: 7.32 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007941/0.419, allocations: 494 kB / 1.102 GB, free: 6.832 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006221/0.4197, allocations: 492.6 kB / 1.103 GB, free: 6.262 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009933/0.4207, allocations: 0.6775 MB / 1.103 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.529e-06/0.4207, allocations: 7.938 kB / 1.103 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of matching and sorting (n=105) (initialization_lambda0): time 0.001368/0.4221, allocations: 0.8473 MB / 1.104 GB, free: 4.668 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.4221, allocations: 8 kB / 1.104 GB, free: 4.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.4221, allocations: 7.938 kB / 1.104 GB, free: 4.652 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.4221, allocations: 8 kB / 1.104 GB, free: 4.645 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005713/0.4227, allocations: 168.2 kB / 1.104 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.533e-05/0.4227, allocations: 12 kB / 1.104 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006005/0.4233, allocations: 123.3 kB / 1.105 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.073e-05/0.4234, allocations: 28 kB / 1.105 GB, free: 4.32 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 11 (boxWitPreIndDam.conCoo.con1.y,boxWitPreIndDam.conHea.con1.y,boxWitExpDam.conDam.con1.y,boxWitExpDam.conCoo.con1.y,boxWitExpDam.conHea.con1.y,boxWitPreIndDam.hysWitHol.y,$PRE.boxWitPreIndDam.hysWitHol.y,boxWitExpDam.hysWitHol.y,$PRE.boxWitExpDam.hysWitHol.y,boxWitPreIndDam.greThr.y,boxWitExpDam.greThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002713/0.4237, allocations: 245.2 kB / 1.105 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001869/0.4238, allocations: 118.5 kB / 1.105 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00181/0.4257, allocations: 0.8177 MB / 1.106 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/0.4257, allocations: 8 kB / 1.106 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.4257, allocations: 3.938 kB / 1.106 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/0.4257, allocations: 7.984 kB / 1.106 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003312/0.429, allocations: 2.028 MB / 1.108 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.4291, allocations: 0 / 1.108 GB, free: 1.027 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006606/0.4297, allocations: 159.8 kB / 1.108 GB, free: 0.8711 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.488e-06/0.4297, allocations: 4 kB / 1.108 GB, free: 0.8672 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.286e-05/0.4298, allocations: 12 kB / 1.108 GB, free: 0.8555 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.896e-06/0.4298, allocations: 4 kB / 1.108 GB, free: 0.8516 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.4298, allocations: 0 / 1.108 GB, free: 0.8516 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002395/0.4322, allocations: 1.298 MB / 1.109 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002421/0.4325, allocations: 211.5 kB / 1.109 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001255/0.4326, allocations: 16 kB / 1.109 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000518/0.4331, allocations: 63.92 kB / 1.109 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001276/0.4333, allocations: 56.56 kB / 1.11 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.83e-05/0.4333, allocations: 28 kB / 1.11 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001028/0.4344, allocations: 0.6914 MB / 1.11 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.21e-07/0.4344, allocations: 0 / 1.11 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001124/0.4355, allocations: 398.2 kB / 1.111 GB, free: 14.06 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (boxWitExpDam.conHea.I.y,boxWitExpDam.conCoo.I.y,boxWitExpDam.conDam.I.y,boxWitPreIndDam.conHea.I.y,boxWitPreIndDam.conCoo.I.y) * Number of discrete variables: 2 (boxWitExpDam.hysWitHol.y,boxWitPreIndDam.hysWitHol.y) * Number of discrete states: 2 (boxWitPreIndDam.hysWitHol.y,boxWitExpDam.hysWitHol.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002193/0.4357, allocations: 143 kB / 1.111 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002893/0.4386, allocations: 1.197 MB / 1.112 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/0.4386, allocations: 0 / 1.112 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0007532/0.4394, allocations: 384.6 kB / 1.112 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001168/0.4406, allocations: 251.2 kB / 1.113 GB, free: 12.1 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003652/0.4442, allocations: 1.984 MB / 1.114 GB, free: 10.09 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000804/0.4451, allocations: 1.096 MB / 1.116 GB, free: 8.961 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0006038/0.4457, allocations: 132 kB / 1.116 GB, free: 8.828 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002446/0.4459, allocations: 79.41 kB / 1.116 GB, free: 8.75 MB / 0.8731 GB Notification: Performance of SimCode: time 1.132e-06/0.4459, allocations: 7.938 kB / 1.116 GB, free: 8.742 MB / 0.8731 GB Notification: Performance of Templates: time 0.02313/0.4691, allocations: 11.68 MB / 1.127 GB, free: 13.18 MB / 0.8887 GB make -j1 -f Buildings_1.6_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.makefile (rm -f Buildings_1.6_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe ; mkfifo Buildings_1.6_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe >> ../files/Buildings_1.6_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.sim & ./Buildings_1.6_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe 2>&1)