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.00184/0.00184, allocations: 92.42 kB / 20.46 MB, free: 1.246 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.002372/0.002372, allocations: 218.9 kB / 23.77 MB, free: 4.43 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.522/1.522, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.1085/0.1085, allocations: 24.04 MB / 338 MB, free: 11.34 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) 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.002375/0.002375, allocations: 67.89 kB / 475.9 MB, free: 5.102 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3282/0.3306, allocations: 59.57 MB / 0.5229 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatPump_case_001a): time 0.003002/0.3336, allocations: 2.119 MB / 0.525 GB, free: 9.449 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003487/0.3339, allocations: 169.4 kB / 0.5251 GB, free: 9.324 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.505e-05/0.334, allocations: 3.812 kB / 0.5251 GB, free: 9.324 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 7.148e-05/0.3341, allocations: 37.64 kB / 0.5252 GB, free: 9.301 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001222/0.3342, allocations: 65.16 kB / 0.5252 GB, free: 9.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000153/0.3344, allocations: 49.44 kB / 0.5253 GB, free: 9.223 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002076/0.3346, allocations: 234 kB / 0.5255 GB, free: 9.109 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001963/0.3348, allocations: 70.56 kB / 0.5256 GB, free: 9.078 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.734e-05/0.3348, allocations: 89.14 kB / 0.5256 GB, free: 9.039 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001396/0.335, allocations: 88.36 kB / 0.5257 GB, free: 9 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.511e-05/0.335, allocations: 20.72 kB / 0.5258 GB, free: 9 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.205e-05/0.3351, allocations: 21.91 kB / 0.5258 GB, free: 9 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.827e-05/0.3351, allocations: 53.38 kB / 0.5258 GB, free: 8.961 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.36e-05/0.3352, allocations: 96.86 kB / 0.5259 GB, free: 8.91 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000259/0.3355, allocations: 243.3 kB / 0.5261 GB, free: 8.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.3355, allocations: 1.344 kB / 0.5261 GB, free: 8.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3355, allocations: 0.6562 kB / 0.5261 GB, free: 8.82 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.3355, allocations: 0 / 0.5261 GB, free: 8.82 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.0005546/0.336, allocations: 418.1 kB / 0.5265 GB, free: 8.473 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.3361, allocations: 10.17 kB / 0.5266 GB, free: 8.473 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.658e-05/0.3361, allocations: 28.14 kB / 0.5266 GB, free: 8.457 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.247e-05/0.3362, allocations: 130.9 kB / 0.5267 GB, free: 8.312 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.142e-05/0.3362, allocations: 19.16 kB / 0.5267 GB, free: 8.305 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.007e-05/0.3363, allocations: 23.41 kB / 0.5267 GB, free: 8.297 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003263/0.3366, allocations: 198.3 kB / 0.5269 GB, free: 8.199 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.3366, allocations: 192 / 0.5269 GB, free: 8.199 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.976e-05/0.3366, allocations: 14.53 kB / 0.527 GB, free: 8.188 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.3366, allocations: 13.98 kB / 0.527 GB, free: 8.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002457/0.3369, allocations: 140.4 kB / 0.5271 GB, free: 8.133 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008269/0.3377, allocations: 0.5222 MB / 0.5276 GB, free: 7.762 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003246/0.338, allocations: 162.2 kB / 0.5278 GB, free: 7.691 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003349/0.3384, allocations: 130.5 kB / 0.5279 GB, free: 7.648 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.409e-05/0.3384, allocations: 2.906 kB / 0.5279 GB, free: 7.648 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/0.3384, allocations: 37.5 kB / 0.5279 GB, free: 7.605 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.503e-06/0.3384, allocations: 0 / 0.5279 GB, free: 7.605 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.001965/0.3404, allocations: 0.5363 MB / 0.5285 GB, free: 7.449 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.19e-05/0.3404, allocations: 53.94 kB / 0.5285 GB, free: 7.387 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.3405, allocations: 133.4 kB / 0.5286 GB, free: 7.277 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.193e-05/0.3405, allocations: 30.8 kB / 0.5287 GB, free: 7.242 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.58e-05/0.3406, allocations: 146.8 kB / 0.5288 GB, free: 7.113 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.743e-05/0.3406, allocations: 79.14 kB / 0.5289 GB, free: 7.051 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.576e-05/0.3407, allocations: 38.12 kB / 0.5289 GB, free: 7.023 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.952e-05/0.3407, allocations: 326 kB / 0.5292 GB, free: 6.703 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.756e-05/0.3408, allocations: 47.56 kB / 0.5293 GB, free: 6.684 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.698e-05/0.3409, allocations: 79.67 kB / 0.5293 GB, free: 6.633 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001791/0.3411, allocations: 137.2 kB / 0.5295 GB, free: 6.551 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.3411, allocations: 5.031 kB / 0.5295 GB, free: 6.547 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006911/0.3418, allocations: 331.4 kB / 0.5298 GB, free: 6.402 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.3418, allocations: 7.844 kB / 0.5298 GB, free: 6.402 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.3418, allocations: 2.047 kB / 0.5298 GB, free: 6.402 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006592/0.3424, allocations: 179.2 kB / 0.53 GB, free: 6.359 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.348e-05/0.3425, allocations: 24.33 kB / 0.53 GB, free: 6.355 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003429/0.346, allocations: 3.556 MB / 0.5335 GB, free: 3.266 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.836e-05/0.346, allocations: 16.45 kB / 0.5335 GB, free: 3.254 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.35e-05/0.3461, allocations: 9.031 kB / 0.5335 GB, free: 3.25 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.784e-05/0.3462, allocations: 127.8 kB / 0.5336 GB, free: 3.125 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.592e-05/0.3462, allocations: 20.56 kB / 0.5336 GB, free: 3.109 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007218/0.3469, allocations: 312 kB / 0.5339 GB, free: 2.973 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.3469, allocations: 1.375 kB / 0.5339 GB, free: 2.973 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.3469, allocations: 0.5625 kB / 0.5339 GB, free: 2.973 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.3469, allocations: 5.812 kB / 0.5339 GB, free: 2.969 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000223/0.3471, allocations: 184.4 kB / 0.5341 GB, free: 2.809 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.3471, allocations: 1.188 kB / 0.5341 GB, free: 2.809 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.544e-05/0.3472, allocations: 12.94 kB / 0.5341 GB, free: 2.809 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000617/0.3478, allocations: 175.2 kB / 0.5343 GB, free: 2.77 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.3478, allocations: 0.5312 kB / 0.5343 GB, free: 2.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003388/0.3512, allocations: 3.547 MB / 0.5378 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.3512, allocations: 0 / 0.5378 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008609/0.3521, allocations: 394.2 kB / 0.5381 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.888e-05/0.3521, allocations: 13.08 kB / 0.5382 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.02e-05/0.3521, allocations: 10 kB / 0.5382 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.575e-05/0.3522, allocations: 5.188 kB / 0.5382 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.715e-05/0.3523, allocations: 14.34 kB / 0.5382 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/0.3523, allocations: 12.75 kB / 0.5382 GB, free: 15.43 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.06e-05/0.3524, allocations: 96.14 kB / 0.5383 GB, free: 15.36 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3524, allocations: 0 / 0.5383 GB, free: 15.36 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006109/0.353, allocations: 77.22 kB / 0.5384 GB, free: 15.34 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.0001358/0.3531, allocations: 103 kB / 0.5385 GB, free: 15.24 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007616/0.3539, allocations: 410.4 kB / 0.5388 GB, free: 14.95 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.3539, allocations: 5 kB / 0.5389 GB, free: 14.94 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005311/0.3544, allocations: 355.1 kB / 0.5392 GB, free: 14.67 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000295/0.3547, allocations: 17.53 kB / 0.5392 GB, free: 14.66 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001468/0.3562, allocations: 0.5048 MB / 0.5397 GB, free: 14.39 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001402/0.3563, allocations: 135.4 kB / 0.5398 GB, free: 14.3 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.116e-05/0.3563, allocations: 10.91 kB / 0.5398 GB, free: 14.29 MB / 398.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3563, allocations: 0 / 0.5398 GB, free: 14.29 MB / 398.1 MB Notification: Performance of Templates: time 0.006371/0.3627, allocations: 3.5 MB / 0.5433 GB, free: 13.84 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 -variableFilter=.* -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: 7.881339814979583] Failed to read output from testmodel.py, exit status != 0: 0.37168150674551725 0.386338086 0.047722051 Calling exit ...