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.0011/0.0011, allocations: 99.34 kB / 16.35 MB, free: 5.828 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.001139/0.001139, allocations: 192.3 kB / 17.29 MB, free: 5.484 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.349/1.349, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.08924/0.08924, allocations: 22.33 MB / 313.5 MB, free: 8.875 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 62.52 kB / 382.2 MB, free: 40.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1352, allocations: 54.97 MB / 437.2 MB, free: 12.22 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatPump_case_001): time 0.004085/0.1393, allocations: 1.677 MB / 438.9 MB, free: 10.53 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002488/0.1396, allocations: 63.81 kB / 438.9 MB, free: 10.47 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.066e-05/0.1396, allocations: 0 / 438.9 MB, free: 10.47 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 6.402e-05/0.1397, allocations: 15.8 kB / 439 MB, free: 10.45 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000168/0.1399, allocations: 27.78 kB / 439 MB, free: 10.43 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.794e-05/0.14, allocations: 11.98 kB / 439 MB, free: 10.41 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001422/0.1401, allocations: 75.72 kB / 439.1 MB, free: 10.34 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000174/0.1403, allocations: 36.2 kB / 439.1 MB, free: 10.3 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.34e-05/0.1404, allocations: 35.86 kB / 439.1 MB, free: 10.27 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001187/0.1405, allocations: 35.84 kB / 439.2 MB, free: 10.23 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.042e-05/0.1405, allocations: 8 kB / 439.2 MB, free: 10.22 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.184e-05/0.1406, allocations: 11.94 kB / 439.2 MB, free: 10.21 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.923e-05/0.1406, allocations: 11.94 kB / 439.2 MB, free: 10.2 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.779e-05/0.1407, allocations: 35.86 kB / 439.2 MB, free: 10.16 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001628/0.1409, allocations: 91.58 kB / 439.3 MB, free: 10.07 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1409, allocations: 0 / 439.3 MB, free: 10.07 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.417e-06/0.1409, allocations: 3.984 kB / 439.3 MB, free: 10.07 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.648e-06/0.1409, allocations: 0 / 439.3 MB, free: 10.07 MB / 318.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.0005681/0.1415, allocations: 367.6 kB / 439.7 MB, free: 9.66 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.1415, allocations: 12.03 kB / 439.7 MB, free: 9.648 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.371e-05/0.1416, allocations: 12.84 kB / 439.7 MB, free: 9.637 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001525/0.1417, allocations: 168.2 kB / 439.9 MB, free: 9.434 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.1418, allocations: 4.562 kB / 439.9 MB, free: 9.43 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.746e-05/0.1418, allocations: 12.38 kB / 439.9 MB, free: 9.418 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002611/0.1421, allocations: 93.91 kB / 440 MB, free: 9.32 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.1421, allocations: 3.984 kB / 440 MB, free: 9.316 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.737e-05/0.1421, allocations: 4 kB / 440 MB, free: 9.312 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/0.1422, allocations: 8 kB / 440 MB, free: 9.305 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000164/0.1423, allocations: 51.97 kB / 440.1 MB, free: 9.254 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009027/0.1432, allocations: 441.7 kB / 440.5 MB, free: 8.754 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001501/0.1434, allocations: 58.56 kB / 440.6 MB, free: 8.688 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.787e-05/0.1435, allocations: 20.92 kB / 440.6 MB, free: 8.664 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.2e-05/0.1435, allocations: 4 kB / 440.6 MB, free: 8.66 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.234e-05/0.1436, allocations: 38.53 kB / 440.6 MB, free: 8.613 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.643e-06/0.1436, allocations: 0 / 440.6 MB, free: 8.613 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002673/0.1438, allocations: 81.59 kB / 440.7 MB, free: 8.527 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.536e-05/0.1439, allocations: 55.34 kB / 440.7 MB, free: 8.461 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.144, allocations: 105.8 kB / 440.9 MB, free: 8.348 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.1441, allocations: 25.7 kB / 440.9 MB, free: 8.316 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.559e-05/0.1441, allocations: 108 kB / 441 MB, free: 8.207 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.378e-05/0.1442, allocations: 23.8 kB / 441 MB, free: 8.184 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.287e-05/0.1442, allocations: 17.72 kB / 441 MB, free: 8.16 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.1444, allocations: 326.8 kB / 441.3 MB, free: 7.832 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.165e-05/0.1444, allocations: 12 kB / 441.4 MB, free: 7.82 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.218e-05/0.1445, allocations: 34.5 kB / 441.4 MB, free: 7.777 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.678e-05/0.1445, allocations: 54.58 kB / 441.4 MB, free: 7.715 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1445, allocations: 0 / 441.4 MB, free: 7.715 MB / 318.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001239/0.1447, allocations: 93.69 kB / 441.5 MB, free: 7.617 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.1447, allocations: 8 kB / 441.5 MB, free: 7.609 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.1447, allocations: 3.938 kB / 441.5 MB, free: 7.605 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.1447, allocations: 0 / 441.5 MB, free: 7.605 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001522/0.1449, allocations: 19.94 kB / 441.6 MB, free: 7.586 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.1449, allocations: 3.938 kB / 441.6 MB, free: 7.582 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.911e-05/0.145, allocations: 7.938 kB / 441.6 MB, free: 7.574 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.145, allocations: 8.047 kB / 441.6 MB, free: 7.566 MB / 318.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.0001107/0.1451, allocations: 114.6 kB / 441.7 MB, free: 7.445 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.609e-05/0.1452, allocations: 7.906 kB / 441.7 MB, free: 7.438 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002027/0.1454, allocations: 78.06 kB / 441.8 MB, free: 7.359 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.1454, allocations: 7.984 kB / 441.8 MB, free: 7.352 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.1454, allocations: 3.938 kB / 441.8 MB, free: 7.348 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1454, allocations: 0 / 441.8 MB, free: 7.348 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002848/0.1457, allocations: 189.6 kB / 442 MB, free: 7.113 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1457, allocations: 4 kB / 442 MB, free: 7.109 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001114/0.1459, allocations: 12 kB / 442 MB, free: 7.098 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.1459, allocations: 0 / 442 MB, free: 7.098 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.1459, allocations: 4 kB / 442 MB, free: 7.094 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.1459, allocations: 0 / 442 MB, free: 7.094 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.1459, allocations: 3.938 kB / 442 MB, free: 7.09 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002367/0.1462, allocations: 163.4 kB / 442.2 MB, free: 6.914 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.153e-05/0.1463, allocations: 81.09 kB / 442.2 MB, free: 6.816 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.236e-05/0.1463, allocations: 12.5 kB / 442.2 MB, free: 6.805 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.353e-05/0.1464, allocations: 0 / 442.2 MB, free: 6.805 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.099e-05/0.1464, allocations: 3.938 kB / 442.3 MB, free: 6.801 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.497e-06/0.1464, allocations: 8 kB / 442.3 MB, free: 6.793 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.359e-05/0.1465, allocations: 87.27 kB / 442.3 MB, free: 6.707 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.1465, allocations: 0 / 442.3 MB, free: 6.707 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004394/0.147, allocations: 19.84 kB / 442.4 MB, free: 6.688 MB / 318.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.0001378/0.1471, allocations: 99.25 kB / 442.5 MB, free: 6.578 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001771/0.1473, allocations: 51.86 kB / 442.5 MB, free: 6.527 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.1473, allocations: 0 / 442.5 MB, free: 6.527 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.95e-05/0.1474, allocations: 16 kB / 442.5 MB, free: 6.512 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003823/0.1478, allocations: 11.98 kB / 442.5 MB, free: 6.5 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004028/0.1482, allocations: 170.5 kB / 442.7 MB, free: 6.309 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000371/0.1486, allocations: 0.6885 MB / 443.4 MB, free: 5.594 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.172e-05/0.1486, allocations: 8.125 kB / 443.4 MB, free: 5.586 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.544e-05/0.1487, allocations: 11.44 kB / 443.4 MB, free: 5.574 MB / 318.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1487, allocations: 0 / 443.4 MB, free: 5.574 MB / 318.1 MB Notification: Performance of Templates: time 0.003474/0.1522, allocations: 493.3 kB / 443.9 MB, free: 5.094 MB / 318.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 -s cvode -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001.pipe 2>&1)