Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.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.SupplyAirTemperature,fileNamePrefix="Buildings_8_Buildings_Examples_VAVReheat_Controls_Examples_SupplyAirTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature,fileNamePrefix="Buildings_8_Buildings_Examples_VAVReheat_Controls_Examples_SupplyAirTemperature",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.819/1.819, allocations: 292.6 MB / 307.5 MB, free: 5.215 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.001565/0.001565, allocations: 189 kB / 377.1 MB, free: 1.543 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.076/2.076, allocations: 205.4 MB / 0.6366 GB, free: 8.574 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.001141/0.001141, allocations: 86.31 kB / 0.7509 GB, free: 63.04 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004278/0.000428, allocations: 8 kB / 0.8749 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3732/0.3736, allocations: 116.3 MB / 0.9884 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.023/1.397, allocations: 143 MB / 1.128 GB, free: 32.63 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003136/1.397, allocations: 85.86 kB / 1.128 GB, free: 32.56 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.02015/1.417, allocations: 7.451 MB / 1.135 GB, free: 27.55 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.338e-06/1.417, allocations: 0.5625 kB / 1.135 GB, free: 27.55 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.244e-05/1.417, allocations: 8.844 kB / 1.135 GB, free: 27.55 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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.00129/1.419, allocations: 0.7397 MB / 1.136 GB, free: 26.81 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.197e-05/1.419, allocations: 12.02 kB / 1.136 GB, free: 26.8 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001312/1.419, allocations: 84.64 kB / 1.136 GB, free: 26.72 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001166/1.419, allocations: 54.11 kB / 1.136 GB, free: 26.67 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007452/1.42, allocations: 382.7 kB / 1.137 GB, free: 26.3 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.198e-05/1.42, allocations: 34.61 kB / 1.137 GB, free: 26.27 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.49e-05/1.42, allocations: 47.44 kB / 1.137 GB, free: 26.23 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009069/1.421, allocations: 436.9 kB / 1.137 GB, free: 25.85 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/1.421, allocations: 0.5625 kB / 1.137 GB, free: 25.85 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.426e-05/1.421, allocations: 20.8 kB / 1.137 GB, free: 25.83 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.727e-05/1.421, allocations: 12.52 kB / 1.137 GB, free: 25.82 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006481/1.421, allocations: 331.6 kB / 1.138 GB, free: 25.53 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00271/1.424, allocations: 1.381 MB / 1.139 GB, free: 24.37 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008045/1.425, allocations: 304.8 kB / 1.139 GB, free: 24.09 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.593e-05/1.425, allocations: 4.938 kB / 1.139 GB, free: 24.08 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000573/1.426, allocations: 225.4 kB / 1.139 GB, free: 23.88 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=30): time 3.286e-06/1.426, allocations: 0 / 1.139 GB, free: 23.88 MB / 0.7292 GB Notification: Performance of matching and sorting (n=30): time 0.000957/1.427, allocations: 414 kB / 1.14 GB, free: 23.5 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/1.427, allocations: 159.9 kB / 1.14 GB, free: 23.3 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000495/1.427, allocations: 362.6 kB / 1.14 GB, free: 22.98 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.317e-05/1.427, allocations: 37.7 kB / 1.14 GB, free: 22.94 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001946/1.428, allocations: 229.8 kB / 1.141 GB, free: 22.73 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 9.636e-05/1.428, allocations: 98.41 kB / 1.141 GB, free: 22.64 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.318e-05/1.428, allocations: 8 kB / 1.141 GB, free: 22.63 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001617/1.428, allocations: 352 kB / 1.141 GB, free: 22.29 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003134/1.428, allocations: 128 kB / 1.141 GB, free: 22.18 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003425/1.429, allocations: 200.1 kB / 1.141 GB, free: 21.98 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000325/1.429, allocations: 170 kB / 1.141 GB, free: 21.82 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.88e-06/1.429, allocations: 4 kB / 1.141 GB, free: 21.81 MB / 0.7292 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0008241/1.43, allocations: 429.9 kB / 1.142 GB, free: 21.41 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001622/1.43, allocations: 308.5 kB / 1.142 GB, free: 21.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/1.43, allocations: 1.562 kB / 1.142 GB, free: 21.09 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.192e-05/1.43, allocations: 4 kB / 1.142 GB, free: 21.09 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002993/1.43, allocations: 56.19 kB / 1.142 GB, free: 21.04 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/1.43, allocations: 0.6094 kB / 1.142 GB, free: 21.04 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004192/1.431, allocations: 92.86 kB / 1.142 GB, free: 20.96 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.8e-05/1.431, allocations: 11 kB / 1.142 GB, free: 20.95 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/1.431, allocations: 8 kB / 1.142 GB, free: 20.95 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006234/1.431, allocations: 357.9 kB / 1.143 GB, free: 20.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.244e-06/1.431, allocations: 0 / 1.143 GB, free: 20.62 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.007e-06/1.431, allocations: 4 kB / 1.143 GB, free: 20.61 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002236/1.432, allocations: 50.78 kB / 1.143 GB, free: 20.57 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/1.432, allocations: 7.953 kB / 1.143 GB, free: 20.56 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003445/1.432, allocations: 84.02 kB / 1.143 GB, free: 20.49 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.181e-05/1.432, allocations: 14.88 kB / 1.143 GB, free: 20.48 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,$whenCondition3,$PRE.uEna.y,uEna.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 1 * 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.0002887/1.432, allocations: 242.9 kB / 1.143 GB, free: 20.23 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.606e-05/1.432, allocations: 48.23 kB / 1.143 GB, free: 20.19 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000747/1.433, allocations: 352.8 kB / 1.143 GB, free: 19.88 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/1.433, allocations: 4 kB / 1.143 GB, free: 19.87 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/1.433, allocations: 3.953 kB / 1.143 GB, free: 19.87 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.262e-05/1.433, allocations: 5.922 kB / 1.143 GB, free: 19.86 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001431/1.435, allocations: 0.8856 MB / 1.144 GB, free: 19.04 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/1.435, allocations: 1.031 kB / 1.144 GB, free: 19.04 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003615/1.435, allocations: 60.61 kB / 1.144 GB, free: 18.99 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.336e-06/1.435, allocations: 10.44 kB / 1.144 GB, free: 18.98 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.465e-05/1.435, allocations: 9.688 kB / 1.144 GB, free: 18.98 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/1.435, allocations: 3.938 kB / 1.144 GB, free: 18.97 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/1.435, allocations: 4.609 kB / 1.144 GB, free: 18.97 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001011/1.436, allocations: 0.6056 MB / 1.145 GB, free: 18.36 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000117/1.436, allocations: 125.9 kB / 1.145 GB, free: 18.22 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.37e-05/1.436, allocations: 12.66 kB / 1.145 GB, free: 18.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002254/1.437, allocations: 20.92 kB / 1.145 GB, free: 18.19 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.845e-05/1.437, allocations: 24.42 kB / 1.145 GB, free: 18.18 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-05/1.437, allocations: 13.45 kB / 1.145 GB, free: 18.16 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.000395/1.437, allocations: 295.1 kB / 1.145 GB, free: 17.91 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/1.437, allocations: 0 / 1.145 GB, free: 17.91 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0006139/1.438, allocations: 164.4 kB / 1.146 GB, free: 17.75 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (conTSup.con.I.y) * Number of discrete variables: 4 ($whenCondition3,$whenCondition1,$whenCondition2,uEna.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001235/1.439, allocations: 1.388 MB / 1.147 GB, free: 16.36 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001024/1.44, allocations: 0.5954 MB / 1.148 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/1.44, allocations: 320 / 1.148 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002627/1.44, allocations: 150.3 kB / 1.148 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004595/1.441, allocations: 56.3 kB / 1.148 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001792/1.443, allocations: 1.47 MB / 1.149 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003687/1.443, allocations: 0.8225 MB / 1.15 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002141/1.443, allocations: 49.41 kB / 1.15 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002157/1.443, allocations: 150 kB / 1.15 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of SimCode: time 3.4e-07/1.443, allocations: 0 / 1.15 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02582/1.469, allocations: 8.187 MB / 1.158 GB, free: 8.516 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001835/1.469, allocations: 193 kB / 1.158 GB, free: 8.277 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.53/4, allocations: 4 kB / 1.158 GB, free: 8.273 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.pipe ; mkfifo Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.pipe >> ../files/Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Examples_VAVReheat_Controls_Examples_SupplyAirTemperature_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Examples_VAVReheat_Controls_Examples_SupplyAirTemperature.fmu > Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.pipe 2>&1)