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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001617/0.001617, allocations: 104.8 kB / 16.45 MB, free: 6.512 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001862/0.001862, allocations: 198.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.526/1.526, allocations: 225.6 MB / 247.8 MB, free: 13.93 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.1032/0.1032, allocations: 22.7 MB / 325.4 MB, free: 3.535 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002103/0.002103, allocations: 63.91 kB / 457.7 MB, free: 1.273 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1302, allocations: 58.01 MB / 0.5036 GB, free: 7.152 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatPump_case_001): time 0.002979/0.1332, allocations: 1.698 MB / 0.5052 GB, free: 5.441 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000253/0.1335, allocations: 63.73 kB / 0.5053 GB, free: 5.379 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.9e-05/0.1335, allocations: 4 kB / 0.5053 GB, free: 5.375 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.021e-05/0.1336, allocations: 7.875 kB / 0.5053 GB, free: 5.367 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001289/0.1337, allocations: 19.84 kB / 0.5053 GB, free: 5.348 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.516e-05/0.1337, allocations: 19.97 kB / 0.5054 GB, free: 5.328 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001292/0.1339, allocations: 87.59 kB / 0.5054 GB, free: 5.242 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001448/0.134, allocations: 32.14 kB / 0.5055 GB, free: 5.207 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.917e-05/0.134, allocations: 27.94 kB / 0.5055 GB, free: 5.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001002/0.1341, allocations: 35.78 kB / 0.5055 GB, free: 5.145 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.064e-05/0.1342, allocations: 8 kB / 0.5055 GB, free: 5.137 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.633e-05/0.1342, allocations: 8 kB / 0.5055 GB, free: 5.129 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.358e-05/0.1342, allocations: 11.98 kB / 0.5056 GB, free: 5.117 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.872e-05/0.1343, allocations: 39.81 kB / 0.5056 GB, free: 5.078 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001442/0.1344, allocations: 79.69 kB / 0.5057 GB, free: 5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1344, allocations: 4 kB / 0.5057 GB, free: 4.996 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.1344, allocations: 0 / 0.5057 GB, free: 4.996 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.066e-05/0.1344, allocations: 0 / 0.5057 GB, free: 4.996 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.0005043/0.1349, allocations: 371.4 kB / 0.506 GB, free: 4.582 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.135, allocations: 12.03 kB / 0.506 GB, free: 4.57 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.745e-05/0.135, allocations: 16.88 kB / 0.5061 GB, free: 4.555 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001531/0.1352, allocations: 172.2 kB / 0.5062 GB, free: 4.348 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.1352, allocations: 8.562 kB / 0.5062 GB, free: 4.34 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.282e-05/0.1352, allocations: 12.38 kB / 0.5062 GB, free: 4.328 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001867/0.1354, allocations: 93.97 kB / 0.5063 GB, free: 4.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.1354, allocations: 3.984 kB / 0.5063 GB, free: 4.227 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.1354, allocations: 0 / 0.5063 GB, free: 4.227 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.1354, allocations: 4 kB / 0.5063 GB, free: 4.223 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001048/0.1355, allocations: 47.98 kB / 0.5064 GB, free: 4.176 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006437/0.1362, allocations: 449.8 kB / 0.5068 GB, free: 3.668 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001225/0.1363, allocations: 58.52 kB / 0.5069 GB, free: 3.602 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.661e-05/0.1363, allocations: 28.89 kB / 0.5069 GB, free: 3.57 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.1364, allocations: 0 / 0.5069 GB, free: 3.57 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.65e-05/0.1364, allocations: 30.56 kB / 0.5069 GB, free: 3.531 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 8.92e-07/0.1364, allocations: 4 kB / 0.5069 GB, free: 3.527 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0001924/0.1366, allocations: 73.58 kB / 0.507 GB, free: 3.449 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/0.1366, allocations: 55.34 kB / 0.507 GB, free: 3.383 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.406e-05/0.1367, allocations: 113.8 kB / 0.5072 GB, free: 3.262 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.049e-05/0.1367, allocations: 29.7 kB / 0.5072 GB, free: 3.227 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.901e-05/0.1368, allocations: 108.2 kB / 0.5073 GB, free: 3.117 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.285e-05/0.1368, allocations: 15.8 kB / 0.5073 GB, free: 3.102 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.706e-05/0.1369, allocations: 33.7 kB / 0.5073 GB, free: 3.062 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.137, allocations: 310.8 kB / 0.5076 GB, free: 2.75 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.384e-05/0.1371, allocations: 15.98 kB / 0.5076 GB, free: 2.734 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.09e-05/0.1371, allocations: 38.58 kB / 0.5077 GB, free: 2.688 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.635e-05/0.1372, allocations: 54.5 kB / 0.5077 GB, free: 2.625 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1372, allocations: 0 / 0.5077 GB, free: 2.625 MB / 382.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001369/0.1373, allocations: 85.58 kB / 0.5078 GB, free: 2.535 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.1374, allocations: 4 kB / 0.5078 GB, free: 2.531 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.1374, allocations: 0 / 0.5078 GB, free: 2.531 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.1374, allocations: 4 kB / 0.5078 GB, free: 2.527 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001089/0.1375, allocations: 20.05 kB / 0.5078 GB, free: 2.508 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.1375, allocations: 3.938 kB / 0.5078 GB, free: 2.504 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.773e-05/0.1375, allocations: 4.5 kB / 0.5079 GB, free: 2.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.1375, allocations: 11.94 kB / 0.5079 GB, free: 2.488 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.055e-05/0.1376, allocations: 122.5 kB / 0.508 GB, free: 2.359 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.609e-05/0.1377, allocations: 3.953 kB / 0.508 GB, free: 2.355 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001729/0.1378, allocations: 86.09 kB / 0.5081 GB, free: 2.27 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.1378, allocations: 4 kB / 0.5081 GB, free: 2.266 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/0.1378, allocations: 7.938 kB / 0.5081 GB, free: 2.258 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1378, allocations: 0 / 0.5081 GB, free: 2.258 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002174/0.1381, allocations: 185.6 kB / 0.5083 GB, free: 2.027 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1381, allocations: 0 / 0.5083 GB, free: 2.027 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.271e-05/0.1381, allocations: 19.92 kB / 0.5083 GB, free: 2.008 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.1381, allocations: 0 / 0.5083 GB, free: 2.008 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.104e-06/0.1381, allocations: 0 / 0.5083 GB, free: 2.008 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1381, allocations: 0 / 0.5083 GB, free: 2.008 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.1381, allocations: 4.125 kB / 0.5083 GB, free: 2.004 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001662/0.1383, allocations: 171.5 kB / 0.5084 GB, free: 1.82 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.709e-05/0.1384, allocations: 85.05 kB / 0.5085 GB, free: 1.719 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.186e-05/0.1384, allocations: 0 / 0.5085 GB, free: 1.719 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.702e-05/0.1384, allocations: 0 / 0.5085 GB, free: 1.719 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.687e-05/0.1385, allocations: 11.92 kB / 0.5085 GB, free: 1.707 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-06/0.1385, allocations: 0 / 0.5085 GB, free: 1.707 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.225e-05/0.1385, allocations: 87.28 kB / 0.5086 GB, free: 1.621 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1385, allocations: 0 / 0.5086 GB, free: 1.621 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002392/0.1388, allocations: 23.89 kB / 0.5086 GB, free: 1.598 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.0001051/0.1389, allocations: 103.2 kB / 0.5087 GB, free: 1.484 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001281/0.139, allocations: 35.98 kB / 0.5088 GB, free: 1.449 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.139, allocations: 0 / 0.5088 GB, free: 1.449 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.669e-05/0.139, allocations: 23.92 kB / 0.5088 GB, free: 1.426 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000282/0.1393, allocations: 4 kB / 0.5088 GB, free: 1.422 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003845/0.1397, allocations: 166.5 kB / 0.509 GB, free: 1.234 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003503/0.14, allocations: 0.6924 MB / 0.5096 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.632e-05/0.1401, allocations: 7.984 kB / 0.5096 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.213e-05/0.1401, allocations: 11.44 kB / 0.5097 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1401, allocations: 0 / 0.5097 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of Templates: time 0.2293/0.3694, allocations: 0.4984 MB / 0.5101 GB, free: 15.39 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: 4.916725351009518] Failed to read output from testmodel.py, exit status != 0: 0.3773511820472777 0.38718946299999996 0.250409819 Calling exit ...