Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.Containment_elements.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 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Running command: translateModel(AES.Coursework.ThermSys_component_models.Containment_elements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Containment_elements") translateModel(AES.Coursework.ThermSys_component_models.Containment_elements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Containment_elements") [/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.1288/0.1288, allocations: 21.61 MB / 36.56 MB, free: 1.055 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 178.4 kB / 42.82 MB, free: 3.785 MB / 33.03 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.277/1.277, allocations: 223.2 MB / 272.1 MB, free: 1.328 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008107/0.0008106, allocations: 107.6 kB / 328.7 MB, free: 11.67 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003157/0.0003157, allocations: 8 kB / 397 MB, free: 46.44 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0925/0.09284, allocations: 55.83 MB / 452.9 MB, free: 6.594 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2928/0.3857, allocations: 79.84 MB / 0.5202 GB, free: 13.3 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001938/0.3859, allocations: 73.28 kB / 0.5203 GB, free: 13.3 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008556/0.3945, allocations: 3.284 MB / 0.5235 GB, free: 12.83 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3945, allocations: 0 / 0.5235 GB, free: 12.83 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.217e-06/0.3945, allocations: 0 / 0.5235 GB, free: 12.83 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0006591/0.3952, allocations: 0.5146 MB / 0.524 GB, free: 12.41 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.949e-05/0.3952, allocations: 7.688 kB / 0.524 GB, free: 12.41 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.87e-05/0.3953, allocations: 23.28 kB / 0.524 GB, free: 12.4 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003639/0.3957, allocations: 282 kB / 0.5243 GB, free: 12.19 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.686e-06/0.3957, allocations: 7.562 kB / 0.5243 GB, free: 12.19 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.208e-05/0.3957, allocations: 14.62 kB / 0.5243 GB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002215/0.3959, allocations: 144.2 kB / 0.5245 GB, free: 12.15 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.396, allocations: 0.875 kB / 0.5245 GB, free: 12.15 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.748e-05/0.396, allocations: 4.562 kB / 0.5245 GB, free: 12.15 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.396, allocations: 8.234 kB / 0.5245 GB, free: 12.15 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001424/0.3961, allocations: 101.2 kB / 0.5246 GB, free: 12.14 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007122/0.3969, allocations: 0.6637 MB / 0.5252 GB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006952/0.3976, allocations: 254.9 kB / 0.5255 GB, free: 11.7 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.548e-05/0.3976, allocations: 4 kB / 0.5255 GB, free: 11.7 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.235e-05/0.3976, allocations: 34.06 kB / 0.5255 GB, free: 11.66 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.223e-06/0.3976, allocations: 0 / 0.5255 GB, free: 11.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0008313/0.3985, allocations: 0.4899 MB / 0.526 GB, free: 11.4 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.003e-05/0.3985, allocations: 55.19 kB / 0.526 GB, free: 11.34 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001824/0.3987, allocations: 235.9 kB / 0.5262 GB, free: 11.23 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.3987, allocations: 32.8 kB / 0.5263 GB, free: 11.2 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.136e-05/0.3987, allocations: 116.2 kB / 0.5264 GB, free: 11.11 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.414e-05/0.3988, allocations: 54.14 kB / 0.5264 GB, free: 11.06 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.177e-06/0.3988, allocations: 7.25 kB / 0.5264 GB, free: 11.06 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 4.84e-05/0.3989, allocations: 334.1 kB / 0.5268 GB, free: 10.74 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.018e-05/0.3989, allocations: 71.77 kB / 0.5268 GB, free: 10.72 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.912e-05/0.3991, allocations: 88.39 kB / 0.5269 GB, free: 10.69 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000128/0.3992, allocations: 87.75 kB / 0.527 GB, free: 10.68 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.624e-06/0.3992, allocations: 1.312 kB / 0.527 GB, free: 10.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004672/0.3997, allocations: 314 kB / 0.5273 GB, free: 10.57 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.3997, allocations: 9.109 kB / 0.5273 GB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.3997, allocations: 0 / 0.5273 GB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002487/0.4, allocations: 50.23 kB / 0.5274 GB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002162/0.4002, allocations: 61.44 kB / 0.5274 GB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001309/0.4015, allocations: 2.601 MB / 0.53 GB, free: 7.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001446/0.4017, allocations: 19.2 kB / 0.53 GB, free: 7.918 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.286e-05/0.4017, allocations: 8 kB / 0.53 GB, free: 7.918 MB / 362.7 MB Warning: Assuming fixed start value for the following 7 variables: nonhomogeneous.T[3]:VARIABLE(min = 0.0 start = nonhomogeneous.Tstart unit = "K" fixed = true nominal = 300.0 ) type: Real [3] nonhomogeneous.T[2]:VARIABLE(min = 0.0 start = nonhomogeneous.Tstart unit = "K" fixed = true nominal = 300.0 ) type: Real [3] nonhomogeneous.T[1]:VARIABLE(min = 0.0 start = nonhomogeneous.Tstart unit = "K" fixed = true nominal = 300.0 ) type: Real [3] homogeneous.T[4]:VARIABLE(min = 0.0 start = homogeneous.Tstart unit = "K" fixed = true nominal = 300.0 ) type: Real [4] homogeneous.T[3]:VARIABLE(min = 0.0 start = homogeneous.Tstart unit = "K" fixed = true nominal = 300.0 ) type: Real [4] homogeneous.T[2]:VARIABLE(min = 0.0 start = homogeneous.Tstart unit = "K" fixed = true nominal = 300.0 ) type: Real [4] homogeneous.T[1]:VARIABLE(min = 0.0 start = homogeneous.Tstart unit = "K" fixed = true nominal = 300.0 ) type: Real [4] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 18 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001566/0.4018, allocations: 176.8 kB / 0.5302 GB, free: 7.773 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.099e-05/0.4019, allocations: 23.48 kB / 0.5302 GB, free: 7.762 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.939e-05/0.4019, allocations: 28.7 kB / 0.5302 GB, free: 7.758 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.4019, allocations: 0 / 0.5302 GB, free: 7.758 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.402, allocations: 3.812 kB / 0.5302 GB, free: 7.758 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.402, allocations: 4 kB / 0.5302 GB, free: 7.754 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002272/0.4022, allocations: 296.3 kB / 0.5305 GB, free: 7.512 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.4022, allocations: 0 / 0.5305 GB, free: 7.512 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002898/0.4025, allocations: 50.03 kB / 0.5305 GB, free: 7.504 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001615/0.4027, allocations: 55.81 kB / 0.5306 GB, free: 7.469 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.896e-05/0.4027, allocations: 15.56 kB / 0.5306 GB, free: 7.461 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001189/0.4039, allocations: 2.613 MB / 0.5332 GB, free: 4.859 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.4039, allocations: 2.109 kB / 0.5332 GB, free: 4.859 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004837/0.4044, allocations: 425 kB / 0.5336 GB, free: 4.648 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.858e-05/0.4045, allocations: 100.3 kB / 0.5337 GB, free: 4.543 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.189e-05/0.4045, allocations: 7.75 kB / 0.5337 GB, free: 4.539 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001641/0.4047, allocations: 15.61 kB / 0.5337 GB, free: 4.531 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.104e-05/0.4047, allocations: 11.8 kB / 0.5337 GB, free: 4.523 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.969e-06/0.4047, allocations: 7.656 kB / 0.5337 GB, free: 4.523 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001228/0.4049, allocations: 189.9 kB / 0.5339 GB, free: 4.422 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4049, allocations: 3.75 kB / 0.5339 GB, free: 4.422 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002971/0.4052, allocations: 72.03 kB / 0.534 GB, free: 4.418 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (homogeneous.T[1],homogeneous.T[2],homogeneous.T[3],homogeneous.T[4],nonhomogeneous.T[1],nonhomogeneous.T[2],nonhomogeneous.T[3]) * 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 (12): * Single equations (assignments): 10 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001248/0.4053, allocations: 109.4 kB / 0.5341 GB, free: 4.328 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004567/0.4058, allocations: 418.2 kB / 0.5345 GB, free: 4.07 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.4058, allocations: 0 / 0.5345 GB, free: 4.07 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002432/0.406, allocations: 316.8 kB / 0.5348 GB, free: 3.828 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002531/0.4063, allocations: 50.23 kB / 0.5348 GB, free: 3.812 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001067/0.4074, allocations: 1.02 MB / 0.5358 GB, free: 3.07 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003013/0.4077, allocations: 0.749 MB / 0.5365 GB, free: 18.34 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001467/0.4078, allocations: 47.36 kB / 0.5366 GB, free: 18.32 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.504e-05/0.4079, allocations: 19.12 kB / 0.5366 GB, free: 18.32 MB / 378.7 MB Notification: Performance of SimCode: time 3e-07/0.4079, allocations: 0 / 0.5366 GB, free: 18.32 MB / 378.7 MB Notification: Performance of Templates: time 0.005314/0.4132, allocations: 3.434 MB / 0.54 GB, free: 16.66 MB / 378.7 MB make -j1 -f AES_AES.Coursework.ThermSys_component_models.Containment_elements.makefile (rm -f AES_AES.Coursework.ThermSys_component_models.Containment_elements.pipe ; mkfifo AES_AES.Coursework.ThermSys_component_models.Containment_elements.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_component_models.Containment_elements.pipe >> ../files/AES_AES.Coursework.ThermSys_component_models.Containment_elements.sim & ./AES_AES.Coursework.ThermSys_component_models.Containment_elements -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.Containment_elements.pipe 2>&1)