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.862/1.862, allocations: 292.6 MB / 307.5 MB, free: 5.145 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.0021/0.002099, allocations: 188.8 kB / 377.1 MB, free: 1.496 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.077/2.077, allocations: 205.4 MB / 0.6366 GB, free: 8.586 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.001081/0.001081, allocations: 88.94 kB / 0.7509 GB, free: 62.84 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000454/0.0004541, allocations: 12 kB / 0.8749 GB, free: 11.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3515/0.352, allocations: 116.3 MB / 0.9884 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9979/1.35, allocations: 142.9 MB / 1.128 GB, free: 32.62 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002535/1.35, allocations: 87.47 kB / 1.128 GB, free: 32.55 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.02527/1.376, allocations: 8.903 MB / 1.137 GB, free: 26.62 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.545e-06/1.376, allocations: 0.7812 kB / 1.137 GB, free: 26.62 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.713e-05/1.376, allocations: 16 kB / 1.137 GB, free: 26.6 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.002382/1.378, allocations: 0.8802 MB / 1.138 GB, free: 25.76 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.518e-05/1.378, allocations: 16.02 kB / 1.138 GB, free: 25.75 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003396/1.379, allocations: 95.2 kB / 1.138 GB, free: 25.66 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003048/1.379, allocations: 73.22 kB / 1.138 GB, free: 25.59 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001064/1.38, allocations: 449.2 kB / 1.138 GB, free: 25.15 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.366e-05/1.38, allocations: 41.31 kB / 1.138 GB, free: 25.11 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001212/1.38, allocations: 58.02 kB / 1.138 GB, free: 25.06 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001372/1.381, allocations: 0.5591 MB / 1.139 GB, free: 24.57 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.243e-05/1.382, allocations: 4.938 kB / 1.139 GB, free: 24.57 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.356e-05/1.382, allocations: 20.75 kB / 1.139 GB, free: 24.55 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.587e-05/1.382, allocations: 16 kB / 1.139 GB, free: 24.54 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001202/1.383, allocations: 466.1 kB / 1.139 GB, free: 24.13 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003713/1.387, allocations: 1.783 MB / 1.141 GB, free: 22.64 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001589/1.388, allocations: 0.5863 MB / 1.142 GB, free: 22.13 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.546e-05/1.388, allocations: 5.078 kB / 1.142 GB, free: 22.12 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006845/1.389, allocations: 287.8 kB / 1.142 GB, free: 21.87 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=37): time 2.756e-06/1.389, allocations: 0 / 1.142 GB, free: 21.87 MB / 0.7292 GB Notification: Performance of matching and sorting (n=37): time 0.001514/1.39, allocations: 0.5853 MB / 1.142 GB, free: 21.34 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.749e-05/1.391, allocations: 158.8 kB / 1.143 GB, free: 21.15 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008053/1.391, allocations: 480.7 kB / 1.143 GB, free: 20.72 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.991e-05/1.391, allocations: 45.64 kB / 1.143 GB, free: 20.67 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002693/1.392, allocations: 288.7 kB / 1.143 GB, free: 20.41 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001326/1.392, allocations: 120.8 kB / 1.144 GB, free: 20.3 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.899e-05/1.392, allocations: 4 kB / 1.144 GB, free: 20.3 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001695/1.392, allocations: 365.6 kB / 1.144 GB, free: 19.95 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004214/1.392, allocations: 169.2 kB / 1.144 GB, free: 19.8 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004515/1.393, allocations: 255.7 kB / 1.144 GB, free: 19.55 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004217/1.393, allocations: 176.6 kB / 1.144 GB, free: 19.39 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/1.393, allocations: 0 / 1.144 GB, free: 19.39 MB / 0.7292 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009931/1.394, allocations: 491.3 kB / 1.145 GB, free: 18.95 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001564/1.395, allocations: 364.6 kB / 1.145 GB, free: 18.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/1.395, allocations: 0.6562 kB / 1.145 GB, free: 18.57 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.998e-05/1.395, allocations: 4.938 kB / 1.145 GB, free: 18.56 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003967/1.395, allocations: 89.72 kB / 1.145 GB, free: 18.49 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.504e-05/1.395, allocations: 4.859 kB / 1.145 GB, free: 18.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004235/1.395, allocations: 89.98 kB / 1.145 GB, free: 18.41 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.056e-05/1.396, allocations: 13.41 kB / 1.145 GB, free: 18.4 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/1.396, allocations: 4 kB / 1.145 GB, free: 18.39 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006732/1.396, allocations: 342.5 kB / 1.146 GB, free: 18.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/1.396, allocations: 4.656 kB / 1.146 GB, free: 18.08 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.803e-06/1.396, allocations: 0 / 1.146 GB, free: 18.08 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003178/1.397, allocations: 77.27 kB / 1.146 GB, free: 18.02 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.465e-06/1.397, allocations: 5.594 kB / 1.146 GB, free: 18.01 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003551/1.397, allocations: 69.28 kB / 1.146 GB, free: 17.95 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.643e-05/1.397, allocations: 12 kB / 1.146 GB, free: 17.94 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 () * Number of clocked 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.0003575/1.397, allocations: 263.6 kB / 1.146 GB, free: 17.68 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/1.397, allocations: 60.88 kB / 1.146 GB, free: 17.62 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001038/1.399, allocations: 473.2 kB / 1.147 GB, free: 17.21 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/1.399, allocations: 7.953 kB / 1.147 GB, free: 17.2 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/1.399, allocations: 0 / 1.147 GB, free: 17.2 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.328e-06/1.399, allocations: 2.391 kB / 1.147 GB, free: 17.2 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001914/1.401, allocations: 1.176 MB / 1.148 GB, free: 16.15 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/1.401, allocations: 0.7031 kB / 1.148 GB, free: 16.15 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003713/1.401, allocations: 81.53 kB / 1.148 GB, free: 16.09 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.187e-06/1.401, allocations: 4.656 kB / 1.148 GB, free: 16.08 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.491e-05/1.401, allocations: 12.78 kB / 1.148 GB, free: 16.07 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/1.401, allocations: 4.609 kB / 1.148 GB, free: 16.07 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/1.401, allocations: 1.172 kB / 1.148 GB, free: 16.07 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001441/1.402, allocations: 0.7711 MB / 1.149 GB, free: 15.33 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001606/1.403, allocations: 138.6 kB / 1.149 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.206e-05/1.403, allocations: 16.61 kB / 1.149 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003369/1.403, allocations: 52.47 kB / 1.149 GB, free: 15.13 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001276/1.403, allocations: 32.42 kB / 1.149 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.168e-05/1.403, allocations: 13.41 kB / 1.149 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.000634/1.404, allocations: 381.2 kB / 1.149 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.81e-07/1.404, allocations: 0 / 1.149 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000702/1.405, allocations: 175.9 kB / 1.149 GB, free: 14.6 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) * Number of clocked states: 0 () * 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.001782/1.406, allocations: 1.404 MB / 1.151 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.00132/1.408, allocations: 0.5758 MB / 1.151 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/1.408, allocations: 0 / 1.151 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004261/1.408, allocations: 207.2 kB / 1.152 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006404/1.409, allocations: 87.36 kB / 1.152 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006693/1.416, allocations: 3.676 MB / 1.155 GB, free: 9.016 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006088/1.416, allocations: 0.8761 MB / 1.156 GB, free: 8.191 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0004062/1.417, allocations: 67.27 kB / 1.156 GB, free: 8.148 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003578/1.417, allocations: 203.5 kB / 1.156 GB, free: 7.969 MB / 0.7292 GB Notification: Performance of SimCode: time 1.452e-06/1.417, allocations: 0 / 1.156 GB, free: 7.969 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03354/1.451, allocations: 10.01 MB / 1.166 GB, free: 272 kB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002033/1.451, allocations: 183.7 kB / 1.166 GB, free: 24 kB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.79/4.241, allocations: 8 kB / 1.166 GB, free: 16 kB / 0.7292 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)