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.001166/0.001166, allocations: 100.4 kB / 19.73 MB, free: 2.078 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.001341/0.001341, allocations: 214.2 kB / 23.04 MB, free: 4.859 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.527/1.527, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.1076/0.1076, allocations: 24.13 MB / 337.4 MB, free: 11.22 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.002096/0.002096, allocations: 67.89 kB / 475.3 MB, free: 4.93 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3411/0.3432, allocations: 59.6 MB / 0.5224 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatPump_case_001a): time 0.003073/0.3463, allocations: 2.119 MB / 0.5245 GB, free: 9.469 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003093/0.3466, allocations: 169.3 kB / 0.5246 GB, free: 9.344 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.27e-05/0.3467, allocations: 7.969 kB / 0.5246 GB, free: 9.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.648e-05/0.3467, allocations: 37.08 kB / 0.5247 GB, free: 9.316 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000109/0.3468, allocations: 56.48 kB / 0.5247 GB, free: 9.273 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001259/0.347, allocations: 48.75 kB / 0.5248 GB, free: 9.246 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002261/0.3472, allocations: 239.3 kB / 0.525 GB, free: 9.129 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001989/0.3474, allocations: 69.23 kB / 0.5251 GB, free: 9.098 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.093e-05/0.3475, allocations: 91.47 kB / 0.5252 GB, free: 9.055 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001595/0.3476, allocations: 87.27 kB / 0.5252 GB, free: 9.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.611e-05/0.3477, allocations: 24.56 kB / 0.5253 GB, free: 9.016 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.965e-05/0.3477, allocations: 20.19 kB / 0.5253 GB, free: 9.016 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.41e-05/0.3478, allocations: 46.52 kB / 0.5253 GB, free: 8.984 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.877e-05/0.3478, allocations: 98.06 kB / 0.5254 GB, free: 8.934 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002746/0.3481, allocations: 247.2 kB / 0.5256 GB, free: 8.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3481, allocations: 0.75 kB / 0.5257 GB, free: 8.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.123e-06/0.3481, allocations: 0 / 0.5257 GB, free: 8.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.3481, allocations: 0 / 0.5257 GB, free: 8.84 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.0005549/0.3487, allocations: 422.4 kB / 0.5261 GB, free: 8.488 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.3487, allocations: 9.859 kB / 0.5261 GB, free: 8.488 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.428e-05/0.3488, allocations: 28.98 kB / 0.5261 GB, free: 8.473 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.03e-05/0.3489, allocations: 126.4 kB / 0.5262 GB, free: 8.332 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.201e-05/0.3489, allocations: 19.22 kB / 0.5262 GB, free: 8.324 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.892e-05/0.3489, allocations: 23.64 kB / 0.5263 GB, free: 8.316 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000345/0.3493, allocations: 201.7 kB / 0.5264 GB, free: 8.215 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.3493, allocations: 1.219 kB / 0.5264 GB, free: 8.215 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.999e-05/0.3493, allocations: 14.12 kB / 0.5265 GB, free: 8.203 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.789e-06/0.3493, allocations: 10.34 kB / 0.5265 GB, free: 8.199 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002452/0.3496, allocations: 143.3 kB / 0.5266 GB, free: 8.148 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008369/0.3504, allocations: 0.5189 MB / 0.5271 GB, free: 7.781 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003264/0.3507, allocations: 162.6 kB / 0.5273 GB, free: 7.711 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003016/0.351, allocations: 130.9 kB / 0.5274 GB, free: 7.668 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.666e-05/0.351, allocations: 2.25 kB / 0.5274 GB, free: 7.668 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/0.3511, allocations: 36.84 kB / 0.5274 GB, free: 7.625 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.323e-06/0.3511, allocations: 0 / 0.5274 GB, free: 7.625 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.001865/0.3529, allocations: 0.5375 MB / 0.528 GB, free: 7.469 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.435e-05/0.353, allocations: 53.94 kB / 0.528 GB, free: 7.406 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.3531, allocations: 132.5 kB / 0.5281 GB, free: 7.297 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.178e-05/0.3531, allocations: 26.86 kB / 0.5282 GB, free: 7.266 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.974e-05/0.3531, allocations: 151.3 kB / 0.5283 GB, free: 7.133 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.775e-05/0.3532, allocations: 72.44 kB / 0.5284 GB, free: 7.074 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.615e-05/0.3532, allocations: 43.17 kB / 0.5284 GB, free: 7.043 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.521e-05/0.3533, allocations: 325.9 kB / 0.5287 GB, free: 6.723 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.842e-05/0.3533, allocations: 49.53 kB / 0.5288 GB, free: 6.703 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.53e-05/0.3534, allocations: 80.2 kB / 0.5288 GB, free: 6.652 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001672/0.3536, allocations: 137.3 kB / 0.529 GB, free: 6.57 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.3536, allocations: 0 / 0.529 GB, free: 6.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006832/0.3543, allocations: 335.3 kB / 0.5293 GB, free: 6.422 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.3543, allocations: 12.67 kB / 0.5293 GB, free: 6.418 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.3543, allocations: 5.156 kB / 0.5293 GB, free: 6.414 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006401/0.355, allocations: 173.2 kB / 0.5295 GB, free: 6.375 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.388e-05/0.3551, allocations: 20.91 kB / 0.5295 GB, free: 6.375 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003334/0.3584, allocations: 3.558 MB / 0.533 GB, free: 3.281 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.107e-05/0.3585, allocations: 16.08 kB / 0.533 GB, free: 3.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.591e-05/0.3585, allocations: 6.219 kB / 0.533 GB, free: 3.27 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 9.947e-05/0.3586, allocations: 131.3 kB / 0.5331 GB, free: 3.141 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.656e-05/0.3586, allocations: 17.38 kB / 0.5331 GB, free: 3.129 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000708/0.3593, allocations: 306 kB / 0.5334 GB, free: 2.996 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.3593, allocations: 2.188 kB / 0.5334 GB, free: 2.996 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.3593, allocations: 1.281 kB / 0.5334 GB, free: 2.996 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.3593, allocations: 9.516 kB / 0.5334 GB, free: 2.988 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002088/0.3595, allocations: 184.5 kB / 0.5336 GB, free: 2.828 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.3596, allocations: 0.5938 kB / 0.5336 GB, free: 2.828 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.124e-05/0.3596, allocations: 13.31 kB / 0.5336 GB, free: 2.828 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006312/0.3603, allocations: 177.5 kB / 0.5338 GB, free: 2.785 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.3603, allocations: 1.672 kB / 0.5338 GB, free: 2.785 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003182/0.3634, allocations: 3.539 MB / 0.5373 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.3635, allocations: 0.6562 kB / 0.5373 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007551/0.3642, allocations: 399.1 kB / 0.5376 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.329e-05/0.3642, allocations: 14.5 kB / 0.5377 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.002e-05/0.3642, allocations: 9.156 kB / 0.5377 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.322e-05/0.3643, allocations: 9.875 kB / 0.5377 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.398e-05/0.3644, allocations: 13.92 kB / 0.5377 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.234e-05/0.3644, allocations: 7.906 kB / 0.5377 GB, free: 15.45 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.144e-05/0.3645, allocations: 96.45 kB / 0.5378 GB, free: 15.37 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3645, allocations: 0 / 0.5378 GB, free: 15.37 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005771/0.365, allocations: 76.97 kB / 0.5379 GB, free: 15.35 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (6): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.0001192/0.3652, allocations: 103.6 kB / 0.538 GB, free: 15.25 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007081/0.3659, allocations: 409.2 kB / 0.5383 GB, free: 14.96 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.3659, allocations: 5.219 kB / 0.5384 GB, free: 14.96 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004962/0.3664, allocations: 358.6 kB / 0.5387 GB, free: 14.68 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002821/0.3666, allocations: 16.58 kB / 0.5387 GB, free: 14.68 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001357/0.368, allocations: 485.3 kB / 0.5392 GB, free: 14.43 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001339/0.3681, allocations: 132.9 kB / 0.5393 GB, free: 14.35 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.706e-05/0.3682, allocations: 4.969 kB / 0.5393 GB, free: 14.34 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.465e-05/0.3682, allocations: 10.34 kB / 0.5393 GB, free: 14.34 MB / 398.1 MB Notification: Performance of SimCode: time 4.2e-07/0.3682, allocations: 5.406 kB / 0.5393 GB, free: 14.34 MB / 398.1 MB Notification: Performance of Templates: time 0.007207/0.3754, allocations: 2.968 MB / 0.5422 GB, free: 14.03 MB / 398.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 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001a.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.990265992004424] Failed to read output from testmodel.py, exit status != 0: 0.38431454985402524 0.39896751 0.047674622 Calling exit ...