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/AES main/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/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") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HC_SS_case_001.mo:3:1-67:19:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HC_case_001.mo:3:1-55:16:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HNcontrol_HC_SS_case_002.mo:3:1-91:29:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HNcontrol_HC_SS_case_001.mo:3:1-85:29:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1084/0.1084, allocations: 21.45 MB / 36.39 MB, free: 1.191 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001278/0.001277, allocations: 183.9 kB / 42.62 MB, free: 3.988 MB / 33.03 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.918/1.918, allocations: 205.4 MB / 254.1 MB, free: 15.48 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001171/0.001171, allocations: 86.86 kB / 307.8 MB, free: 11.32 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003995/0.0003999, allocations: 8.25 kB / 373.2 MB, free: 59.27 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1279, allocations: 52.95 MB / 426.2 MB, free: 13.32 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3681/0.496, allocations: 77.98 MB / 0.4923 GB, free: 23.51 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000213/0.4963, allocations: 74.59 kB / 0.4924 GB, free: 23.51 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002941/0.4992, allocations: 1.239 MB / 0.4936 GB, free: 23.18 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.195e-06/0.4992, allocations: 0 / 0.4936 GB, free: 23.18 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.065e-05/0.4993, allocations: 2.5 kB / 0.4936 GB, free: 23.18 MB / 362.7 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.0003783/0.4997, allocations: 357.1 kB / 0.494 GB, free: 22.81 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.434e-05/0.4997, allocations: 16.23 kB / 0.494 GB, free: 22.81 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.304e-05/0.4998, allocations: 9.969 kB / 0.494 GB, free: 22.8 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001417/0.4999, allocations: 172.5 kB / 0.4942 GB, free: 22.6 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.317e-05/0.4999, allocations: 6.781 kB / 0.4942 GB, free: 22.6 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.827e-05/0.5, allocations: 12.27 kB / 0.4942 GB, free: 22.6 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002277/0.5002, allocations: 92.05 kB / 0.4943 GB, free: 22.56 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.5002, allocations: 0.9375 kB / 0.4943 GB, free: 22.56 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.5003, allocations: 0.7031 kB / 0.4943 GB, free: 22.56 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.5003, allocations: 2.969 kB / 0.4943 GB, free: 22.56 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000116/0.5004, allocations: 52.69 kB / 0.4943 GB, free: 22.56 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005966/0.501, allocations: 459.9 kB / 0.4948 GB, free: 22.17 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001508/0.5012, allocations: 63.19 kB / 0.4948 GB, free: 22.14 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.5012, allocations: 2.812 kB / 0.4948 GB, free: 22.14 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.661e-05/0.5012, allocations: 33.38 kB / 0.4949 GB, free: 22.11 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.5012, allocations: 0 / 0.4949 GB, free: 22.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.000189/0.5014, allocations: 80.5 kB / 0.4949 GB, free: 22.07 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.36e-05/0.5015, allocations: 52.16 kB / 0.495 GB, free: 22 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.948e-05/0.5015, allocations: 99.39 kB / 0.4951 GB, free: 21.91 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.758e-06/0.5016, allocations: 25.7 kB / 0.4951 GB, free: 21.88 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.293e-05/0.5016, allocations: 114 kB / 0.4952 GB, free: 21.77 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.553e-05/0.5016, allocations: 23.16 kB / 0.4952 GB, free: 21.76 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.147e-06/0.5017, allocations: 0 / 0.4952 GB, free: 21.76 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.895e-05/0.5017, allocations: 318.8 kB / 0.4955 GB, free: 21.45 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.213e-05/0.5018, allocations: 13.95 kB / 0.4956 GB, free: 21.45 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.18e-05/0.5018, allocations: 29.73 kB / 0.4956 GB, free: 21.43 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.101e-05/0.5019, allocations: 23.22 kB / 0.4956 GB, free: 21.42 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.5019, allocations: 0 / 0.4956 GB, free: 21.42 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001155/0.502, allocations: 85.08 kB / 0.4957 GB, free: 21.38 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.502, allocations: 8.469 kB / 0.4957 GB, free: 21.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.502, allocations: 0 / 0.4957 GB, free: 21.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.5021, allocations: 8.344 kB / 0.4957 GB, free: 21.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.062e-05/0.5022, allocations: 15.86 kB / 0.4957 GB, free: 21.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.5022, allocations: 2.656 kB / 0.4957 GB, free: 21.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.654e-05/0.5022, allocations: 15.47 kB / 0.4957 GB, free: 21.37 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.415e-06/0.5022, allocations: 3.656 kB / 0.4957 GB, free: 21.37 MB / 362.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.2e-05/0.5023, allocations: 117.4 kB / 0.4958 GB, free: 21.25 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.379e-05/0.5023, allocations: 2.594 kB / 0.4958 GB, free: 21.25 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001632/0.5025, allocations: 80.16 kB / 0.4959 GB, free: 21.21 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.5025, allocations: 0.6562 kB / 0.4959 GB, free: 21.21 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.5025, allocations: 6.578 kB / 0.4959 GB, free: 21.21 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.5026, allocations: 0.9375 kB / 0.4959 GB, free: 21.21 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001925/0.5027, allocations: 187.8 kB / 0.4961 GB, free: 21.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/0.5028, allocations: 0.6875 kB / 0.4961 GB, free: 21.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.899e-05/0.5028, allocations: 20.75 kB / 0.4961 GB, free: 21.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.5029, allocations: 2.812 kB / 0.4961 GB, free: 21.02 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.5029, allocations: 4.125 kB / 0.4961 GB, free: 21.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.5029, allocations: 0.5 kB / 0.4961 GB, free: 21.02 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.5029, allocations: 4.641 kB / 0.4961 GB, free: 21.01 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001354/0.503, allocations: 164 kB / 0.4963 GB, free: 20.88 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007277/0.5038, allocations: 84.16 kB / 0.4964 GB, free: 36.78 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.771e-05/0.5038, allocations: 0.75 kB / 0.4964 GB, free: 36.78 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.129e-05/0.5039, allocations: 11.62 kB / 0.4964 GB, free: 36.77 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.323e-05/0.5039, allocations: 5.812 kB / 0.4964 GB, free: 36.77 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.5039, allocations: 2.688 kB / 0.4964 GB, free: 36.77 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.091e-05/0.504, allocations: 90.86 kB / 0.4965 GB, free: 36.69 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.504, allocations: 0 / 0.4965 GB, free: 36.69 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002145/0.5042, allocations: 17.56 kB / 0.4965 GB, free: 36.69 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001187/0.5043, allocations: 97.48 kB / 0.4966 GB, free: 36.59 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001372/0.5044, allocations: 51.31 kB / 0.4966 GB, free: 36.59 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.5045, allocations: 0 / 0.4966 GB, free: 36.59 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.119e-05/0.5045, allocations: 20.12 kB / 0.4967 GB, free: 36.59 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002614/0.5048, allocations: 7.25 kB / 0.4967 GB, free: 36.59 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004255/0.5052, allocations: 202.6 kB / 0.4969 GB, free: 36.43 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003187/0.5055, allocations: 0.6931 MB / 0.4975 GB, free: 35.73 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.459e-05/0.5056, allocations: 7.234 kB / 0.4975 GB, free: 35.73 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.846e-05/0.5056, allocations: 10.06 kB / 0.4976 GB, free: 35.72 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.5056, allocations: 4 kB / 0.4976 GB, free: 35.72 MB / 378.7 MB Notification: Performance of Templates: time 0.002518/0.5081, allocations: 439.2 kB / 0.498 GB, free: 35.68 MB / 378.7 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 -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.HeatPump_case_001.pipe 2>&1)