Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature,fileNamePrefix="Buildings_8_0_0_Buildings_Examples_VAVReheat_Controls_Examples_SupplyAirTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.449/2.449, allocations: 284.9 MB / 292.4 MB, free: 10.56 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.001486/0.001485, allocations: 184.9 kB / 360.6 MB, free: 7.262 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.056/2.056, allocations: 205.2 MB / 0.6191 GB, free: 12.19 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.001121/0.00112, allocations: 97.27 kB / 0.7321 GB, free: 44.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.611e-05/2.626e-05, allocations: 4 kB / 0.8509 GB, free: 3.316 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8389/0.8389, allocations: 115.3 MB / 0.9634 GB, free: 78.62 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.243/1.082, allocations: 141.1 MB / 1.101 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003242/1.082, allocations: 80.48 kB / 1.101 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.0318/1.114, allocations: 7.383 MB / 1.109 GB, free: 7.91 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.966e-06/1.114, allocations: 4 kB / 1.109 GB, free: 7.906 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.13e-05/1.114, allocations: 15.98 kB / 1.109 GB, free: 7.891 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.001704/1.116, allocations: 0.6777 MB / 1.109 GB, free: 7.164 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.975e-05/1.116, allocations: 8.031 kB / 1.109 GB, free: 7.156 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002679/1.116, allocations: 58.7 kB / 1.109 GB, free: 7.102 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00115/1.118, allocations: 391.2 kB / 1.11 GB, free: 6.684 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.146e-05/1.118, allocations: 16 kB / 1.11 GB, free: 6.668 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001155/1.118, allocations: 28 kB / 1.11 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008841/1.119, allocations: 270.6 kB / 1.11 GB, free: 6.375 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009914/1.12, allocations: 364.3 kB / 1.11 GB, free: 6.004 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.744e-05/1.12, allocations: 3.984 kB / 1.11 GB, free: 6 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.637e-05/1.12, allocations: 0 / 1.11 GB, free: 6 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2e-05/1.12, allocations: 12 kB / 1.11 GB, free: 5.988 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003531/1.123, allocations: 1.258 MB / 1.112 GB, free: 4.684 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008489/1.124, allocations: 263.4 kB / 1.112 GB, free: 4.414 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002861/1.125, allocations: 113.3 kB / 1.112 GB, free: 4.301 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 7.035e-05/1.125, allocations: 4.891 kB / 1.112 GB, free: 4.297 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004795/1.125, allocations: 195.7 kB / 1.112 GB, free: 4.082 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=30): time 3.436e-06/1.125, allocations: 0 / 1.112 GB, free: 4.082 MB / 0.7136 GB Notification: Performance of matching and sorting (n=30): time 0.0007998/1.126, allocations: 253.7 kB / 1.112 GB, free: 3.828 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001104/1.126, allocations: 166.2 kB / 1.112 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004404/1.127, allocations: 254.3 kB / 1.113 GB, free: 3.371 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.475e-05/1.127, allocations: 25.7 kB / 1.113 GB, free: 3.34 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002592/1.127, allocations: 241.5 kB / 1.113 GB, free: 3.102 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001192/1.127, allocations: 86.72 kB / 1.113 GB, free: 3.016 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.605e-05/1.127, allocations: 0 / 1.113 GB, free: 3.016 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001643/1.127, allocations: 342.8 kB / 1.113 GB, free: 2.672 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003274/1.128, allocations: 105.2 kB / 1.113 GB, free: 2.57 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003946/1.128, allocations: 167.1 kB / 1.114 GB, free: 2.379 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006154/1.129, allocations: 128.2 kB / 1.114 GB, free: 2.254 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/1.129, allocations: 0 / 1.114 GB, free: 2.254 MB / 0.7136 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001168/1.13, allocations: 341.8 kB / 1.114 GB, free: 1.918 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001887/1.13, allocations: 311.1 kB / 1.114 GB, free: 1.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/1.13, allocations: 0 / 1.114 GB, free: 1.59 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.932e-05/1.13, allocations: 4 kB / 1.114 GB, free: 1.586 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005301/1.131, allocations: 63.97 kB / 1.114 GB, free: 1.523 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/1.131, allocations: 3.938 kB / 1.114 GB, free: 1.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006861/1.132, allocations: 81.94 kB / 1.115 GB, free: 1.441 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.676e-05/1.132, allocations: 14.81 kB / 1.115 GB, free: 1.43 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/1.132, allocations: 4 kB / 1.115 GB, free: 1.426 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009945/1.133, allocations: 279 kB / 1.115 GB, free: 1.156 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/1.133, allocations: 4 kB / 1.115 GB, free: 1.152 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.814e-06/1.133, allocations: 3.938 kB / 1.115 GB, free: 1.148 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004535/1.133, allocations: 51.98 kB / 1.115 GB, free: 1.098 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.739e-06/1.133, allocations: 7.891 kB / 1.115 GB, free: 1.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006223/1.134, allocations: 63.86 kB / 1.115 GB, free: 1.027 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.097e-05/1.134, allocations: 15.98 kB / 1.115 GB, free: 1.012 MB / 0.7136 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.0001767/1.134, allocations: 116.7 kB / 1.115 GB, free: 0.8906 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006193/1.135, allocations: 245.8 kB / 1.115 GB, free: 0.6445 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.47e-05/1.135, allocations: 31.62 kB / 1.115 GB, free: 0.6133 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007868/1.136, allocations: 284.9 kB / 1.116 GB, free: 332 kB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/1.136, allocations: 4 kB / 1.116 GB, free: 328 kB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/1.136, allocations: 0 / 1.116 GB, free: 328 kB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/1.136, allocations: 3.984 kB / 1.116 GB, free: 324 kB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001482/1.137, allocations: 0.7671 MB / 1.116 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.972e-06/1.137, allocations: 0 / 1.116 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005164/1.138, allocations: 59.86 kB / 1.116 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.418e-06/1.138, allocations: 0 / 1.116 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.227e-05/1.138, allocations: 5.438 kB / 1.116 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.274e-06/1.138, allocations: 4 kB / 1.116 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/1.138, allocations: 0 / 1.116 GB, free: 15.43 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001103/1.139, allocations: 0.5348 MB / 1.117 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001255/1.139, allocations: 112.7 kB / 1.117 GB, free: 14.72 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.65e-05/1.139, allocations: 8.062 kB / 1.117 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003835/1.14, allocations: 21.28 kB / 1.117 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.4e-05/1.14, allocations: 27.91 kB / 1.117 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.869e-05/1.14, allocations: 15.94 kB / 1.117 GB, free: 14.65 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003003/1.14, allocations: 194 kB / 1.117 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.8e-07/1.14, allocations: 3.938 kB / 1.117 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0009474/1.141, allocations: 163.2 kB / 1.117 GB, free: 14.3 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.00171/1.143, allocations: 1.297 MB / 1.119 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001372/1.144, allocations: 0.5446 MB / 1.119 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/1.144, allocations: 0 / 1.119 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003051/1.144, allocations: 119.9 kB / 1.119 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006627/1.145, allocations: 51.03 kB / 1.119 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00177/1.147, allocations: 0.5507 MB / 1.12 GB, free: 11.63 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004622/1.147, allocations: 0.8241 MB / 1.121 GB, free: 10.78 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.00041/1.148, allocations: 50.16 kB / 1.121 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003054/1.148, allocations: 147.4 kB / 1.121 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of SimCode: time 1.262e-06/1.148, allocations: 0 / 1.121 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05156/1.2, allocations: 7.088 MB / 1.128 GB, free: 3.664 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003418/1.2, allocations: 171.5 kB / 1.128 GB, free: 3.465 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.644/3.844, allocations: 0 / 1.128 GB, free: 3.465 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Examples_VAVReheat_Controls_Examples_SupplyAirTemperature_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Examples_VAVReheat_Controls_Examples_SupplyAirTemperature.fmu > Buildings_8.0.0_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.pipe 2>&1)