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.001321/0.001321, allocations: 92.42 kB / 19.7 MB, free: 2.137 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.001482/0.001482, allocations: 211.1 kB / 22.99 MB, free: 4.953 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.602/1.602, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.1097/0.1097, allocations: 24.12 MB / 337.3 MB, free: 11.36 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.002034/0.002034, allocations: 63.91 kB / 475.3 MB, free: 4.977 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2702/0.2723, allocations: 59.59 MB / 0.5223 GB, free: 10.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_case_studies.HVAC_floor.OL_steps): time 0.001854/0.2741, allocations: 0.8298 MB / 0.5231 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002081/0.2743, allocations: 70.38 kB / 0.5232 GB, free: 10.24 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.032e-05/0.2744, allocations: 1.156 kB / 0.5232 GB, free: 10.24 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.573e-05/0.2744, allocations: 9.234 kB / 0.5232 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001081/0.2745, allocations: 32.78 kB / 0.5232 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.555e-05/0.2746, allocations: 16.5 kB / 0.5233 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000113/0.2747, allocations: 102.2 kB / 0.5233 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.681e-05/0.2748, allocations: 23.17 kB / 0.5234 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.103e-05/0.2749, allocations: 37.58 kB / 0.5234 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.119e-05/0.275, allocations: 59.66 kB / 0.5235 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.209e-05/0.275, allocations: 10.28 kB / 0.5235 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.748e-05/0.275, allocations: 9.781 kB / 0.5235 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.869e-05/0.275, allocations: 24.94 kB / 0.5235 GB, free: 10.08 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.918e-05/0.2751, allocations: 39.36 kB / 0.5235 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001232/0.2752, allocations: 89.62 kB / 0.5236 GB, free: 10.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.2752, allocations: 0.9375 kB / 0.5236 GB, free: 10.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.2752, allocations: 3.938 kB / 0.5236 GB, free: 10.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.44e-06/0.2752, allocations: 0 / 0.5236 GB, free: 10.02 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.0006122/0.2758, allocations: 359 kB / 0.524 GB, free: 9.711 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.033e-05/0.2758, allocations: 9.984 kB / 0.524 GB, free: 9.711 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.123e-05/0.2759, allocations: 9.047 kB / 0.524 GB, free: 9.707 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.276, allocations: 153.8 kB / 0.5241 GB, free: 9.555 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.276, allocations: 6.875 kB / 0.5241 GB, free: 9.551 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/0.276, allocations: 4.781 kB / 0.5242 GB, free: 9.551 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001703/0.2762, allocations: 77.55 kB / 0.5242 GB, free: 9.504 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.2762, allocations: 192 / 0.5242 GB, free: 9.504 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.2762, allocations: 7.938 kB / 0.5242 GB, free: 9.496 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.2762, allocations: 5.438 kB / 0.5242 GB, free: 9.492 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001282/0.2764, allocations: 51.73 kB / 0.5243 GB, free: 9.473 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005368/0.2769, allocations: 321.9 kB / 0.5246 GB, free: 9.215 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000115/0.277, allocations: 50.56 kB / 0.5246 GB, free: 9.176 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.169e-05/0.2771, allocations: 30.17 kB / 0.5247 GB, free: 9.156 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.47e-05/0.2771, allocations: 9.453 kB / 0.5247 GB, free: 9.148 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.454e-05/0.2771, allocations: 31.41 kB / 0.5247 GB, free: 9.109 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.2771, allocations: 1.156 kB / 0.5247 GB, free: 9.109 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002778/0.2774, allocations: 93.03 kB / 0.5248 GB, free: 9.055 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.535e-05/0.2774, allocations: 56.69 kB / 0.5249 GB, free: 8.988 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.2776, allocations: 175.1 kB / 0.525 GB, free: 8.863 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.145e-06/0.2776, allocations: 26.36 kB / 0.525 GB, free: 8.832 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.166e-05/0.2776, allocations: 113.3 kB / 0.5252 GB, free: 8.727 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.845e-05/0.2776, allocations: 20.67 kB / 0.5252 GB, free: 8.711 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.022e-05/0.2777, allocations: 27.47 kB / 0.5252 GB, free: 8.688 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.264e-05/0.2777, allocations: 328.4 kB / 0.5255 GB, free: 8.363 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.475e-05/0.2778, allocations: 29.23 kB / 0.5255 GB, free: 8.352 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.639e-05/0.2779, allocations: 55.3 kB / 0.5256 GB, free: 8.305 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001365/0.278, allocations: 89.83 kB / 0.5257 GB, free: 8.234 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.278, allocations: 0 / 0.5257 GB, free: 8.234 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002027/0.2782, allocations: 122 kB / 0.5258 GB, free: 8.164 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.2782, allocations: 6.844 kB / 0.5258 GB, free: 8.164 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.2782, allocations: 1.406 kB / 0.5258 GB, free: 8.164 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.2782, allocations: 1.281 kB / 0.5258 GB, free: 8.164 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001451/0.2784, allocations: 25.06 kB / 0.5258 GB, free: 8.164 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.2784, allocations: 3 kB / 0.5258 GB, free: 8.164 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.257e-05/0.2785, allocations: 12.41 kB / 0.5258 GB, free: 8.156 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-06/0.2785, allocations: 2.531 kB / 0.5258 GB, free: 8.156 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 5.694e-05/0.2785, allocations: 132.3 kB / 0.526 GB, free: 8.023 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.301e-05/0.2786, allocations: 7.578 kB / 0.526 GB, free: 8.02 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.979e-05/0.2786, allocations: 13.02 kB / 0.526 GB, free: 8.016 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.2786, allocations: 1.797 kB / 0.526 GB, free: 8.016 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.2786, allocations: 0 / 0.526 GB, free: 8.016 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.2786, allocations: 0.8438 kB / 0.526 GB, free: 8.016 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001291/0.2787, allocations: 142.9 kB / 0.5261 GB, free: 7.871 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.2787, allocations: 1.906 kB / 0.5261 GB, free: 7.871 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001491/0.2789, allocations: 18.5 kB / 0.5262 GB, free: 7.871 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.2789, allocations: 3.938 kB / 0.5262 GB, free: 7.867 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.2789, allocations: 9.406 kB / 0.5262 GB, free: 7.859 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.2789, allocations: 0.75 kB / 0.5262 GB, free: 7.859 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.2789, allocations: 1.344 kB / 0.5262 GB, free: 7.859 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002537/0.2792, allocations: 207.4 kB / 0.5264 GB, free: 7.691 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.608e-05/0.2792, allocations: 9.766 kB / 0.5264 GB, free: 7.688 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.061e-05/0.2792, allocations: 1.953 kB / 0.5264 GB, free: 7.688 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.2793, allocations: 6.016 kB / 0.5264 GB, free: 7.684 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.747e-05/0.2794, allocations: 7.734 kB / 0.5264 GB, free: 7.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/0.2794, allocations: 2.156 kB / 0.5264 GB, free: 7.68 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.174e-05/0.2795, allocations: 130.8 kB / 0.5265 GB, free: 7.586 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2795, allocations: 4 kB / 0.5265 GB, free: 7.582 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002455/0.2797, allocations: 21.39 kB / 0.5265 GB, free: 7.574 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 6.471e-05/0.2798, allocations: 102.2 kB / 0.5266 GB, free: 7.48 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001918/0.28, allocations: 60.12 kB / 0.5267 GB, free: 7.461 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.28, allocations: 0 / 0.5267 GB, free: 7.461 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.682e-05/0.28, allocations: 29.2 kB / 0.5267 GB, free: 7.449 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002285/0.2803, allocations: 9.953 kB / 0.5267 GB, free: 7.445 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006075/0.2809, allocations: 287.1 kB / 0.527 GB, free: 7.227 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.623e-05/0.2809, allocations: 91.62 kB / 0.5271 GB, free: 7.148 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.421e-05/0.281, allocations: 16.28 kB / 0.5271 GB, free: 7.137 MB / 382.1 MB Notification: Performance of SimCode: time 3.3e-07/0.281, allocations: 0 / 0.5271 GB, free: 7.137 MB / 382.1 MB Notification: Performance of Templates: time 0.002844/0.2838, allocations: 1.287 MB / 0.5284 GB, free: 7.062 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: 7.482348403980723] Failed to read output from testmodel.py, exit status != 0: 0.2916313970054034 0.302344698 0.024678799 Calling exit ...