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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) 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=20000,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=20000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 113.7 kB / 16.42 MB, free: 6.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 183.9 kB / 17.34 MB, free: 5.758 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09701/0.09701, allocations: 22.33 MB / 313.5 MB, free: 8.883 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00218/0.00218, allocations: 63.89 kB / 437.7 MB, free: 11.77 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1258, allocations: 54.95 MB / 492.7 MB, free: 4.766 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatPump_case_001): time 0.003099/0.129, allocations: 1.691 MB / 494.4 MB, free: 3.062 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002716/0.1293, allocations: 59.8 kB / 494.4 MB, free: 3.004 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.357e-05/0.1293, allocations: 4 kB / 494.4 MB, free: 3 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 5.697e-05/0.1294, allocations: 11.86 kB / 494.4 MB, free: 2.988 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001638/0.1296, allocations: 23.78 kB / 494.5 MB, free: 2.965 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.825e-05/0.1297, allocations: 15.98 kB / 494.5 MB, free: 2.949 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001825/0.1299, allocations: 79.72 kB / 494.6 MB, free: 2.871 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001513/0.13, allocations: 32.22 kB / 494.6 MB, free: 2.836 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.982e-05/0.1301, allocations: 31.86 kB / 494.6 MB, free: 2.805 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.1302, allocations: 39.84 kB / 494.7 MB, free: 2.766 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.563e-05/0.1302, allocations: 8 kB / 494.7 MB, free: 2.758 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.72e-05/0.1303, allocations: 4 kB / 494.7 MB, free: 2.754 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.677e-05/0.1303, allocations: 19.92 kB / 494.7 MB, free: 2.734 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.01e-05/0.1303, allocations: 39.8 kB / 494.7 MB, free: 2.695 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001588/0.1305, allocations: 83.64 kB / 494.8 MB, free: 2.613 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.1305, allocations: 0 / 494.8 MB, free: 2.613 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1305, allocations: 0 / 494.8 MB, free: 2.613 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.037e-05/0.1305, allocations: 0 / 494.8 MB, free: 2.613 MB / 366.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.0004997/0.131, allocations: 375.4 kB / 495.2 MB, free: 2.195 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.1311, allocations: 8.031 kB / 495.2 MB, free: 2.188 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.742e-05/0.1312, allocations: 8.891 kB / 495.2 MB, free: 2.18 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.1313, allocations: 176.2 kB / 495.4 MB, free: 1.969 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.751e-05/0.1313, allocations: 12.56 kB / 495.4 MB, free: 1.957 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.6e-05/0.1314, allocations: 4.375 kB / 495.4 MB, free: 1.953 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001908/0.1316, allocations: 89.97 kB / 495.5 MB, free: 1.859 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.1316, allocations: 0 / 495.5 MB, free: 1.859 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.1316, allocations: 11.94 kB / 495.5 MB, free: 1.848 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.1316, allocations: 0 / 495.5 MB, free: 1.848 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001084/0.1317, allocations: 51.97 kB / 495.5 MB, free: 1.797 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006111/0.1323, allocations: 449.8 kB / 496 MB, free: 1.289 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001113/0.1325, allocations: 54.56 kB / 496 MB, free: 1.227 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4e-05/0.1325, allocations: 20.92 kB / 496.1 MB, free: 1.203 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.92e-05/0.1325, allocations: 7.922 kB / 496.1 MB, free: 1.195 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.1326, allocations: 34.56 kB / 496.1 MB, free: 1.152 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.462e-06/0.1326, allocations: 0 / 496.1 MB, free: 1.152 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0001951/0.1328, allocations: 77.61 kB / 496.2 MB, free: 1.07 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.408e-05/0.1328, allocations: 55.41 kB / 496.2 MB, free: 1.004 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.033e-05/0.1329, allocations: 113.8 kB / 496.3 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.1329, allocations: 29.64 kB / 496.4 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001345/0.1331, allocations: 108.2 kB / 496.5 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.758e-05/0.1331, allocations: 19.78 kB / 496.5 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.204e-05/0.1331, allocations: 29.72 kB / 496.5 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001812/0.1333, allocations: 314.8 kB / 496.8 MB, free: 376 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.278e-05/0.1334, allocations: 12 kB / 496.8 MB, free: 364 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000132/0.1335, allocations: 42.56 kB / 496.9 MB, free: 312 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.644e-05/0.1336, allocations: 50.52 kB / 496.9 MB, free: 252 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.1336, allocations: 0 / 496.9 MB, free: 252 kB / 366.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001282/0.1337, allocations: 85.58 kB / 497 MB, free: 160 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.1338, allocations: 4 kB / 497 MB, free: 156 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.1338, allocations: 8.547 kB / 497 MB, free: 148 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.1338, allocations: 4 kB / 497 MB, free: 144 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.1339, allocations: 15.94 kB / 497 MB, free: 128 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/0.1339, allocations: 7.938 kB / 497 MB, free: 120 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.181e-05/0.134, allocations: 4 kB / 497.1 MB, free: 116 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.919e-06/0.134, allocations: 8 kB / 497.1 MB, free: 108 kB / 366.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 0.0001138/0.1341, allocations: 122.6 kB / 497.2 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.841e-05/0.1341, allocations: 7.938 kB / 497.2 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001642/0.1343, allocations: 85.98 kB / 497.3 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.1343, allocations: 0 / 497.3 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1343, allocations: 0 / 497.3 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.1344, allocations: 92.97 kB / 497.4 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.451e-05/0.1345, allocations: 0 / 497.4 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.119e-05/0.1345, allocations: 0 / 497.4 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.764e-05/0.1346, allocations: 4 kB / 497.4 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001891/0.1348, allocations: 145 kB / 497.5 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001913/0.135, allocations: 254.9 kB / 497.8 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.25e-05/0.135, allocations: 24.05 kB / 497.8 MB, free: 15.33 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.094e-05/0.1351, allocations: 83.28 kB / 497.9 MB, free: 15.25 MB / 382.1 MB Notification: Performance of Backend: time 3.61e-07/0.1351, allocations: 192 / 497.9 MB, free: 15.25 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003663/0.1354, allocations: 106.3 kB / 498 MB, free: 15.14 MB / 382.1 MB Notification: Performance of SimCode: time 0.000545/0.136, allocations: 0.6006 MB / 498.6 MB, free: 14.48 MB / 382.1 MB Notification: Performance of Templates: time 0.002615/0.1386, allocations: 0.5554 MB / 499.1 MB, free: 13.93 MB / 382.1 MB make -j1 -f AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001.makefile (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)