Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV") translateModel(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.586/1.586, allocations: 289.9 MB / 297.4 MB, free: 6.395 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001011/0.001011, allocations: 184.8 kB / 366.7 MB, free: 1.68 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.523/1.523, allocations: 205.3 MB / 0.626 GB, free: 7.121 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008208/0.0008207, allocations: 101.9 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.362e-05/1.379e-05, allocations: 0 / 0.8597 GB, free: 13.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6169/0.6169, allocations: 116.3 MB / 0.9732 GB, free: 76.31 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2002/0.8172, allocations: 142.1 MB / 1.112 GB, free: 8.074 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002382/0.8175, allocations: 95 kB / 1.112 GB, free: 7.988 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.02263/0.8401, allocations: 8.825 MB / 1.121 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.683e-06/0.8402, allocations: 0 / 1.121 GB, free: 15.24 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.922e-05/0.8402, allocations: 16 kB / 1.121 GB, free: 15.22 MB / 0.7292 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.001613/0.8418, allocations: 0.7751 MB / 1.122 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/0.8419, allocations: 8.031 kB / 1.122 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002849/0.8422, allocations: 71.16 kB / 1.122 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009108/0.8431, allocations: 446.9 kB / 1.122 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.059e-05/0.8432, allocations: 17.41 kB / 1.122 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.168e-05/0.8433, allocations: 32 kB / 1.122 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008129/0.8441, allocations: 334.6 kB / 1.122 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009171/0.845, allocations: 449.1 kB / 1.123 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.948e-05/0.8451, allocations: 0 / 1.123 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.714e-05/0.8451, allocations: 0 / 1.123 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.978e-05/0.8451, allocations: 12 kB / 1.123 GB, free: 13.01 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003178/0.8483, allocations: 1.662 MB / 1.124 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001224/0.8496, allocations: 472 kB / 1.125 GB, free: 10.83 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002662/0.8498, allocations: 165.4 kB / 1.125 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.169e-05/0.8499, allocations: 7.859 kB / 1.125 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003966/0.8503, allocations: 227.5 kB / 1.125 GB, free: 10.42 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=37): time 1.874e-06/0.8503, allocations: 4 kB / 1.125 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of matching and sorting (n=37): time 0.0006182/0.8509, allocations: 304.8 kB / 1.126 GB, free: 10.11 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001137/0.8511, allocations: 160.2 kB / 1.126 GB, free: 9.918 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004567/0.8515, allocations: 345.2 kB / 1.126 GB, free: 9.578 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.166e-05/0.8516, allocations: 25.7 kB / 1.126 GB, free: 9.547 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002695/0.8519, allocations: 308.5 kB / 1.126 GB, free: 9.238 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001129/0.852, allocations: 118.3 kB / 1.126 GB, free: 9.121 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.678e-05/0.852, allocations: 0 / 1.126 GB, free: 9.121 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002001/0.8522, allocations: 358.7 kB / 1.127 GB, free: 8.762 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001988/0.8524, allocations: 108 kB / 1.127 GB, free: 8.656 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002676/0.8527, allocations: 188.9 kB / 1.127 GB, free: 8.441 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002281/0.8529, allocations: 122.9 kB / 1.127 GB, free: 8.324 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.624e-06/0.853, allocations: 0 / 1.127 GB, free: 8.324 MB / 0.7292 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005436/0.8535, allocations: 346.1 kB / 1.128 GB, free: 7.98 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.000191/0.8537, allocations: 365.5 kB / 1.128 GB, free: 7.598 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.8537, allocations: 0 / 1.128 GB, free: 7.598 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.8537, allocations: 4 kB / 1.128 GB, free: 7.594 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003793/0.8541, allocations: 96.09 kB / 1.128 GB, free: 7.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.507e-06/0.8542, allocations: 0 / 1.128 GB, free: 7.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003282/0.8545, allocations: 77.02 kB / 1.128 GB, free: 7.426 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.802e-05/0.8545, allocations: 8 kB / 1.128 GB, free: 7.418 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.017e-06/0.8545, allocations: 4 kB / 1.128 GB, free: 7.414 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004373/0.855, allocations: 259 kB / 1.128 GB, free: 7.164 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.955e-06/0.855, allocations: 0 / 1.128 GB, free: 7.164 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.003e-06/0.855, allocations: 4 kB / 1.128 GB, free: 7.16 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002957/0.8553, allocations: 76 kB / 1.128 GB, free: 7.086 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.8553, allocations: 3.953 kB / 1.128 GB, free: 7.082 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002754/0.8556, allocations: 51.8 kB / 1.128 GB, free: 7.031 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.531e-05/0.8556, allocations: 16 kB / 1.128 GB, free: 7.016 MB / 0.7292 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 () * 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.0001266/0.8558, allocations: 108.9 kB / 1.129 GB, free: 6.902 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.181e-05/0.8559, allocations: 47.44 kB / 1.129 GB, free: 6.855 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00057/0.8564, allocations: 318.3 kB / 1.129 GB, free: 6.535 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.8565, allocations: 4 kB / 1.129 GB, free: 6.531 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.8565, allocations: 7.891 kB / 1.129 GB, free: 6.523 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.955e-06/0.8565, allocations: 5.859 kB / 1.129 GB, free: 6.52 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001191/0.8577, allocations: 0.9707 MB / 1.13 GB, free: 5.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.8577, allocations: 4 kB / 1.13 GB, free: 5.496 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003557/0.8581, allocations: 79.89 kB / 1.13 GB, free: 5.418 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.8581, allocations: 0 / 1.13 GB, free: 5.418 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.906e-05/0.8581, allocations: 7.984 kB / 1.13 GB, free: 5.41 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.72e-06/0.8581, allocations: 7.891 kB / 1.13 GB, free: 5.402 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.8581, allocations: 4.031 kB / 1.13 GB, free: 5.398 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008339/0.859, allocations: 0.5833 MB / 1.131 GB, free: 4.789 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001034/0.8591, allocations: 124.5 kB / 1.131 GB, free: 4.648 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.489e-05/0.8592, allocations: 7.953 kB / 1.131 GB, free: 4.641 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002925/0.8595, allocations: 48.02 kB / 1.131 GB, free: 4.594 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.293e-05/0.8595, allocations: 27.95 kB / 1.131 GB, free: 4.566 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.801e-05/0.8596, allocations: 8.938 kB / 1.131 GB, free: 4.559 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002933/0.8599, allocations: 271 kB / 1.131 GB, free: 4.297 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8599, allocations: 0 / 1.131 GB, free: 4.297 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005327/0.8604, allocations: 179.1 kB / 1.131 GB, free: 4.121 MB / 0.7292 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) * 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.0001671/0.8606, allocations: 113.2 kB / 1.131 GB, free: 4.004 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0007128/0.8613, allocations: 446.6 kB / 1.132 GB, free: 3.566 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.8614, allocations: 4 kB / 1.132 GB, free: 3.562 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002235/0.8616, allocations: 147.6 kB / 1.132 GB, free: 3.418 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004912/0.8621, allocations: 84.45 kB / 1.132 GB, free: 3.344 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001211/0.8633, allocations: 0.6313 MB / 1.133 GB, free: 2.68 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004528/0.8638, allocations: 0.8748 MB / 1.133 GB, free: 1.777 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0003342/0.8641, allocations: 75.48 kB / 1.134 GB, free: 1.707 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.945e-05/0.8642, allocations: 27.44 kB / 1.134 GB, free: 1.68 MB / 0.7292 GB Notification: Performance of SimCode: time 3.1e-07/0.8642, allocations: 0 / 1.134 GB, free: 1.68 MB / 0.7292 GB Notification: Performance of Templates: time 0.009607/0.8738, allocations: 4.663 MB / 1.138 GB, free: 13.14 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.makefile (rm -f Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe ; mkfifo Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe >> ../files/Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.sim & ./Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe 2>&1)