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.001598/0.001598, allocations: 109.9 kB / 17.14 MB, free: 5.93 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.002133/0.002133, allocations: 205.1 kB / 20.11 MB, free: 2.977 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.677/1.677, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.1048/0.1048, allocations: 24.03 MB / 333.6 MB, free: 1.578 MB / 254.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_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: 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.002095/0.002095, allocations: 65.81 kB / 468.9 MB, free: 31.42 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1243, allocations: 59.55 MB / 0.5161 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatPump_case_001): time 0.003433/0.1277, allocations: 1.697 MB / 0.5177 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002219/0.1279, allocations: 63.8 kB / 0.5178 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.455e-05/0.128, allocations: 0 / 0.5178 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.972e-05/0.128, allocations: 15.86 kB / 0.5178 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001426/0.1282, allocations: 19.78 kB / 0.5178 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.623e-05/0.1282, allocations: 15.98 kB / 0.5178 GB, free: 9.992 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000123/0.1283, allocations: 75.72 kB / 0.5179 GB, free: 9.918 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001366/0.1285, allocations: 32.14 kB / 0.5179 GB, free: 9.883 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.671e-05/0.1285, allocations: 39.86 kB / 0.518 GB, free: 9.844 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.233e-05/0.1286, allocations: 27.86 kB / 0.518 GB, free: 9.816 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.256e-05/0.1286, allocations: 8 kB / 0.518 GB, free: 9.809 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.674e-05/0.1287, allocations: 11.94 kB / 0.518 GB, free: 9.797 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.651e-05/0.1287, allocations: 15.92 kB / 0.518 GB, free: 9.781 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.45e-05/0.1287, allocations: 47.8 kB / 0.5181 GB, free: 9.734 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001417/0.1289, allocations: 79.64 kB / 0.5181 GB, free: 9.656 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.1289, allocations: 0 / 0.5181 GB, free: 9.656 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.32e-07/0.1289, allocations: 0 / 0.5181 GB, free: 9.656 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.688e-06/0.1289, allocations: 0 / 0.5181 GB, free: 9.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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0005077/0.1294, allocations: 379.4 kB / 0.5185 GB, free: 9.234 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.1294, allocations: 12.62 kB / 0.5185 GB, free: 9.223 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.803e-05/0.1295, allocations: 12.89 kB / 0.5185 GB, free: 9.211 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001508/0.1296, allocations: 164.3 kB / 0.5187 GB, free: 9.012 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.1296, allocations: 4.562 kB / 0.5187 GB, free: 9.008 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.372e-05/0.1297, allocations: 12.38 kB / 0.5187 GB, free: 8.996 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000191/0.1299, allocations: 93.91 kB / 0.5188 GB, free: 8.898 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.1299, allocations: 0 / 0.5188 GB, free: 8.898 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.1299, allocations: 4 kB / 0.5188 GB, free: 8.895 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.1299, allocations: 8 kB / 0.5188 GB, free: 8.887 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001091/0.13, allocations: 55.95 kB / 0.5189 GB, free: 8.832 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006764/0.1307, allocations: 445.7 kB / 0.5193 GB, free: 8.328 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001222/0.1308, allocations: 58.56 kB / 0.5193 GB, free: 8.262 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.217e-05/0.1309, allocations: 16.92 kB / 0.5194 GB, free: 8.242 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.44e-05/0.1309, allocations: 7.938 kB / 0.5194 GB, free: 8.234 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/0.1309, allocations: 30.56 kB / 0.5194 GB, free: 8.195 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.1309, allocations: 0 / 0.5194 GB, free: 8.195 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002089/0.1311, allocations: 73.73 kB / 0.5195 GB, free: 8.117 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.002e-05/0.1312, allocations: 59.33 kB / 0.5195 GB, free: 8.047 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.839e-05/0.1313, allocations: 105.8 kB / 0.5196 GB, free: 7.934 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.1313, allocations: 25.7 kB / 0.5196 GB, free: 7.902 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.995e-05/0.1313, allocations: 108.2 kB / 0.5197 GB, free: 7.793 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.036e-05/0.1314, allocations: 31.78 kB / 0.5198 GB, free: 7.762 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-05/0.1314, allocations: 21.72 kB / 0.5198 GB, free: 7.734 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.1316, allocations: 318.8 kB / 0.5201 GB, free: 7.414 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.515e-05/0.1316, allocations: 15.94 kB / 0.5201 GB, free: 7.398 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.977e-05/0.1316, allocations: 34.56 kB / 0.5201 GB, free: 7.355 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.4e-05/0.1317, allocations: 54.58 kB / 0.5202 GB, free: 7.293 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1317, allocations: 0 / 0.5202 GB, free: 7.293 MB / 382.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001353/0.1319, allocations: 89.69 kB / 0.5203 GB, free: 7.199 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.1319, allocations: 5.875 kB / 0.5203 GB, free: 7.195 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.1319, allocations: 3.938 kB / 0.5203 GB, free: 7.191 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.1319, allocations: 3.984 kB / 0.5203 GB, free: 7.188 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.132, allocations: 16.5 kB / 0.5203 GB, free: 7.172 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.084e-06/0.132, allocations: 3.938 kB / 0.5203 GB, free: 7.168 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.734e-05/0.1321, allocations: 16 kB / 0.5203 GB, free: 7.152 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.1321, allocations: 4 kB / 0.5203 GB, free: 7.148 MB / 382.1 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 9.626e-05/0.1322, allocations: 114.6 kB / 0.5204 GB, free: 7.027 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.592e-05/0.1322, allocations: 7.953 kB / 0.5205 GB, free: 7.02 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001618/0.1324, allocations: 82 kB / 0.5205 GB, free: 6.938 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1324, allocations: 0 / 0.5205 GB, free: 6.938 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.1324, allocations: 3.938 kB / 0.5205 GB, free: 6.934 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.1324, allocations: 3.984 kB / 0.5205 GB, free: 6.93 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002341/0.1326, allocations: 185.6 kB / 0.5207 GB, free: 6.699 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-06/0.1326, allocations: 4 kB / 0.5207 GB, free: 6.695 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.948e-05/0.1327, allocations: 15.98 kB / 0.5207 GB, free: 6.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.1327, allocations: 4 kB / 0.5207 GB, free: 6.676 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-06/0.1327, allocations: 0 / 0.5207 GB, free: 6.676 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1327, allocations: 0 / 0.5207 GB, free: 6.676 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.1327, allocations: 3.938 kB / 0.5207 GB, free: 6.672 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001819/0.1329, allocations: 167.6 kB / 0.5209 GB, free: 6.492 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.179e-05/0.1329, allocations: 81.11 kB / 0.521 GB, free: 6.395 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.511e-05/0.1329, allocations: 7.984 kB / 0.521 GB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.838e-05/0.133, allocations: 4 kB / 0.521 GB, free: 6.383 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.505e-05/0.133, allocations: 7.938 kB / 0.521 GB, free: 6.375 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.133, allocations: 3.938 kB / 0.521 GB, free: 6.371 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.131e-05/0.1331, allocations: 87.27 kB / 0.5211 GB, free: 6.285 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1331, allocations: 0 / 0.5211 GB, free: 6.285 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002498/0.1333, allocations: 23.89 kB / 0.5211 GB, free: 6.262 MB / 382.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 (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 0.0001047/0.1335, allocations: 91.25 kB / 0.5212 GB, free: 6.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001526/0.1336, allocations: 51.92 kB / 0.5212 GB, free: 6.109 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1336, allocations: 0 / 0.5212 GB, free: 6.109 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.328e-05/0.1336, allocations: 16 kB / 0.5213 GB, free: 6.094 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002821/0.1339, allocations: 3.938 kB / 0.5213 GB, free: 6.09 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004237/0.1343, allocations: 174.3 kB / 0.5214 GB, free: 5.895 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003631/0.1347, allocations: 0.6982 MB / 0.5221 GB, free: 5.172 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.765e-05/0.1347, allocations: 7.984 kB / 0.5221 GB, free: 5.164 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.27e-05/0.1348, allocations: 11.44 kB / 0.5221 GB, free: 5.148 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1348, allocations: 0 / 0.5221 GB, free: 5.148 MB / 382.1 MB Notification: Performance of Templates: time 0.003078/0.1379, allocations: 0.4933 MB / 0.5226 GB, free: 4.656 MB / 382.1 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=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.023549135774374] Failed to read output from testmodel.py, exit status != 0: 0.1460278369486332 0.15900694 0.027258968 Calling exit ...