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.001766/0.001766, allocations: 108.2 kB / 16.46 MB, free: 6.453 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.001782/0.001782, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.498/1.498, allocations: 230.6 MB / 252.8 MB, free: 8.965 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.1047/0.1047, allocations: 24.11 MB / 332.9 MB, free: 12.61 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.002376/0.002376, allocations: 67.89 kB / 469 MB, free: 7.855 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4204/0.4228, allocations: 59.57 MB / 0.5162 GB, free: 10.35 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatPump_case_001a): time 0.003069/0.4259, allocations: 2.225 MB / 0.5184 GB, free: 8.816 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003126/0.4262, allocations: 171.4 kB / 0.5186 GB, free: 8.691 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.565e-05/0.4263, allocations: 3.562 kB / 0.5186 GB, free: 8.691 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 7.283e-05/0.4264, allocations: 31.44 kB / 0.5186 GB, free: 8.672 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001189/0.4265, allocations: 59.56 kB / 0.5187 GB, free: 8.629 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001453/0.4266, allocations: 52.94 kB / 0.5187 GB, free: 8.598 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002368/0.4269, allocations: 250.5 kB / 0.5189 GB, free: 8.469 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001798/0.427, allocations: 73.52 kB / 0.519 GB, free: 8.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.963e-05/0.4271, allocations: 83.55 kB / 0.5191 GB, free: 8.395 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001657/0.4273, allocations: 106.2 kB / 0.5192 GB, free: 8.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.735e-05/0.4273, allocations: 22.12 kB / 0.5192 GB, free: 8.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.669e-05/0.4274, allocations: 19.91 kB / 0.5192 GB, free: 8.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.668e-05/0.4274, allocations: 46.06 kB / 0.5193 GB, free: 8.309 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.839e-05/0.4275, allocations: 113.8 kB / 0.5194 GB, free: 8.242 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002786/0.4278, allocations: 240.6 kB / 0.5196 GB, free: 8.152 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.4278, allocations: 0 / 0.5196 GB, free: 8.152 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4278, allocations: 1.672 kB / 0.5196 GB, free: 8.152 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.4278, allocations: 7.938 kB / 0.5196 GB, free: 8.145 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.000546/0.4283, allocations: 497.5 kB / 0.5201 GB, free: 7.699 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.4284, allocations: 10.59 kB / 0.5201 GB, free: 7.699 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.016e-05/0.4284, allocations: 25.67 kB / 0.5201 GB, free: 7.688 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.18e-05/0.4285, allocations: 183 kB / 0.5203 GB, free: 7.477 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.4285, allocations: 18.25 kB / 0.5203 GB, free: 7.469 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.777e-05/0.4285, allocations: 23.5 kB / 0.5204 GB, free: 7.461 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003066/0.4288, allocations: 204.1 kB / 0.5205 GB, free: 7.363 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.4289, allocations: 192 / 0.5205 GB, free: 7.363 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.095e-05/0.4289, allocations: 15.12 kB / 0.5206 GB, free: 7.352 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.4289, allocations: 5.312 kB / 0.5206 GB, free: 7.352 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002326/0.4291, allocations: 141.2 kB / 0.5207 GB, free: 7.309 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009117/0.43, allocations: 0.9418 MB / 0.5216 GB, free: 6.484 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002533/0.4303, allocations: 160.2 kB / 0.5218 GB, free: 6.41 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003157/0.4306, allocations: 134.9 kB / 0.5219 GB, free: 6.363 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.721e-05/0.4306, allocations: 3.047 kB / 0.5219 GB, free: 6.363 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.939e-05/0.4306, allocations: 40.17 kB / 0.5219 GB, free: 6.316 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.282e-06/0.4306, allocations: 1.312 kB / 0.5219 GB, free: 6.316 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.001925/0.4326, allocations: 0.6867 MB / 0.5226 GB, free: 5.977 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.217e-05/0.4326, allocations: 54.25 kB / 0.5227 GB, free: 5.914 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.534e-05/0.4327, allocations: 136.9 kB / 0.5228 GB, free: 5.797 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.4327, allocations: 35.08 kB / 0.5228 GB, free: 5.758 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.119e-05/0.4327, allocations: 147.7 kB / 0.523 GB, free: 5.629 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.181e-05/0.4328, allocations: 71.64 kB / 0.523 GB, free: 5.57 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.056e-05/0.4328, allocations: 40.05 kB / 0.5231 GB, free: 5.543 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.41e-05/0.4329, allocations: 321.1 kB / 0.5234 GB, free: 5.227 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.174e-05/0.4329, allocations: 49.2 kB / 0.5234 GB, free: 5.207 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.726e-05/0.433, allocations: 81.44 kB / 0.5235 GB, free: 5.152 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001588/0.4332, allocations: 136.5 kB / 0.5236 GB, free: 5.07 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.4332, allocations: 1.219 kB / 0.5236 GB, free: 5.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006616/0.4338, allocations: 330.9 kB / 0.524 GB, free: 4.926 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.4339, allocations: 6.5 kB / 0.524 GB, free: 4.926 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.4339, allocations: 0 / 0.524 GB, free: 4.926 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006359/0.4345, allocations: 180.6 kB / 0.5241 GB, free: 4.883 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.4346, allocations: 21.31 kB / 0.5242 GB, free: 4.883 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0033/0.4379, allocations: 3.84 MB / 0.5279 GB, free: 1.461 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.574e-05/0.438, allocations: 16.17 kB / 0.5279 GB, free: 1.449 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/0.438, allocations: 4.375 kB / 0.5279 GB, free: 1.449 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.672e-05/0.4381, allocations: 137 kB / 0.5281 GB, free: 1.316 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.298e-05/0.4381, allocations: 9.766 kB / 0.5281 GB, free: 1.312 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007134/0.4388, allocations: 317.4 kB / 0.5284 GB, free: 1.164 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.4388, allocations: 2.984 kB / 0.5284 GB, free: 1.164 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-06/0.4388, allocations: 1.062 kB / 0.5284 GB, free: 1.164 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.4388, allocations: 4.656 kB / 0.5284 GB, free: 1.16 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002419/0.4391, allocations: 270.1 kB / 0.5286 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.4391, allocations: 0 / 0.5286 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.496e-05/0.4391, allocations: 16.7 kB / 0.5287 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005963/0.4397, allocations: 179.5 kB / 0.5288 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.4398, allocations: 13.06 kB / 0.5288 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004294/0.444, allocations: 3.803 MB / 0.5325 GB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.4441, allocations: 5.219 kB / 0.5326 GB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007531/0.4448, allocations: 401.2 kB / 0.5329 GB, free: 13.22 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.364e-05/0.4449, allocations: 86.36 kB / 0.533 GB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.578e-05/0.4449, allocations: 5.125 kB / 0.533 GB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.787e-05/0.445, allocations: 1.828 kB / 0.533 GB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.826e-05/0.445, allocations: 20.5 kB / 0.533 GB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.988e-06/0.445, allocations: 9.141 kB / 0.5331 GB, free: 13.11 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.149e-05/0.4451, allocations: 102.3 kB / 0.5332 GB, free: 13.03 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4451, allocations: 0 / 0.5332 GB, free: 13.03 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005107/0.4456, allocations: 85.66 kB / 0.5332 GB, free: 13 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.000154/0.4457, allocations: 103.5 kB / 0.5333 GB, free: 12.9 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007457/0.4465, allocations: 406.7 kB / 0.5337 GB, free: 12.61 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.4465, allocations: 4.188 kB / 0.5337 GB, free: 12.61 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005008/0.447, allocations: 347.6 kB / 0.5341 GB, free: 12.34 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002641/0.4473, allocations: 21.14 kB / 0.5341 GB, free: 12.33 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001474/0.4487, allocations: 489.8 kB / 0.5345 GB, free: 12.09 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003946/0.4491, allocations: 0.7413 MB / 0.5353 GB, free: 11.39 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.399e-05/0.4492, allocations: 4.562 kB / 0.5353 GB, free: 11.39 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.433e-05/0.4492, allocations: 10.19 kB / 0.5353 GB, free: 11.38 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4492, allocations: 0.7188 kB / 0.5353 GB, free: 11.38 MB / 398.1 MB Notification: Performance of Templates: time 0.007166/0.4563, allocations: 2.993 MB / 0.5382 GB, free: 11.14 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: 5.358040479943156] Failed to read output from testmodel.py, exit status != 0: 0.46539319190196693 0.477553179 0.046900488000000004 Calling exit ...