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.001925/0.001925, allocations: 110 kB / 19.7 MB, free: 2.25 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.002182/0.002182, allocations: 221.7 kB / 23.01 MB, free: 5.082 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.595/1.595, allocations: 230.6 MB / 256.8 MB, free: 7.973 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.1073/0.1073, allocations: 24.12 MB / 337.3 MB, free: 11.42 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.003068/0.003068, allocations: 63.91 kB / 475.4 MB, free: 5.074 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3407/0.3438, allocations: 59.59 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.003059/0.3468, allocations: 2.248 MB / 0.5246 GB, free: 9.324 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003308/0.3472, allocations: 173.5 kB / 0.5248 GB, free: 9.195 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.455e-05/0.3472, allocations: 3.812 kB / 0.5248 GB, free: 9.195 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 8.132e-05/0.3473, allocations: 34.73 kB / 0.5248 GB, free: 9.172 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001286/0.3475, allocations: 66.12 kB / 0.5249 GB, free: 9.125 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001345/0.3476, allocations: 48.22 kB / 0.5249 GB, free: 9.098 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000215/0.3478, allocations: 241.1 kB / 0.5251 GB, free: 8.977 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001856/0.348, allocations: 74.41 kB / 0.5252 GB, free: 8.941 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.134e-05/0.3481, allocations: 87.94 kB / 0.5253 GB, free: 8.902 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001536/0.3482, allocations: 101.4 kB / 0.5254 GB, free: 8.852 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.844e-05/0.3483, allocations: 21.97 kB / 0.5254 GB, free: 8.852 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.779e-05/0.3483, allocations: 24.81 kB / 0.5254 GB, free: 8.848 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.409e-05/0.3483, allocations: 50.39 kB / 0.5255 GB, free: 8.812 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.462e-05/0.3484, allocations: 114.9 kB / 0.5256 GB, free: 8.746 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002498/0.3487, allocations: 238.9 kB / 0.5258 GB, free: 8.656 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3487, allocations: 1.5 kB / 0.5258 GB, free: 8.656 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3487, allocations: 0 / 0.5258 GB, free: 8.656 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.211e-06/0.3487, allocations: 0 / 0.5258 GB, free: 8.656 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.0005356/0.3492, allocations: 421 kB / 0.5262 GB, free: 8.305 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.3493, allocations: 15 kB / 0.5262 GB, free: 8.301 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.92e-05/0.3493, allocations: 24.39 kB / 0.5263 GB, free: 8.289 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.578e-05/0.3494, allocations: 127 kB / 0.5264 GB, free: 8.148 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.147e-05/0.3494, allocations: 21.88 kB / 0.5264 GB, free: 8.137 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.321e-05/0.3494, allocations: 23.62 kB / 0.5264 GB, free: 8.129 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003339/0.3498, allocations: 194.4 kB / 0.5266 GB, free: 8.035 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.3498, allocations: 1.344 kB / 0.5266 GB, free: 8.035 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.622e-05/0.3498, allocations: 14.34 kB / 0.5266 GB, free: 8.023 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.661e-05/0.3498, allocations: 6.5 kB / 0.5266 GB, free: 8.023 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002735/0.3501, allocations: 143.6 kB / 0.5268 GB, free: 7.973 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009141/0.351, allocations: 0.9069 MB / 0.5277 GB, free: 7.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002633/0.3513, allocations: 156.3 kB / 0.5278 GB, free: 7.105 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002897/0.3516, allocations: 126.6 kB / 0.5279 GB, free: 7.066 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.944e-05/0.3516, allocations: 3.984 kB / 0.5279 GB, free: 7.066 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.3516, allocations: 39.56 kB / 0.528 GB, free: 7.02 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.223e-06/0.3516, allocations: 4 kB / 0.528 GB, free: 7.016 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.001892/0.3535, allocations: 0.5387 MB / 0.5285 GB, free: 6.859 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.345e-05/0.3535, allocations: 57.91 kB / 0.5286 GB, free: 6.793 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.806e-05/0.3536, allocations: 139 kB / 0.5287 GB, free: 6.676 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.3536, allocations: 30.86 kB / 0.5287 GB, free: 6.641 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.664e-05/0.3537, allocations: 144.7 kB / 0.5289 GB, free: 6.512 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.564e-05/0.3537, allocations: 69.69 kB / 0.5289 GB, free: 6.457 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.209e-05/0.3538, allocations: 42.11 kB / 0.529 GB, free: 6.426 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.678e-05/0.3538, allocations: 325.7 kB / 0.5293 GB, free: 6.105 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.646e-05/0.3539, allocations: 45.33 kB / 0.5293 GB, free: 6.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.045e-05/0.354, allocations: 74.52 kB / 0.5294 GB, free: 6.043 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001656/0.3542, allocations: 136.2 kB / 0.5295 GB, free: 5.961 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.3542, allocations: 4 kB / 0.5295 GB, free: 5.957 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006743/0.3548, allocations: 331.2 kB / 0.5298 GB, free: 5.816 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.3549, allocations: 4.688 kB / 0.5298 GB, free: 5.816 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.3549, allocations: 1.281 kB / 0.5298 GB, free: 5.816 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006882/0.3556, allocations: 177.7 kB / 0.53 GB, free: 5.773 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.3557, allocations: 24.95 kB / 0.53 GB, free: 5.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003518/0.3592, allocations: 3.626 MB / 0.5336 GB, free: 2.605 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.441e-05/0.3593, allocations: 23.12 kB / 0.5336 GB, free: 2.586 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.513e-05/0.3593, allocations: 6.641 kB / 0.5336 GB, free: 2.586 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 0.0001039/0.3594, allocations: 134.9 kB / 0.5337 GB, free: 2.453 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.474e-05/0.3594, allocations: 10.25 kB / 0.5337 GB, free: 2.449 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007424/0.3602, allocations: 321.5 kB / 0.5341 GB, free: 2.301 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.3602, allocations: 2.375 kB / 0.5341 GB, free: 2.301 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.3602, allocations: 1.125 kB / 0.5341 GB, free: 2.301 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.89e-06/0.3602, allocations: 1.125 kB / 0.5341 GB, free: 2.301 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002761/0.3605, allocations: 241.7 kB / 0.5343 GB, free: 2.102 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3605, allocations: 0 / 0.5343 GB, free: 2.102 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.609e-05/0.3605, allocations: 12.84 kB / 0.5343 GB, free: 2.102 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006283/0.3612, allocations: 182.9 kB / 0.5345 GB, free: 2.055 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.3612, allocations: 9.469 kB / 0.5345 GB, free: 2.047 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003666/0.3648, allocations: 3.607 MB / 0.538 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.3648, allocations: 3.938 kB / 0.538 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000822/0.3657, allocations: 399.5 kB / 0.5384 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.398e-05/0.3657, allocations: 8.922 kB / 0.5384 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.74e-05/0.3657, allocations: 5.094 kB / 0.5384 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.367e-05/0.3658, allocations: 5.062 kB / 0.5384 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.006e-05/0.3658, allocations: 24.31 kB / 0.5384 GB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.798e-05/0.3658, allocations: 7.125 kB / 0.5384 GB, free: 14.64 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.489e-05/0.3659, allocations: 99.52 kB / 0.5385 GB, free: 14.55 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3659, allocations: 0 / 0.5385 GB, free: 14.55 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005581/0.3665, allocations: 77.38 kB / 0.5386 GB, free: 14.54 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.0001249/0.3666, allocations: 107.6 kB / 0.5387 GB, free: 14.43 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007353/0.3673, allocations: 411.3 kB / 0.5391 GB, free: 14.14 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.3673, allocations: 0 / 0.5391 GB, free: 14.14 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000507/0.3679, allocations: 356.5 kB / 0.5394 GB, free: 13.86 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002753/0.3681, allocations: 13.98 kB / 0.5395 GB, free: 13.86 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001426/0.3696, allocations: 0.5102 MB / 0.54 GB, free: 13.58 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000393/0.3699, allocations: 0.7355 MB / 0.5407 GB, free: 12.88 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.815e-05/0.37, allocations: 11.22 kB / 0.5407 GB, free: 12.87 MB / 398.1 MB Notification: Performance of SimCode: time 7.11e-07/0.37, allocations: 1.531 kB / 0.5407 GB, free: 12.87 MB / 398.1 MB Notification: Performance of Templates: time 0.00625/0.3762, allocations: 3.417 MB / 0.544 GB, free: 12.38 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 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001a.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.99104286194779] Failed to read output from testmodel.py, exit status != 0: 0.3870342099107802 0.40045112400000005 0.048217239 Calling exit ...