Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Examples_VAVReheat_Controls_Examples_RoomVAV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Examples_VAVReheat_Controls_Examples_RoomVAV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.601/1.601, allocations: 285.4 MB / 298 MB, free: 6.004 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.001111/0.001111, allocations: 184.8 kB / 366.4 MB, free: 2.117 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.604/1.604, allocations: 205.1 MB / 0.6248 GB, free: 7.777 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.0009415/0.0009418, allocations: 95.62 kB / 0.738 GB, free: 40.31 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.379e-05/3.391e-05, allocations: 4 kB / 0.8584 GB, free: 13.03 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6946/0.6946, allocations: 115.3 MB / 0.971 GB, free: 77.95 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1989/0.8936, allocations: 141.8 MB / 1.109 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002467/0.8939, allocations: 85.95 kB / 1.11 GB, free: 9.934 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.02458/0.9185, allocations: 8.896 MB / 1.118 GB, free: 1.141 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.704e-06/0.9186, allocations: 0 / 1.118 GB, free: 1.141 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.17e-05/0.9186, allocations: 12 kB / 1.118 GB, free: 1.129 MB / 0.7136 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.001565/0.9202, allocations: 0.7946 MB / 1.119 GB, free: 292 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/0.9203, allocations: 12.02 kB / 1.119 GB, free: 280 kB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001785/0.9205, allocations: 90.52 kB / 1.119 GB, free: 180 kB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002039/0.9207, allocations: 71.16 kB / 1.119 GB, free: 108 kB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000813/0.9215, allocations: 444.7 kB / 1.12 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.595e-05/0.9216, allocations: 37.31 kB / 1.12 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.147e-05/0.9217, allocations: 52 kB / 1.12 GB, free: 15.54 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009567/0.9226, allocations: 0.5108 MB / 1.12 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.9227, allocations: 1.406 kB / 1.12 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.27e-05/0.9227, allocations: 28 kB / 1.12 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.493e-05/0.9227, allocations: 12 kB / 1.12 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007017/0.9234, allocations: 355.3 kB / 1.121 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002935/0.9264, allocations: 1.794 MB / 1.122 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001244/0.9276, allocations: 0.4933 MB / 1.123 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000287/0.928, allocations: 165.9 kB / 1.123 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.172e-05/0.928, allocations: 8 kB / 1.123 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003958/0.9284, allocations: 235.3 kB / 1.123 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=37): time 2.865e-06/0.9284, allocations: 3.938 kB / 1.123 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of matching and sorting (n=37): time 0.0006636/0.9291, allocations: 337.4 kB / 1.124 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.249e-05/0.9292, allocations: 158.2 kB / 1.124 GB, free: 11.33 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006375/0.9298, allocations: 472.9 kB / 1.124 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.812e-05/0.9299, allocations: 37.73 kB / 1.124 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002461/0.9301, allocations: 294.2 kB / 1.124 GB, free: 10.52 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001132/0.9303, allocations: 118.2 kB / 1.125 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.329e-05/0.9303, allocations: 15.94 kB / 1.125 GB, free: 10.39 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001784/0.9305, allocations: 366.8 kB / 1.125 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000217/0.9307, allocations: 108 kB / 1.125 GB, free: 9.918 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002697/0.931, allocations: 196.9 kB / 1.125 GB, free: 9.695 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002348/0.9312, allocations: 130.2 kB / 1.125 GB, free: 9.57 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.9312, allocations: 0 / 1.125 GB, free: 9.57 MB / 0.7292 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006422/0.9319, allocations: 382 kB / 1.126 GB, free: 9.191 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.000146/0.932, allocations: 360 kB / 1.126 GB, free: 8.812 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.9321, allocations: 4.094 kB / 1.126 GB, free: 8.809 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.9321, allocations: 4.219 kB / 1.126 GB, free: 8.805 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003893/0.9325, allocations: 83.88 kB / 1.126 GB, free: 8.723 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.246e-05/0.9325, allocations: 7.938 kB / 1.126 GB, free: 8.715 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003612/0.9329, allocations: 91.48 kB / 1.126 GB, free: 8.625 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.635e-05/0.9329, allocations: 8 kB / 1.126 GB, free: 8.617 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.884e-06/0.9329, allocations: 4 kB / 1.126 GB, free: 8.613 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004624/0.9334, allocations: 296 kB / 1.127 GB, free: 8.324 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.9334, allocations: 8.047 kB / 1.127 GB, free: 8.316 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.624e-06/0.9334, allocations: 10.44 kB / 1.127 GB, free: 8.312 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002988/0.9337, allocations: 67.91 kB / 1.127 GB, free: 8.246 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.407e-06/0.9337, allocations: 0 / 1.127 GB, free: 8.246 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002783/0.934, allocations: 79.55 kB / 1.127 GB, free: 8.168 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.531e-05/0.9341, allocations: 12 kB / 1.127 GB, free: 8.156 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.0001223/0.9342, allocations: 120.9 kB / 1.127 GB, free: 8.031 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.749e-05/0.9343, allocations: 59.34 kB / 1.127 GB, free: 7.973 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006538/0.9349, allocations: 374.3 kB / 1.127 GB, free: 7.602 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.762e-06/0.9349, allocations: 4 kB / 1.127 GB, free: 7.598 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.935, allocations: 4 kB / 1.127 GB, free: 7.594 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.935, allocations: 4 kB / 1.127 GB, free: 7.59 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001376/0.9364, allocations: 1.068 MB / 1.128 GB, free: 6.461 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.9364, allocations: 0 / 1.128 GB, free: 6.461 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003618/0.9367, allocations: 83.84 kB / 1.128 GB, free: 6.379 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.154e-06/0.9368, allocations: 8.031 kB / 1.128 GB, free: 6.371 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.543e-05/0.9368, allocations: 11.98 kB / 1.128 GB, free: 6.359 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.9368, allocations: 0 / 1.128 GB, free: 6.359 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.9368, allocations: 0 / 1.128 GB, free: 6.359 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008646/0.9377, allocations: 0.63 MB / 1.129 GB, free: 5.703 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001456/0.9378, allocations: 136.4 kB / 1.129 GB, free: 5.551 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.241e-05/0.9379, allocations: 12.05 kB / 1.129 GB, free: 5.539 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003238/0.9383, allocations: 51.97 kB / 1.129 GB, free: 5.488 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/0.9384, allocations: 27.95 kB / 1.129 GB, free: 5.461 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.668e-05/0.9384, allocations: 11.98 kB / 1.129 GB, free: 5.449 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0005388/0.939, allocations: 377.6 kB / 1.13 GB, free: 5.086 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.7e-07/0.939, allocations: 0 / 1.13 GB, free: 5.086 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0006707/0.9396, allocations: 179.4 kB / 1.13 GB, free: 4.91 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.001417/0.9411, allocations: 1.253 MB / 1.131 GB, free: 3.625 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0009919/0.9421, allocations: 479.5 kB / 1.131 GB, free: 3.156 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.774e-06/0.9421, allocations: 0 / 1.131 GB, free: 3.156 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002985/0.9424, allocations: 163.5 kB / 1.132 GB, free: 2.996 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007038/0.9431, allocations: 93.66 kB / 1.132 GB, free: 2.91 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002/0.9451, allocations: 0.7542 MB / 1.132 GB, free: 2.109 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005356/0.9457, allocations: 0.8795 MB / 1.133 GB, free: 1.203 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0004334/0.9461, allocations: 84.7 kB / 1.133 GB, free: 1.121 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002917/0.9464, allocations: 203.4 kB / 1.134 GB, free: 0.9219 MB / 0.7292 GB Notification: Performance of SimCode: time 4.31e-07/0.9464, allocations: 0 / 1.134 GB, free: 0.9219 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02614/0.9726, allocations: 10.62 MB / 1.144 GB, free: 6.621 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001967/0.9728, allocations: 168.8 kB / 1.144 GB, free: 6.395 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.291/3.264, allocations: 0 / 1.144 GB, free: 6.395 MB / 0.7448 GB (rm -f Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Examples_VAVReheat_Controls_Examples_RoomVAV_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Examples_VAVReheat_Controls_Examples_RoomVAV.fmu > Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe 2>&1)