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.001434/0.001434, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.001695/0.001695, allocations: 191 kB / 17.29 MB, free: 5.516 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.409/1.409, allocations: 222.9 MB / 241 MB, free: 15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09388/0.09388, allocations: 22.33 MB / 313.5 MB, free: 8.906 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 62.19 kB / 382.2 MB, free: 41.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08798/0.08922, allocations: 54.96 MB / 437.2 MB, free: 12.28 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatPump_case_001): time 0.003288/0.09255, allocations: 1.674 MB / 438.9 MB, free: 10.59 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000238/0.09281, allocations: 63.8 kB / 438.9 MB, free: 10.53 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.753e-05/0.0929, allocations: 3.938 kB / 438.9 MB, free: 10.53 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.591e-05/0.093, allocations: 11.86 kB / 438.9 MB, free: 10.52 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001398/0.09315, allocations: 27.78 kB / 439 MB, free: 10.49 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.872e-05/0.09322, allocations: 15.98 kB / 439 MB, free: 10.47 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001209/0.09335, allocations: 79.66 kB / 439.1 MB, free: 10.39 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001458/0.0935, allocations: 36.2 kB / 439.1 MB, free: 10.36 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.501e-05/0.09355, allocations: 31.86 kB / 439.1 MB, free: 10.32 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001032/0.09366, allocations: 31.86 kB / 439.2 MB, free: 10.29 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.455e-05/0.09369, allocations: 8 kB / 439.2 MB, free: 10.29 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.609e-05/0.09371, allocations: 8 kB / 439.2 MB, free: 10.28 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.227e-05/0.09374, allocations: 15.92 kB / 439.2 MB, free: 10.26 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.642e-05/0.09379, allocations: 39.86 kB / 439.2 MB, free: 10.22 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001248/0.09392, allocations: 83.64 kB / 439.3 MB, free: 10.14 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.09393, allocations: 0 / 439.3 MB, free: 10.14 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.09394, allocations: 0 / 439.3 MB, free: 10.14 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.626e-06/0.09395, allocations: 0 / 439.3 MB, free: 10.14 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.0004245/0.09438, allocations: 375.6 kB / 439.7 MB, free: 9.723 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.09443, allocations: 12.03 kB / 439.7 MB, free: 9.711 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.003e-05/0.09448, allocations: 8.844 kB / 439.7 MB, free: 9.703 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/0.0946, allocations: 172.2 kB / 439.9 MB, free: 9.496 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.09462, allocations: 4.562 kB / 439.9 MB, free: 9.492 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.017e-05/0.09465, allocations: 12.38 kB / 439.9 MB, free: 9.48 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001826/0.09484, allocations: 92.03 kB / 440 MB, free: 9.387 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.09485, allocations: 0 / 440 MB, free: 9.387 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.09487, allocations: 4 kB / 440 MB, free: 9.383 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.485e-06/0.09489, allocations: 8 kB / 440 MB, free: 9.375 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001093/0.095, allocations: 55.91 kB / 440 MB, free: 9.32 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006397/0.09565, allocations: 441.7 kB / 440.5 MB, free: 8.82 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001203/0.09578, allocations: 58.56 kB / 440.5 MB, free: 8.754 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.542e-05/0.09583, allocations: 20.92 kB / 440.6 MB, free: 8.73 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.233e-05/0.09586, allocations: 4 kB / 440.6 MB, free: 8.727 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.238e-05/0.09589, allocations: 30.56 kB / 440.6 MB, free: 8.688 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.0959, allocations: 0 / 440.6 MB, free: 8.688 MB / 318.1 MB Notification: Performance of matching and sorting (n=6): time 0.000199/0.0961, allocations: 81.58 kB / 440.7 MB, free: 8.602 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.755e-05/0.09615, allocations: 59.33 kB / 440.7 MB, free: 8.531 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.469e-05/0.09623, allocations: 101.9 kB / 440.8 MB, free: 8.422 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.282e-05/0.09625, allocations: 25.7 kB / 440.9 MB, free: 8.391 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.827e-05/0.09631, allocations: 112 kB / 441 MB, free: 8.277 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.796e-05/0.09633, allocations: 23.8 kB / 441 MB, free: 8.254 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.888e-05/0.09638, allocations: 25.66 kB / 441 MB, free: 8.223 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.569e-05/0.09648, allocations: 318.8 kB / 441.3 MB, free: 7.902 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.051e-05/0.09651, allocations: 12 kB / 441.3 MB, free: 7.891 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.345e-05/0.09656, allocations: 38.5 kB / 441.4 MB, free: 7.844 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.191e-05/0.09665, allocations: 58.52 kB / 441.4 MB, free: 7.777 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.09666, allocations: 0 / 441.4 MB, free: 7.777 MB / 318.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001252/0.09679, allocations: 85.52 kB / 441.5 MB, free: 7.688 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.09681, allocations: 8 kB / 441.5 MB, free: 7.68 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.09682, allocations: 0.5 kB / 441.5 MB, free: 7.68 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.09684, allocations: 3.984 kB / 441.5 MB, free: 7.676 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/0.09696, allocations: 19.94 kB / 441.5 MB, free: 7.656 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.09697, allocations: 3.938 kB / 441.5 MB, free: 7.652 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.254e-05/0.09702, allocations: 11.94 kB / 441.6 MB, free: 7.641 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.09703, allocations: 4.141 kB / 441.6 MB, free: 7.637 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 8.175e-05/0.09712, allocations: 122.6 kB / 441.7 MB, free: 7.508 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.948e-05/0.09716, allocations: 11.89 kB / 441.7 MB, free: 7.496 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001465/0.09731, allocations: 78.05 kB / 441.8 MB, free: 7.418 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.09732, allocations: 3.938 kB / 441.8 MB, free: 7.414 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.09733, allocations: 3.938 kB / 441.8 MB, free: 7.41 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.09734, allocations: 3.984 kB / 441.8 MB, free: 7.406 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001792/0.09752, allocations: 185.6 kB / 442 MB, free: 7.176 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.09753, allocations: 8 kB / 442 MB, free: 7.168 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.413e-05/0.09761, allocations: 11.98 kB / 442 MB, free: 7.156 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.09763, allocations: 4 kB / 442 MB, free: 7.152 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.09764, allocations: 0 / 442 MB, free: 7.152 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.09764, allocations: 0 / 442 MB, free: 7.152 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.09765, allocations: 3.938 kB / 442 MB, free: 7.148 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001301/0.09778, allocations: 159.5 kB / 442.1 MB, free: 6.977 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.884e-05/0.09783, allocations: 81.11 kB / 442.2 MB, free: 6.879 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.573e-05/0.09785, allocations: 11.98 kB / 442.2 MB, free: 6.867 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.705e-05/0.09792, allocations: 0 / 442.2 MB, free: 6.867 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.803e-05/0.09794, allocations: 11.88 kB / 442.2 MB, free: 6.855 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-06/0.09795, allocations: 0 / 442.2 MB, free: 6.855 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.974e-05/0.09799, allocations: 87.27 kB / 442.3 MB, free: 6.77 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.098, allocations: 0 / 442.3 MB, free: 6.77 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002371/0.09824, allocations: 23.84 kB / 442.4 MB, free: 6.746 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 9.723e-05/0.09834, allocations: 99.19 kB / 442.5 MB, free: 6.637 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001134/0.09846, allocations: 47.92 kB / 442.5 MB, free: 6.59 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.09847, allocations: 0 / 442.5 MB, free: 6.59 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.815e-05/0.0985, allocations: 16 kB / 442.5 MB, free: 6.574 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002597/0.09877, allocations: 10.22 kB / 442.5 MB, free: 6.566 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004203/0.0992, allocations: 166.6 kB / 442.7 MB, free: 6.379 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002887/0.0995, allocations: 0.6962 MB / 443.4 MB, free: 5.656 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.76e-05/0.09954, allocations: 8.109 kB / 443.4 MB, free: 5.648 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.215e-05/0.09958, allocations: 15.38 kB / 443.4 MB, free: 5.633 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.09959, allocations: 0 / 443.4 MB, free: 5.633 MB / 318.1 MB Notification: Performance of Templates: time 0.002567/0.1022, allocations: 492.8 kB / 443.9 MB, free: 5.156 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 gbode -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001.pipe 2>&1)