Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001.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.0009502/0.0009502, allocations: 72.95 kB / 20.74 MB, free: 3.754 MB / 18.57 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.0009746/0.0009746, allocations: 177 kB / 24.17 MB, free: 336 kB / 18.57 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 0.9996/0.9996, allocations: 177.1 MB / 204.6 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] 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.06693/0.06693, allocations: 18.14 MB / 279.2 MB, free: 11.18 MB / 266.7 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_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001") translateModel(AES.Coursework.ThermSys_component_models.HeatPump_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 304.6 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.239e-05/2.394e-05, allocations: 2.859 kB / 304.6 MB, free: 0.5234 MB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatPump_case_001): time 0.002739/0.002762, allocations: 1.796 MB / 306.4 MB, free: 15.34 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002619/0.003024, allocations: 65.03 kB / 306.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.391e-05/0.003078, allocations: 1.438 kB / 306.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.437e-05/0.003123, allocations: 11.47 kB / 306.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001349/0.003258, allocations: 24.28 kB / 306.5 MB, free: 15.26 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.817e-05/0.003316, allocations: 16.45 kB / 306.5 MB, free: 15.25 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001052/0.003421, allocations: 80.05 kB / 306.6 MB, free: 15.21 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.003535, allocations: 27.12 kB / 306.6 MB, free: 15.2 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.453e-05/0.003579, allocations: 29.5 kB / 306.6 MB, free: 15.19 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001141/0.003693, allocations: 29.52 kB / 306.6 MB, free: 15.18 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.623e-05/0.00372, allocations: 6.344 kB / 306.6 MB, free: 15.18 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.423e-05/0.003734, allocations: 7 kB / 306.7 MB, free: 15.18 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.755e-05/0.003761, allocations: 14.08 kB / 306.7 MB, free: 15.17 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.448e-05/0.003796, allocations: 30.89 kB / 306.7 MB, free: 15.15 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001314/0.003927, allocations: 54.36 kB / 306.8 MB, free: 15.12 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.003929, allocations: 1.25 kB / 306.8 MB, free: 15.12 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.003931, allocations: 4.5 kB / 306.8 MB, free: 15.12 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.003936, allocations: 0 / 306.8 MB, free: 15.12 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0003606/0.004296, allocations: 281 kB / 307 MB, free: 14.86 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.004335, allocations: 9.828 kB / 307 MB, free: 14.86 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.539e-05/0.00437, allocations: 14.88 kB / 307.1 MB, free: 14.86 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.386e-05/0.004464, allocations: 114.9 kB / 307.2 MB, free: 14.72 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.004477, allocations: 8.531 kB / 307.2 MB, free: 14.72 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.348e-05/0.004491, allocations: 10.75 kB / 307.2 MB, free: 14.71 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000117/0.004608, allocations: 75.77 kB / 307.3 MB, free: 14.67 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.004615, allocations: 5.094 kB / 307.3 MB, free: 14.66 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.004623, allocations: 4 kB / 307.3 MB, free: 14.66 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.004628, allocations: 2.406 kB / 307.3 MB, free: 14.66 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.674e-05/0.004665, allocations: 21.08 kB / 307.3 MB, free: 14.66 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003771/0.005042, allocations: 233.4 kB / 307.5 MB, free: 14.48 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.245e-05/0.005105, allocations: 37.06 kB / 307.6 MB, free: 14.45 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.19e-05/0.005127, allocations: 13.12 kB / 307.6 MB, free: 14.44 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.486e-05/0.005141, allocations: 1.312 kB / 307.6 MB, free: 14.44 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.986e-05/0.005161, allocations: 40.97 kB / 307.6 MB, free: 14.39 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.683e-06/0.005163, allocations: 0 / 307.6 MB, free: 14.39 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.0001134/0.005276, allocations: 52.03 kB / 307.7 MB, free: 14.36 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.878e-05/0.005305, allocations: 53.55 kB / 307.7 MB, free: 14.3 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.158e-05/0.005367, allocations: 118.6 kB / 307.8 MB, free: 14.18 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.468e-06/0.005376, allocations: 27.02 kB / 307.9 MB, free: 14.15 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.521e-05/0.005421, allocations: 102.5 kB / 308 MB, free: 14.05 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.512e-05/0.005437, allocations: 28.52 kB / 308 MB, free: 14.03 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.135e-05/0.005468, allocations: 21.3 kB / 308 MB, free: 14.01 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.802e-05/0.005546, allocations: 319.3 kB / 308.3 MB, free: 13.69 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.143e-05/0.005557, allocations: 11.12 kB / 308.3 MB, free: 13.69 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.478e-05/0.005582, allocations: 28.12 kB / 308.4 MB, free: 13.66 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.64e-05/0.005629, allocations: 47.95 kB / 308.4 MB, free: 13.62 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.005631, allocations: 0.6562 kB / 308.4 MB, free: 13.62 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 7.554e-05/0.005707, allocations: 65.47 kB / 308.5 MB, free: 13.58 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.005722, allocations: 7.609 kB / 308.5 MB, free: 13.58 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.005727, allocations: 0 / 308.5 MB, free: 13.58 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.005739, allocations: 4 kB / 308.5 MB, free: 13.57 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.005844, allocations: 27.03 kB / 308.5 MB, free: 13.55 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.005848, allocations: 4.797 kB / 308.5 MB, free: 13.55 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.124e-05/0.00587, allocations: 0 / 308.5 MB, free: 13.55 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.75e-06/0.005875, allocations: 4 kB / 308.5 MB, free: 13.54 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (9): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.065e-05/0.005946, allocations: 118.8 kB / 308.6 MB, free: 13.42 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.733e-05/0.005963, allocations: 4.844 kB / 308.6 MB, free: 13.41 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001127/0.006076, allocations: 65.38 kB / 308.7 MB, free: 13.35 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.006078, allocations: 0 / 308.7 MB, free: 13.35 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.006079, allocations: 0 / 308.7 MB, free: 13.35 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.006083, allocations: 0.6562 kB / 308.7 MB, free: 13.35 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001022/0.006186, allocations: 93.81 kB / 308.8 MB, free: 13.25 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.006187, allocations: 4 kB / 308.8 MB, free: 13.24 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.205e-05/0.006239, allocations: 18.23 kB / 308.8 MB, free: 13.23 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.006242, allocations: 0.5156 kB / 308.8 MB, free: 13.23 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.978e-06/0.006246, allocations: 0 / 308.8 MB, free: 13.23 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.006249, allocations: 0.5625 kB / 308.8 MB, free: 13.23 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-06/0.00625, allocations: 0 / 308.8 MB, free: 13.23 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.368e-05/0.006334, allocations: 145.2 kB / 309 MB, free: 13.07 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.118e-05/0.006345, allocations: 8.688 kB / 309 MB, free: 13.07 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.174e-05/0.006357, allocations: 4.609 kB / 309 MB, free: 13.06 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.808e-05/0.006385, allocations: 4 kB / 309 MB, free: 13.06 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.536e-05/0.0064, allocations: 2.766 kB / 309 MB, free: 13.06 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.975e-06/0.006403, allocations: 4 kB / 309 MB, free: 13.05 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.544e-05/0.006419, allocations: 14.3 kB / 309 MB, free: 13.04 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006419, allocations: 0 / 309 MB, free: 13.04 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001331/0.006552, allocations: 23.89 kB / 309 MB, free: 13.02 MB / 282.7 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.124e-05/0.006633, allocations: 77.31 kB / 309.1 MB, free: 12.93 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.397e-05/0.006717, allocations: 32.41 kB / 309.1 MB, free: 12.9 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.006722, allocations: 0 / 309.1 MB, free: 12.9 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.871e-05/0.00674, allocations: 23.23 kB / 309.1 MB, free: 12.88 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001605/0.006901, allocations: 6.031 kB / 309.2 MB, free: 12.88 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004323/0.007333, allocations: 181.2 kB / 309.3 MB, free: 12.68 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.178e-05/0.007375, allocations: 59.11 kB / 309.4 MB, free: 12.61 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.172e-05/0.007407, allocations: 5.406 kB / 309.4 MB, free: 12.6 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.611e-05/0.007453, allocations: 59.94 kB / 309.5 MB, free: 12.54 MB / 282.7 MB Notification: Performance of SimCode: time 9.61e-07/0.007454, allocations: 0 / 309.5 MB, free: 12.54 MB / 282.7 MB Notification: Performance of Templates: time 0.002265/0.009719, allocations: 0.5039 MB / 310 MB, free: 12.23 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001.makefile [Timeout 660] (rm -f AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001.pipe ; mkfifo AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001.pipe >> ../files/AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001.sim & ./AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6231497460976243]