Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.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.SupplyAirTemperature,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Examples_VAVReheat_Controls_Examples_SupplyAirTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.606/1.606, allocations: 285.4 MB / 298 MB, free: 5.941 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.001107/0.001107, allocations: 176.9 kB / 366.4 MB, free: 2.082 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.728/1.728, allocations: 205.1 MB / 0.6248 GB, free: 7.738 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.0009549/0.0009549, allocations: 89.83 kB / 0.738 GB, free: 40.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.366e-05/3.376e-05, allocations: 4 kB / 0.8584 GB, free: 13.01 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7253/0.7253, allocations: 115.3 MB / 0.971 GB, free: 77.75 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2044/0.9298, allocations: 142 MB / 1.11 GB, free: 9.82 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002298/0.9301, allocations: 85.17 kB / 1.11 GB, free: 9.738 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01949/0.9496, allocations: 7.431 MB / 1.117 GB, free: 2.379 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.603e-06/0.9497, allocations: 0 / 1.117 GB, free: 2.379 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.441e-05/0.9497, allocations: 15.98 kB / 1.117 GB, free: 2.363 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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001019/0.9508, allocations: 0.6822 MB / 1.118 GB, free: 1.629 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.9508, allocations: 12.03 kB / 1.118 GB, free: 1.617 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.333e-05/0.9509, allocations: 78.52 kB / 1.118 GB, free: 1.531 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.558e-05/0.951, allocations: 54.53 kB / 1.118 GB, free: 1.48 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006342/0.9517, allocations: 390.9 kB / 1.118 GB, free: 1.059 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.042e-05/0.9517, allocations: 37 kB / 1.118 GB, free: 1.023 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.034e-05/0.9518, allocations: 47.98 kB / 1.118 GB, free: 0.9766 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006873/0.9525, allocations: 410.3 kB / 1.119 GB, free: 0.5586 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.9525, allocations: 0 / 1.119 GB, free: 0.5586 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.795e-05/0.9526, allocations: 16 kB / 1.119 GB, free: 0.543 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.196e-05/0.9526, allocations: 12 kB / 1.119 GB, free: 0.5312 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004952/0.9531, allocations: 295.9 kB / 1.119 GB, free: 252 kB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002072/0.9552, allocations: 1.379 MB / 1.12 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005466/0.9557, allocations: 275.7 kB / 1.121 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002004/0.9559, allocations: 118.9 kB / 1.121 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.283e-05/0.956, allocations: 4.234 kB / 1.121 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003361/0.9563, allocations: 216.3 kB / 1.121 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=30): time 2.024e-06/0.9563, allocations: 0 / 1.121 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of matching and sorting (n=30): time 0.0005329/0.9569, allocations: 285 kB / 1.121 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/0.957, allocations: 158.2 kB / 1.121 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004126/0.9574, allocations: 358.9 kB / 1.122 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.313e-05/0.9575, allocations: 33.7 kB / 1.122 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001756/0.9577, allocations: 220.4 kB / 1.122 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.009e-05/0.9577, allocations: 98.55 kB / 1.122 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.102e-05/0.9578, allocations: 8 kB / 1.122 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.9579, allocations: 358.8 kB / 1.122 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002017/0.9581, allocations: 104 kB / 1.122 GB, free: 12.51 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002646/0.9584, allocations: 180.4 kB / 1.123 GB, free: 12.31 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002517/0.9587, allocations: 169.8 kB / 1.123 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.9587, allocations: 0 / 1.123 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006363/0.9593, allocations: 392 kB / 1.123 GB, free: 11.74 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001551/0.9595, allocations: 305.3 kB / 1.123 GB, free: 11.42 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.9595, allocations: 1.875 kB / 1.123 GB, free: 11.42 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.9595, allocations: 0 / 1.123 GB, free: 11.42 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002766/0.9598, allocations: 61.12 kB / 1.123 GB, free: 11.36 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/0.9598, allocations: 2.891 kB / 1.123 GB, free: 11.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003702/0.9602, allocations: 95.47 kB / 1.124 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.516e-05/0.9602, allocations: 12 kB / 1.124 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.614e-06/0.9603, allocations: 4 kB / 1.124 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005368/0.9608, allocations: 338.7 kB / 1.124 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.264e-06/0.9608, allocations: 0 / 1.124 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.999e-06/0.9608, allocations: 8.062 kB / 1.124 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000232/0.9611, allocations: 63.84 kB / 1.124 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.9611, allocations: 4 kB / 1.124 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003293/0.9614, allocations: 79.55 kB / 1.124 GB, free: 10.76 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.014e-05/0.9615, allocations: 16 kB / 1.124 GB, free: 10.75 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 () * 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.0001327/0.9616, allocations: 123 kB / 1.124 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.839e-05/0.9617, allocations: 43.52 kB / 1.124 GB, free: 10.58 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005882/0.9623, allocations: 322.4 kB / 1.125 GB, free: 10.26 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.9623, allocations: 4 kB / 1.125 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.946e-06/0.9623, allocations: 5.641 kB / 1.125 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.794e-06/0.9623, allocations: 7.984 kB / 1.125 GB, free: 10.24 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001056/0.9634, allocations: 0.8481 MB / 1.125 GB, free: 9.328 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.9634, allocations: 0 / 1.125 GB, free: 9.328 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002543/0.9637, allocations: 59.91 kB / 1.125 GB, free: 9.27 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.9637, allocations: 3.953 kB / 1.125 GB, free: 9.266 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.634e-05/0.9637, allocations: 12.09 kB / 1.125 GB, free: 9.254 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-06/0.9637, allocations: 7.938 kB / 1.125 GB, free: 9.246 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.9637, allocations: 0 / 1.125 GB, free: 9.246 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007378/0.9645, allocations: 0.558 MB / 1.126 GB, free: 8.645 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.897e-05/0.9646, allocations: 128.5 kB / 1.126 GB, free: 8.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.79e-05/0.9646, allocations: 8 kB / 1.126 GB, free: 8.492 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002197/0.9649, allocations: 29.34 kB / 1.126 GB, free: 8.465 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.006e-05/0.9649, allocations: 23.91 kB / 1.126 GB, free: 8.441 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.085e-05/0.965, allocations: 11.94 kB / 1.126 GB, free: 8.43 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.000297/0.9653, allocations: 299 kB / 1.126 GB, free: 8.141 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9653, allocations: 0 / 1.126 GB, free: 8.141 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005264/0.9658, allocations: 159.6 kB / 1.127 GB, free: 7.984 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 () * 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.00113/0.9669, allocations: 1.337 MB / 1.128 GB, free: 6.598 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0008779/0.9678, allocations: 0.571 MB / 1.129 GB, free: 6 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.9679, allocations: 8 kB / 1.129 GB, free: 5.992 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000199/0.9681, allocations: 128.3 kB / 1.129 GB, free: 5.867 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004328/0.9685, allocations: 66.7 kB / 1.129 GB, free: 5.805 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001218/0.9697, allocations: 0.5862 MB / 1.129 GB, free: 5.172 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003535/0.9701, allocations: 0.8166 MB / 1.13 GB, free: 4.324 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002763/0.9704, allocations: 65.22 kB / 1.13 GB, free: 4.262 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002008/0.9706, allocations: 147.4 kB / 1.13 GB, free: 4.117 MB / 0.7292 GB Notification: Performance of SimCode: time 8.02e-07/0.9706, allocations: 4 kB / 1.13 GB, free: 4.113 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0224/0.993, allocations: 8.769 MB / 1.139 GB, free: 11.67 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001795/0.9932, allocations: 182.7 kB / 1.139 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.211/3.205, allocations: 0 / 1.139 GB, free: 11.44 MB / 0.7448 GB (rm -f Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Examples_VAVReheat_Controls_Examples_SupplyAirTemperature_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Examples_VAVReheat_Controls_Examples_SupplyAirTemperature.fmu > Buildings_maint.8.0.x_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.pipe 2>&1)