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: "" <> buildModelFMU(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV,fileNamePrefix="Buildings_8_Buildings_Examples_VAVReheat_Controls_Examples_RoomVAV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.624/1.624, allocations: 289.9 MB / 297.4 MB, free: 6.359 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.001169/0.001169, allocations: 168.9 kB / 366.7 MB, free: 1.648 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.568/1.568, allocations: 205.2 MB / 0.626 GB, free: 7.148 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.0009305/0.0009304, allocations: 87.34 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.839e-05/1.841e-05, allocations: 4 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7822/0.7823, allocations: 116.3 MB / 0.9733 GB, free: 76.16 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1909/0.9733, allocations: 142.1 MB / 1.112 GB, free: 7.977 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002234/0.9735, allocations: 79.95 kB / 1.112 GB, free: 7.898 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.02209/0.9956, allocations: 8.824 MB / 1.121 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.263e-06/0.9957, allocations: 0 / 1.121 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.593e-05/0.9957, allocations: 19.98 kB / 1.121 GB, free: 15.13 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.00117/0.9969, allocations: 0.7868 MB / 1.122 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.997, allocations: 9.906 kB / 1.122 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001312/0.9971, allocations: 77.16 kB / 1.122 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006068/0.9977, allocations: 446.9 kB / 1.122 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.443e-05/0.9978, allocations: 20 kB / 1.122 GB, free: 13.72 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.452e-05/0.9978, allocations: 32 kB / 1.122 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005993/0.9984, allocations: 334.6 kB / 1.122 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007419/0.9992, allocations: 448.6 kB / 1.123 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.9992, allocations: 0 / 1.123 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.733e-05/0.9992, allocations: 0 / 1.123 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.038e-05/0.9993, allocations: 12 kB / 1.123 GB, free: 12.9 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002399/1.002, allocations: 1.648 MB / 1.125 GB, free: 11.2 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001122/1.003, allocations: 483.3 kB / 1.125 GB, free: 10.72 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002407/1.003, allocations: 157.5 kB / 1.125 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.012e-05/1.003, allocations: 12.5 kB / 1.125 GB, free: 10.55 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000344/1.003, allocations: 226.7 kB / 1.125 GB, free: 10.31 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=37): time 1.813e-06/1.003, allocations: 0 / 1.125 GB, free: 10.31 MB / 0.7292 GB Notification: Performance of matching and sorting (n=37): time 0.0005406/1.004, allocations: 300.9 kB / 1.126 GB, free: 10.01 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.851e-05/1.004, allocations: 166.2 kB / 1.126 GB, free: 9.812 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003849/1.005, allocations: 353.1 kB / 1.126 GB, free: 9.465 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.157e-05/1.005, allocations: 28.98 kB / 1.126 GB, free: 9.434 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002137/1.005, allocations: 300.5 kB / 1.126 GB, free: 9.133 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.798e-05/1.005, allocations: 118.2 kB / 1.127 GB, free: 9.016 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.751e-05/1.005, allocations: 0 / 1.127 GB, free: 9.016 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001547/1.005, allocations: 354.8 kB / 1.127 GB, free: 8.66 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001825/1.005, allocations: 108 kB / 1.127 GB, free: 8.555 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002437/1.006, allocations: 196.8 kB / 1.127 GB, free: 8.332 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002008/1.006, allocations: 114.9 kB / 1.127 GB, free: 8.223 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/1.006, allocations: 8 kB / 1.127 GB, free: 8.215 MB / 0.7292 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005114/1.006, allocations: 346.1 kB / 1.128 GB, free: 7.871 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001657/1.006, allocations: 365.4 kB / 1.128 GB, free: 7.488 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/1.006, allocations: 224 / 1.128 GB, free: 7.488 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/1.006, allocations: 7.25 kB / 1.128 GB, free: 7.484 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003884/1.007, allocations: 87.83 kB / 1.128 GB, free: 7.398 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/1.007, allocations: 4 kB / 1.128 GB, free: 7.395 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003221/1.007, allocations: 71.64 kB / 1.128 GB, free: 7.324 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.912e-05/1.007, allocations: 15.98 kB / 1.128 GB, free: 7.309 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.005e-06/1.007, allocations: 4 kB / 1.128 GB, free: 7.305 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004056/1.008, allocations: 252.2 kB / 1.128 GB, free: 7.059 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.084e-06/1.008, allocations: 0 / 1.128 GB, free: 7.059 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.659e-06/1.008, allocations: 4 kB / 1.128 GB, free: 7.055 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003128/1.008, allocations: 79.83 kB / 1.129 GB, free: 6.977 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/1.008, allocations: 3.953 kB / 1.129 GB, free: 6.973 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002544/1.008, allocations: 51.91 kB / 1.129 GB, free: 6.922 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.26e-05/1.008, allocations: 10.5 kB / 1.129 GB, free: 6.914 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.0001258/1.008, allocations: 116.9 kB / 1.129 GB, free: 6.793 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007069/1.009, allocations: 308.7 kB / 1.129 GB, free: 6.484 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.774e-05/1.009, allocations: 43.44 kB / 1.129 GB, free: 6.441 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008614/1.01, allocations: 322.3 kB / 1.129 GB, free: 6.117 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.367e-06/1.01, allocations: 8 kB / 1.129 GB, free: 6.109 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/1.01, allocations: 0 / 1.129 GB, free: 6.109 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.595e-06/1.01, allocations: 0 / 1.129 GB, free: 6.109 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001753/1.012, allocations: 0.9746 MB / 1.13 GB, free: 5.086 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/1.012, allocations: 3.984 kB / 1.13 GB, free: 5.082 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005835/1.013, allocations: 82.17 kB / 1.13 GB, free: 5.004 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.133e-05/1.013, allocations: 7.953 kB / 1.13 GB, free: 4.996 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.62e-05/1.013, allocations: 4 kB / 1.13 GB, free: 4.992 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.482e-06/1.013, allocations: 4 kB / 1.13 GB, free: 4.988 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/1.013, allocations: 0 / 1.13 GB, free: 4.988 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001254/1.014, allocations: 0.5901 MB / 1.131 GB, free: 4.375 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001519/1.014, allocations: 124.6 kB / 1.131 GB, free: 4.234 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.029e-05/1.014, allocations: 4 kB / 1.131 GB, free: 4.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004593/1.015, allocations: 44.02 kB / 1.131 GB, free: 4.188 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/1.015, allocations: 31.95 kB / 1.131 GB, free: 4.156 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.663e-05/1.015, allocations: 15.98 kB / 1.131 GB, free: 4.141 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0004418/1.015, allocations: 263 kB / 1.131 GB, free: 3.887 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.31e-07/1.015, allocations: 0 / 1.131 GB, free: 3.887 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000937/1.016, allocations: 175 kB / 1.132 GB, free: 3.715 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.001657/1.018, allocations: 1.217 MB / 1.133 GB, free: 2.465 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001164/1.019, allocations: 450 kB / 1.133 GB, free: 2.023 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/1.019, allocations: 0 / 1.133 GB, free: 2.023 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003393/1.019, allocations: 143.9 kB / 1.133 GB, free: 1.883 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007249/1.02, allocations: 83.36 kB / 1.133 GB, free: 1.809 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002139/1.022, allocations: 0.7149 MB / 1.134 GB, free: 1.047 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006025/1.023, allocations: 0.8747 MB / 1.135 GB, free: 148 kB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0005189/1.024, allocations: 79.88 kB / 1.135 GB, free: 72 kB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004076/1.024, allocations: 191.4 kB / 1.135 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of SimCode: time 6.92e-07/1.024, allocations: 0 / 1.135 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03613/1.06, allocations: 8.74 MB / 1.144 GB, free: 7.332 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001549/1.06, allocations: 155.2 kB / 1.144 GB, free: 7.129 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.412/3.472, allocations: 0 / 1.144 GB, free: 7.129 MB / 0.7448 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Examples_VAVReheat_Controls_Examples_RoomVAV_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Examples_VAVReheat_Controls_Examples_RoomVAV.fmu > Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.pipe 2>&1)