Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_case_studies.HVAC_floor.OL_steps.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00143/0.00143, allocations: 108.9 kB / 16.46 MB, free: 6.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001908/0.001908, allocations: 216.2 kB / 19.43 MB, free: 3.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.551/1.551, allocations: 230.6 MB / 252.8 MB, free: 8.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1017/0.1017, allocations: 24.1 MB / 332.9 MB, free: 12.62 MB / 270.1 MB " [Timeout remaining time 180] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Ignoring simflag -noemit -variableFilter=.* since it seems broken on HelloWorld Running command: translateModel(AES.Coursework.ThermSys_case_studies.HVAC_floor.OL_steps,tolerance=1e-06,outputFormat="empty",numberOfIntervals=864000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_case_studies.HVAC_floor.OL_steps") translateModel(AES.Coursework.ThermSys_case_studies.HVAC_floor.OL_steps,tolerance=1e-06,outputFormat="empty",numberOfIntervals=864000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_case_studies.HVAC_floor.OL_steps") [Timeout 660] "Notification: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002045/0.002045, allocations: 63.89 kB / 469.1 MB, free: 7.848 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4656/0.4677, allocations: 59.57 MB / 0.5162 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_case_studies.HVAC_floor.OL_steps): time 0.002419/0.4701, allocations: 0.8575 MB / 0.5171 GB, free: 9.828 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003013/0.4704, allocations: 73.81 kB / 0.5171 GB, free: 9.777 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.809e-05/0.4705, allocations: 1.125 kB / 0.5171 GB, free: 9.777 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.359e-05/0.4705, allocations: 9.328 kB / 0.5171 GB, free: 9.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001571/0.4707, allocations: 29.05 kB / 0.5172 GB, free: 9.754 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001385/0.4708, allocations: 20.55 kB / 0.5172 GB, free: 9.742 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001772/0.471, allocations: 100.6 kB / 0.5173 GB, free: 9.695 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000154/0.4711, allocations: 19.33 kB / 0.5173 GB, free: 9.688 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.108e-05/0.4712, allocations: 42.12 kB / 0.5174 GB, free: 9.668 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001331/0.4714, allocations: 56.19 kB / 0.5174 GB, free: 9.641 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.317e-05/0.4714, allocations: 13.22 kB / 0.5174 GB, free: 9.637 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.596e-05/0.4714, allocations: 10.28 kB / 0.5174 GB, free: 9.637 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.699e-05/0.4715, allocations: 25.06 kB / 0.5175 GB, free: 9.621 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.78e-05/0.4715, allocations: 47.58 kB / 0.5175 GB, free: 9.586 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000205/0.4717, allocations: 87.89 kB / 0.5176 GB, free: 9.555 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.4718, allocations: 0 / 0.5176 GB, free: 9.555 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.4718, allocations: 0 / 0.5176 GB, free: 9.555 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.312e-05/0.4718, allocations: 1.125 kB / 0.5176 GB, free: 9.555 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007246/0.4725, allocations: 433.7 kB / 0.518 GB, free: 9.156 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.4725, allocations: 9.469 kB / 0.518 GB, free: 9.156 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.153e-05/0.4726, allocations: 11.19 kB / 0.518 GB, free: 9.152 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001793/0.4728, allocations: 212.1 kB / 0.5182 GB, free: 8.926 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.4728, allocations: 6.969 kB / 0.5182 GB, free: 8.922 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.75e-05/0.4728, allocations: 12.41 kB / 0.5182 GB, free: 8.914 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002017/0.473, allocations: 78.12 kB / 0.5183 GB, free: 8.867 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.473, allocations: 192 / 0.5183 GB, free: 8.867 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.613e-05/0.473, allocations: 8.844 kB / 0.5183 GB, free: 8.859 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.473, allocations: 1.156 kB / 0.5183 GB, free: 8.859 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001377/0.4732, allocations: 45.77 kB / 0.5184 GB, free: 8.844 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000694/0.4739, allocations: 398.3 kB / 0.5187 GB, free: 8.512 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000137/0.474, allocations: 51.58 kB / 0.5188 GB, free: 8.473 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.507e-05/0.4741, allocations: 25.22 kB / 0.5188 GB, free: 8.457 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.925e-05/0.4741, allocations: 1.219 kB / 0.5188 GB, free: 8.457 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/0.4741, allocations: 36.33 kB / 0.5189 GB, free: 8.414 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.4741, allocations: 4 kB / 0.5189 GB, free: 8.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003262/0.4744, allocations: 93.89 kB / 0.5189 GB, free: 8.355 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.577e-05/0.4745, allocations: 52.38 kB / 0.519 GB, free: 8.293 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000182/0.4747, allocations: 179.5 kB / 0.5192 GB, free: 8.164 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.084e-05/0.4747, allocations: 25.7 kB / 0.5192 GB, free: 8.133 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.961e-05/0.4747, allocations: 113.2 kB / 0.5193 GB, free: 8.027 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.351e-05/0.4747, allocations: 24.47 kB / 0.5193 GB, free: 8.008 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.067e-05/0.4748, allocations: 27.41 kB / 0.5193 GB, free: 7.984 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.96e-05/0.4748, allocations: 324.6 kB / 0.5197 GB, free: 7.664 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.341e-05/0.4749, allocations: 23.48 kB / 0.5197 GB, free: 7.656 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.729e-05/0.475, allocations: 61.86 kB / 0.5197 GB, free: 7.602 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001552/0.4752, allocations: 85.39 kB / 0.5198 GB, free: 7.535 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.4752, allocations: 1.406 kB / 0.5198 GB, free: 7.535 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002125/0.4754, allocations: 113.7 kB / 0.5199 GB, free: 7.473 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.4754, allocations: 5.656 kB / 0.5199 GB, free: 7.473 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.4754, allocations: 6.094 kB / 0.5199 GB, free: 7.469 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.4754, allocations: 1.844 kB / 0.5199 GB, free: 7.469 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001505/0.4756, allocations: 28.88 kB / 0.52 GB, free: 7.465 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.4756, allocations: 2.75 kB / 0.52 GB, free: 7.465 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.901e-05/0.4757, allocations: 15.62 kB / 0.52 GB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.4757, allocations: 11.84 kB / 0.52 GB, free: 7.445 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.233e-05/0.4757, allocations: 116.4 kB / 0.5201 GB, free: 7.328 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.107e-05/0.4758, allocations: 11.73 kB / 0.5201 GB, free: 7.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.56e-05/0.4758, allocations: 13.12 kB / 0.5201 GB, free: 7.312 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.4758, allocations: 5.156 kB / 0.5201 GB, free: 7.309 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.4758, allocations: 0 / 0.5201 GB, free: 7.309 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.4758, allocations: 3.938 kB / 0.5201 GB, free: 7.305 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001749/0.476, allocations: 206.5 kB / 0.5203 GB, free: 7.094 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.476, allocations: 1.281 kB / 0.5203 GB, free: 7.094 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001393/0.4761, allocations: 18.17 kB / 0.5204 GB, free: 7.094 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.4761, allocations: 0 / 0.5204 GB, free: 7.094 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.4761, allocations: 2.219 kB / 0.5204 GB, free: 7.094 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.4761, allocations: 4 kB / 0.5204 GB, free: 7.09 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.4761, allocations: 1.766 kB / 0.5204 GB, free: 7.09 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002651/0.4764, allocations: 206 kB / 0.5206 GB, free: 6.922 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.745e-05/0.4764, allocations: 90.8 kB / 0.5207 GB, free: 6.82 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.912e-05/0.4765, allocations: 1.828 kB / 0.5207 GB, free: 6.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.4766, allocations: 1.594 kB / 0.5207 GB, free: 6.82 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.648e-05/0.4766, allocations: 11.92 kB / 0.5207 GB, free: 6.812 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-06/0.4766, allocations: 5.5 kB / 0.5207 GB, free: 6.809 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001016/0.4767, allocations: 134.8 kB / 0.5208 GB, free: 6.711 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4767, allocations: 1.5 kB / 0.5208 GB, free: 6.711 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002313/0.4769, allocations: 16.56 kB / 0.5208 GB, free: 6.707 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (room.Tfloor,room.Tair,room.Twall) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.028e-05/0.477, allocations: 94.22 kB / 0.5209 GB, free: 6.621 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002318/0.4773, allocations: 60.67 kB / 0.521 GB, free: 6.602 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.4773, allocations: 0 / 0.521 GB, free: 6.602 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.99e-05/0.4773, allocations: 25.14 kB / 0.521 GB, free: 6.594 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000212/0.4775, allocations: 13.06 kB / 0.521 GB, free: 6.586 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006227/0.4782, allocations: 257.6 kB / 0.5212 GB, free: 6.402 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001658/0.4783, allocations: 0.7072 MB / 0.5219 GB, free: 5.699 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.35e-05/0.4784, allocations: 7.406 kB / 0.5219 GB, free: 5.699 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.265e-05/0.4784, allocations: 11.25 kB / 0.522 GB, free: 5.691 MB / 382.1 MB Notification: Performance of SimCode: time 3e-07/0.4784, allocations: 4 kB / 0.522 GB, free: 5.688 MB / 382.1 MB Notification: Performance of Templates: time 0.003772/0.4822, allocations: 0.9476 MB / 0.5229 GB, free: 5.59 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ThermSys_case_studies.HVAC_floor.OL_steps.makefile [Timeout 660] (rm -f AES_AES.Coursework.ThermSys_case_studies.HVAC_floor.OL_steps.pipe ; mkfifo AES_AES.Coursework.ThermSys_case_studies.HVAC_floor.OL_steps.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_case_studies.HVAC_floor.OL_steps.pipe >> ../files/AES_AES.Coursework.ThermSys_case_studies.HVAC_floor.OL_steps.sim & ./AES_AES.Coursework.ThermSys_case_studies.HVAC_floor.OL_steps -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_case_studies.HVAC_floor.OL_steps.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.860449695028365] Failed to read output from testmodel.py, exit status != 0: 0.49113655113615096 0.504892428 0.030127138 Calling exit ...