Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.001275/0.001275, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001562/0.001562, allocations: 194.8 kB / 16.14 MB, free: 6.66 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.505/1.505, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.211/3.211, allocations: 472.6 MB / 0.7447 GB, free: 4.945 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 62.23 kB / 0.9114 GB, free: 33.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4055/0.407, allocations: 159.9 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV): time 0.008399/0.4155, allocations: 6.057 MB / 1.073 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.005205/0.4207, allocations: 1.807 MB / 1.075 GB, free: 3.004 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002357/0.4231, allocations: 35.88 kB / 1.075 GB, free: 2.969 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.00112/0.4243, allocations: 182.3 kB / 1.075 GB, free: 2.789 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0015/0.4258, allocations: 142.9 kB / 1.076 GB, free: 2.648 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001908/0.4278, allocations: 0.5191 MB / 1.076 GB, free: 2.129 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.002633/0.4304, allocations: 1.57 MB / 1.078 GB, free: 0.5547 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001904/0.4324, allocations: 0.9711 MB / 1.079 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009012/0.4333, allocations: 473.5 kB / 1.079 GB, free: 15.07 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009665/0.4343, allocations: 0.5669 MB / 1.08 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.000485/0.4348, allocations: 76 kB / 1.08 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003378/0.4351, allocations: 80 kB / 1.08 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0003228/0.4354, allocations: 262.7 kB / 1.08 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0008445/0.4363, allocations: 0.6172 MB / 1.081 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.002098/0.4384, allocations: 2.114 MB / 1.083 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.4384, allocations: 0 / 1.083 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.497e-06/0.4385, allocations: 0 / 1.083 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.314e-05/0.4386, allocations: 3.938 kB / 1.083 GB, free: 11.34 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.004734/0.4433, allocations: 1.761 MB / 1.084 GB, free: 9.523 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.4434, allocations: 8.031 kB / 1.084 GB, free: 9.516 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004241/0.4438, allocations: 170.9 kB / 1.084 GB, free: 9.348 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001544/0.4453, allocations: 0.8526 MB / 1.085 GB, free: 8.453 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.82e-05/0.4454, allocations: 90.75 kB / 1.085 GB, free: 8.363 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002044/0.4457, allocations: 120.4 kB / 1.086 GB, free: 8.246 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00265/0.4483, allocations: 1.214 MB / 1.087 GB, free: 6.984 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.707e-05/0.4484, allocations: 3.938 kB / 1.087 GB, free: 6.98 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000102/0.4485, allocations: 52 kB / 1.087 GB, free: 6.93 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.76e-05/0.4485, allocations: 39.92 kB / 1.087 GB, free: 6.891 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002222/0.4507, allocations: 0.9342 MB / 1.088 GB, free: 5.949 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007603/0.4583, allocations: 4.087 MB / 1.092 GB, free: 1.742 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002891/0.4613, allocations: 1.159 MB / 1.093 GB, free: 0.5586 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008592/0.4622, allocations: 470.7 kB / 1.093 GB, free: 100 kB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 7.083e-05/0.4623, allocations: 12.64 kB / 1.093 GB, free: 84 kB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.794e-05/0.4623, allocations: 51.16 kB / 1.093 GB, free: 24 kB / 0.8419 GB Notification: Performance of pre-optimization done (n=75): time 3.576e-06/0.4623, allocations: 0 / 1.093 GB, free: 24 kB / 0.8419 GB Notification: Performance of matching and sorting (n=75): time 0.002604/0.4649, allocations: 1.035 MB / 1.094 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001195/0.4651, allocations: 196.6 kB / 1.095 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001639/0.4667, allocations: 1.007 MB / 1.096 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0001054/0.4668, allocations: 57.69 kB / 1.096 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005301/0.4674, allocations: 0.6013 MB / 1.096 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002378/0.4676, allocations: 260.3 kB / 1.096 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002643/0.4679, allocations: 158.5 kB / 1.097 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001241/0.468, allocations: 341.9 kB / 1.097 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007184/0.4688, allocations: 332.6 kB / 1.097 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008667/0.4696, allocations: 0.5552 MB / 1.098 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00148/0.4711, allocations: 0.7828 MB / 1.099 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.145e-06/0.4712, allocations: 4 kB / 1.099 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.002097/0.4733, allocations: 0.9765 MB / 1.099 GB, free: 9.5 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/0.4733, allocations: 11.94 kB / 1.099 GB, free: 9.488 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/0.4733, allocations: 4 kB / 1.099 GB, free: 9.484 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.497e-05/0.4733, allocations: 8 kB / 1.099 GB, free: 9.477 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007333/0.4741, allocations: 187.7 kB / 1.1 GB, free: 9.293 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.075e-05/0.4741, allocations: 15.92 kB / 1.1 GB, free: 9.277 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007837/0.4749, allocations: 162.9 kB / 1.1 GB, free: 9.117 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.459e-05/0.475, allocations: 32 kB / 1.1 GB, free: 9.086 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008703/0.4759, allocations: 486 kB / 1.1 GB, free: 8.605 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006504/0.4765, allocations: 0.4888 MB / 1.101 GB, free: 8.027 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001071/0.4776, allocations: 0.6697 MB / 1.101 GB, free: 7.305 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.865e-06/0.4776, allocations: 11.98 kB / 1.101 GB, free: 7.293 MB / 0.8575 GB Notification: Performance of matching and sorting (n=105) (initialization_lambda0): time 0.001635/0.4793, allocations: 0.8477 MB / 1.102 GB, free: 6.434 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.4793, allocations: 9.562 kB / 1.102 GB, free: 6.426 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.4793, allocations: 7.938 kB / 1.102 GB, free: 6.418 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.4793, allocations: 8 kB / 1.102 GB, free: 6.41 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005939/0.4799, allocations: 163.7 kB / 1.102 GB, free: 6.25 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.858e-05/0.48, allocations: 11.98 kB / 1.102 GB, free: 6.238 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007582/0.4807, allocations: 123.4 kB / 1.103 GB, free: 6.117 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.218e-05/0.4808, allocations: 36 kB / 1.103 GB, free: 6.082 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.0003324/0.4811, allocations: 228.7 kB / 1.103 GB, free: 5.852 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002608/0.4814, allocations: 118.5 kB / 1.103 GB, free: 5.734 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001974/0.4834, allocations: 0.8254 MB / 1.104 GB, free: 4.902 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.114e-05/0.4834, allocations: 8 kB / 1.104 GB, free: 4.895 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/0.4834, allocations: 4 kB / 1.104 GB, free: 4.891 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.888e-06/0.4834, allocations: 7.984 kB / 1.104 GB, free: 4.883 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003812/0.4873, allocations: 2.024 MB / 1.106 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/0.4873, allocations: 7.922 kB / 1.106 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006491/0.4879, allocations: 151.8 kB / 1.106 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.245e-05/0.488, allocations: 4 kB / 1.106 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.461e-05/0.488, allocations: 19.98 kB / 1.106 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.592e-06/0.4881, allocations: 4 kB / 1.106 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/0.4881, allocations: 7.984 kB / 1.106 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002511/0.4906, allocations: 1.287 MB / 1.107 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003181/0.4909, allocations: 211.5 kB / 1.107 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001538/0.4911, allocations: 19.98 kB / 1.107 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005346/0.4916, allocations: 71.92 kB / 1.108 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001701/0.4918, allocations: 52.58 kB / 1.108 GB, free: 0.9414 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.464e-05/0.4919, allocations: 23.98 kB / 1.108 GB, free: 0.918 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001215/0.4931, allocations: 0.6914 MB / 1.108 GB, free: 224 kB / 0.8575 GB Notification: Performance of sort global known variables: time 4.91e-07/0.4931, allocations: 0 / 1.108 GB, free: 224 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001492/0.4946, allocations: 398.3 kB / 1.109 GB, free: 15.82 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.0002765/0.4949, allocations: 149.6 kB / 1.109 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002735/0.4976, allocations: 1.159 MB / 1.11 GB, free: 14.52 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 9.097e-06/0.4977, allocations: 11.94 kB / 1.11 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0008294/0.4985, allocations: 375.6 kB / 1.11 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001362/0.4999, allocations: 234.1 kB / 1.111 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004634/0.5045, allocations: 2.451 MB / 1.113 GB, free: 11.43 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008736/0.5054, allocations: 1.093 MB / 1.114 GB, free: 10.3 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0007055/0.5061, allocations: 143.9 kB / 1.114 GB, free: 10.16 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003051/0.5064, allocations: 83.41 kB / 1.114 GB, free: 10.08 MB / 0.8731 GB Notification: Performance of SimCode: time 1.824e-06/0.5064, allocations: 0 / 1.114 GB, free: 10.08 MB / 0.8731 GB Notification: Performance of Templates: time 0.02478/0.5312, allocations: 11 MB / 1.125 GB, free: 15.18 MB / 0.8887 GB make -j1 -f Buildings_3.0.0_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.makefile (rm -f Buildings_3.0.0_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe ; mkfifo Buildings_3.0.0_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe >> ../files/Buildings_3.0.0_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.sim & ./Buildings_3.0.0_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe 2>&1)