Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001a.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.001326/0.001326, allocations: 109.1 kB / 19.71 MB, free: 2.145 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.001523/0.001523, allocations: 213.6 kB / 23 MB, free: 4.965 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.492/1.492, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.1084/0.1084, allocations: 24.12 MB / 337.3 MB, free: 11.35 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_component_models.HeatPump_case_001a,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001a") translateModel(AES.Coursework.ThermSys_component_models.HeatPump_case_001a,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001a") [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.003368/0.003368, allocations: 75.89 kB / 475.3 MB, free: 4.98 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3759/0.3792, allocations: 59.6 MB / 0.5223 GB, free: 10.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatPump_case_001a): time 0.002925/0.3822, allocations: 2.117 MB / 0.5244 GB, free: 9.406 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002942/0.3825, allocations: 177.5 kB / 0.5246 GB, free: 9.273 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.285e-05/0.3825, allocations: 3.375 kB / 0.5246 GB, free: 9.273 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 6.659e-05/0.3826, allocations: 27.45 kB / 0.5246 GB, free: 9.258 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001256/0.3827, allocations: 62.86 kB / 0.5247 GB, free: 9.211 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001269/0.3829, allocations: 49.11 kB / 0.5247 GB, free: 9.184 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002096/0.3831, allocations: 237.7 kB / 0.5249 GB, free: 9.066 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000191/0.3833, allocations: 78.3 kB / 0.525 GB, free: 9.027 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.862e-05/0.3833, allocations: 88.39 kB / 0.5251 GB, free: 8.988 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001542/0.3835, allocations: 105.9 kB / 0.5252 GB, free: 8.934 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.779e-05/0.3835, allocations: 21.69 kB / 0.5252 GB, free: 8.934 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.242e-05/0.3836, allocations: 20.47 kB / 0.5252 GB, free: 8.934 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.119e-05/0.3836, allocations: 49.02 kB / 0.5253 GB, free: 8.898 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.691e-05/0.3837, allocations: 94.14 kB / 0.5254 GB, free: 8.852 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003171/0.384, allocations: 239.1 kB / 0.5256 GB, free: 8.766 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.384, allocations: 4.734 kB / 0.5256 GB, free: 8.762 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.384, allocations: 0 / 0.5256 GB, free: 8.762 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.106e-06/0.384, allocations: 1.125 kB / 0.5256 GB, free: 8.762 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.000624/0.3847, allocations: 424.8 kB / 0.526 GB, free: 8.406 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.3847, allocations: 10.53 kB / 0.526 GB, free: 8.406 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.111e-05/0.3848, allocations: 24.77 kB / 0.526 GB, free: 8.395 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.29e-05/0.3849, allocations: 131 kB / 0.5262 GB, free: 8.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.322e-05/0.3849, allocations: 22.28 kB / 0.5262 GB, free: 8.238 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.309e-05/0.3849, allocations: 23.81 kB / 0.5262 GB, free: 8.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003283/0.3853, allocations: 193.7 kB / 0.5264 GB, free: 8.137 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.3853, allocations: 1.438 kB / 0.5264 GB, free: 8.137 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.07e-05/0.3853, allocations: 13.12 kB / 0.5264 GB, free: 8.125 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.3853, allocations: 10.03 kB / 0.5264 GB, free: 8.121 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002588/0.3856, allocations: 145.3 kB / 0.5265 GB, free: 8.07 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007968/0.3864, allocations: 0.5193 MB / 0.5271 GB, free: 7.703 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003201/0.3867, allocations: 164.4 kB / 0.5272 GB, free: 7.629 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003111/0.387, allocations: 126.8 kB / 0.5273 GB, free: 7.59 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.938e-05/0.387, allocations: 2.719 kB / 0.5273 GB, free: 7.59 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.863e-05/0.387, allocations: 41.94 kB / 0.5274 GB, free: 7.543 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.463e-06/0.387, allocations: 0 / 0.5274 GB, free: 7.543 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.001874/0.3889, allocations: 0.5395 MB / 0.5279 GB, free: 7.387 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.608e-05/0.3889, allocations: 53.84 kB / 0.528 GB, free: 7.324 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.529e-05/0.389, allocations: 129.2 kB / 0.5281 GB, free: 7.215 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.106e-05/0.389, allocations: 26.8 kB / 0.5281 GB, free: 7.184 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.295e-05/0.3891, allocations: 154.2 kB / 0.5283 GB, free: 7.047 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.707e-05/0.3891, allocations: 78.22 kB / 0.5283 GB, free: 6.984 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.572e-05/0.3892, allocations: 38.05 kB / 0.5284 GB, free: 6.957 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.878e-05/0.3892, allocations: 330.5 kB / 0.5287 GB, free: 6.633 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.446e-05/0.3893, allocations: 41.11 kB / 0.5287 GB, free: 6.621 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001056/0.3894, allocations: 81.5 kB / 0.5288 GB, free: 6.57 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001656/0.3896, allocations: 137.1 kB / 0.5289 GB, free: 6.488 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.3896, allocations: 0 / 0.5289 GB, free: 6.488 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006816/0.3903, allocations: 337.6 kB / 0.5292 GB, free: 6.336 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.3903, allocations: 5.422 kB / 0.5293 GB, free: 6.336 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.3903, allocations: 1.156 kB / 0.5293 GB, free: 6.336 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006632/0.3909, allocations: 180.2 kB / 0.5294 GB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.272e-05/0.391, allocations: 24.8 kB / 0.5294 GB, free: 6.289 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003299/0.3943, allocations: 3.554 MB / 0.5329 GB, free: 3.207 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.645e-05/0.3944, allocations: 15.64 kB / 0.5329 GB, free: 3.195 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.3944, allocations: 5.25 kB / 0.5329 GB, free: 3.195 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,7), (1,7)} Notification: Performance of prepare postOptimizeDAE: time 8.08e-05/0.3945, allocations: 136.5 kB / 0.5331 GB, free: 3.062 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.495e-05/0.3945, allocations: 13.34 kB / 0.5331 GB, free: 3.055 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006845/0.3952, allocations: 307.4 kB / 0.5334 GB, free: 2.918 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.3952, allocations: 2.203 kB / 0.5334 GB, free: 2.918 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.3952, allocations: 0 / 0.5334 GB, free: 2.918 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.017e-05/0.3952, allocations: 25.48 kB / 0.5334 GB, free: 2.898 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.694e-05/0.3953, allocations: 5.781 kB / 0.5334 GB, free: 2.895 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.12e-05/0.3953, allocations: 1.828 kB / 0.5334 GB, free: 2.895 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.278e-05/0.3954, allocations: 25.83 kB / 0.5334 GB, free: 2.891 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007312/0.3961, allocations: 359.5 kB / 0.5338 GB, free: 2.691 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003588/0.3965, allocations: 405.9 kB / 0.5342 GB, free: 2.406 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.196e-05/0.3966, allocations: 44.02 kB / 0.5342 GB, free: 2.395 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.134e-05/0.3966, allocations: 106.5 kB / 0.5343 GB, free: 2.309 MB / 382.1 MB Notification: Performance of Backend: time 3.21e-07/0.3966, allocations: 1.031 kB / 0.5343 GB, free: 2.309 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007442/0.3973, allocations: 445 kB / 0.5347 GB, free: 1.961 MB / 382.1 MB Notification: Performance of SimCode: time 0.0006272/0.398, allocations: 0.8738 MB / 0.5356 GB, free: 1.219 MB / 382.1 MB Notification: Performance of Templates: time 0.005674/0.4036, allocations: 2.331 MB / 0.5379 GB, free: 0.957 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001a.makefile [Timeout 660] (rm -f AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001a.pipe ; mkfifo AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001a.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001a.pipe >> ../files/AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001a.sim & ./AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001a -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001a.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.878406965988688] Failed to read output from testmodel.py, exit status != 0: 0.4143918859772384 0.426109006 0.038963145000000005 Calling exit ...