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.6 MB / 293.1 MB, free: 10.24 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.001031/0.001031, allocations: 184.9 kB / 361.4 MB, free: 6.852 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.524/1.524, allocations: 205.3 MB / 0.62 GB, free: 11.61 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.0009496/0.0009489, allocations: 88.75 kB / 0.733 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.245e-05/2.244e-05, allocations: 0 / 0.8518 GB, free: 2.605 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.678/0.678, allocations: 115.3 MB / 0.9644 GB, free: 78.83 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1922/0.8703, allocations: 141.3 MB / 1.102 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002303/0.8706, allocations: 81.45 kB / 1.103 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01888/0.8895, allocations: 7.379 MB / 1.11 GB, free: 7.098 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.353e-06/0.8895, allocations: 0 / 1.11 GB, free: 7.098 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.991e-05/0.8896, allocations: 19.98 kB / 1.11 GB, free: 7.078 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.0009965/0.8906, allocations: 0.6777 MB / 1.11 GB, free: 6.352 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.8906, allocations: 11.97 kB / 1.11 GB, free: 6.34 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001031/0.8907, allocations: 52.47 kB / 1.11 GB, free: 6.289 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005808/0.8913, allocations: 391.3 kB / 1.111 GB, free: 5.867 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.99e-05/0.8914, allocations: 17.88 kB / 1.111 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.182e-05/0.8914, allocations: 37.61 kB / 1.111 GB, free: 5.816 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004741/0.8919, allocations: 270.6 kB / 1.111 GB, free: 5.551 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005868/0.8925, allocations: 356.3 kB / 1.111 GB, free: 5.188 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.8925, allocations: 0 / 1.111 GB, free: 5.188 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.094e-05/0.8926, allocations: 0 / 1.111 GB, free: 5.188 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.8926, allocations: 12 kB / 1.111 GB, free: 5.176 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001836/0.8944, allocations: 1.262 MB / 1.113 GB, free: 3.867 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000482/0.8949, allocations: 260.3 kB / 1.113 GB, free: 3.602 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001686/0.8951, allocations: 121.3 kB / 1.113 GB, free: 3.48 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.945e-05/0.8952, allocations: 240 / 1.113 GB, free: 3.48 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002885/0.8955, allocations: 199.6 kB / 1.113 GB, free: 3.262 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=30): time 1.312e-06/0.8955, allocations: 0 / 1.113 GB, free: 3.262 MB / 0.7136 GB Notification: Performance of matching and sorting (n=30): time 0.0004421/0.8959, allocations: 249.8 kB / 1.114 GB, free: 3.012 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.224e-05/0.896, allocations: 162.2 kB / 1.114 GB, free: 2.816 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002552/0.8963, allocations: 254.2 kB / 1.114 GB, free: 2.559 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.677e-05/0.8963, allocations: 29.7 kB / 1.114 GB, free: 2.523 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001541/0.8965, allocations: 236.1 kB / 1.114 GB, free: 2.289 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.858e-05/0.8965, allocations: 87.84 kB / 1.114 GB, free: 2.203 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.288e-05/0.8966, allocations: 0 / 1.114 GB, free: 2.203 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.8967, allocations: 346.8 kB / 1.115 GB, free: 1.855 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001749/0.8969, allocations: 104 kB / 1.115 GB, free: 1.754 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002139/0.8971, allocations: 176.1 kB / 1.115 GB, free: 1.555 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003242/0.8974, allocations: 128.1 kB / 1.115 GB, free: 1.43 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.8974, allocations: 4 kB / 1.115 GB, free: 1.426 MB / 0.7136 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0006061/0.8981, allocations: 342.5 kB / 1.115 GB, free: 1.086 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001355/0.8982, allocations: 306.5 kB / 1.116 GB, free: 0.7617 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.8982, allocations: 4.062 kB / 1.116 GB, free: 0.7578 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.8982, allocations: 4 kB / 1.116 GB, free: 0.7539 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002868/0.8985, allocations: 59.91 kB / 1.116 GB, free: 0.6953 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.8985, allocations: 6.906 kB / 1.116 GB, free: 0.6914 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003521/0.8989, allocations: 76.94 kB / 1.116 GB, free: 0.6172 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.535e-05/0.899, allocations: 16 kB / 1.116 GB, free: 0.6016 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.542e-06/0.899, allocations: 0 / 1.116 GB, free: 0.6016 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000523/0.8995, allocations: 281.1 kB / 1.116 GB, free: 336 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.565e-06/0.8995, allocations: 0 / 1.116 GB, free: 336 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.136e-06/0.8995, allocations: 0 / 1.116 GB, free: 336 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002258/0.8998, allocations: 59.91 kB / 1.116 GB, free: 276 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.535e-06/0.8998, allocations: 4.062 kB / 1.116 GB, free: 272 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003/0.9001, allocations: 63.75 kB / 1.116 GB, free: 208 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.981e-05/0.9001, allocations: 15.98 kB / 1.116 GB, free: 192 kB / 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.0001138/0.9002, allocations: 116.9 kB / 1.116 GB, free: 68 kB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003619/0.9006, allocations: 237.8 kB / 1.117 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.17e-05/0.9007, allocations: 35.61 kB / 1.117 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004717/0.9011, allocations: 286.4 kB / 1.117 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/0.9011, allocations: 7.953 kB / 1.117 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.9012, allocations: 0 / 1.117 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.9012, allocations: 0 / 1.117 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008832/0.9021, allocations: 0.7632 MB / 1.118 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.9021, allocations: 3.984 kB / 1.118 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002884/0.9024, allocations: 55.91 kB / 1.118 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.223e-06/0.9024, allocations: 7.953 kB / 1.118 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.051e-05/0.9024, allocations: 0 / 1.118 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.9024, allocations: 4.094 kB / 1.118 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.9024, allocations: 4 kB / 1.118 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006475/0.9031, allocations: 0.5396 MB / 1.118 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.234e-05/0.9032, allocations: 114.8 kB / 1.118 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.09e-05/0.9032, allocations: 6.062 kB / 1.118 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002046/0.9034, allocations: 15.98 kB / 1.118 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.039e-05/0.9035, allocations: 23.97 kB / 1.118 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.128e-05/0.9035, allocations: 8 kB / 1.118 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001754/0.9037, allocations: 206 kB / 1.119 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9037, allocations: 0 / 1.119 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005299/0.9043, allocations: 163.2 kB / 1.119 GB, free: 13.48 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.001006/0.9053, allocations: 1.304 MB / 1.12 GB, free: 12.13 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0007471/0.906, allocations: 0.5365 MB / 1.12 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.906, allocations: 0 / 1.12 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001702/0.9062, allocations: 123.9 kB / 1.121 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004014/0.9066, allocations: 51.59 kB / 1.121 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001125/0.9078, allocations: 0.5517 MB / 1.121 GB, free: 10.81 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003338/0.9081, allocations: 0.8202 MB / 1.122 GB, free: 9.957 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002396/0.9084, allocations: 57.97 kB / 1.122 GB, free: 9.902 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001979/0.9086, allocations: 139.4 kB / 1.122 GB, free: 9.766 MB / 0.7292 GB Notification: Performance of SimCode: time 4.51e-07/0.9086, allocations: 0 / 1.122 GB, free: 9.766 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02637/0.935, allocations: 7.108 MB / 1.129 GB, free: 2.828 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001831/0.9352, allocations: 170.7 kB / 1.129 GB, free: 2.637 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.054/2.989, allocations: 0 / 1.129 GB, free: 2.637 MB / 0.7292 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)