Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Devel_test_models.Test_HE_LiquidLiquid_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 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.Devel_test_models.Test_HE_LiquidLiquid_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001") translateModel(AES.Devel_test_models.Test_HE_LiquidLiquid_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_HE_LiquidLiquid_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.09318/0.09318, allocations: 21.61 MB / 36.56 MB, free: 0.8789 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.0008957/0.0008957, allocations: 177.1 kB / 42.82 MB, free: 3.648 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.248/1.248, allocations: 223.2 MB / 272.1 MB, free: 1.363 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.000887/0.0008868, allocations: 90.89 kB / 328.7 MB, free: 11.7 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002909/0.0002909, allocations: 11.98 kB / 397 MB, free: 46.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07849/0.07879, allocations: 55.83 MB / 452.9 MB, free: 6.602 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2823/0.3611, allocations: 79.81 MB / 0.5202 GB, free: 13.09 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001777/0.3613, allocations: 70.84 kB / 0.5203 GB, free: 13.09 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowOnePort_pwh.mo:4:3-4:45:writable] Warning: No corresponding 'inner' declaration found for component .AES.ProcessComponents.Thermal.System_settings.System_liquid Hsrc.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: AES.ProcessComponents.Thermal.Liquid.Node_wT_fixed$Hsrc. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowOnePort_pwh.mo:4:3-4:45:writable] Warning: No corresponding 'inner' declaration found for component .AES.ProcessComponents.Thermal.System_settings.System_liquid Hsnk.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: AES.ProcessComponents.Thermal.Liquid.Node_pT_fixed. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Liquid/HE_LiquidLiquid_1vol.mo:4:3-4:45:writable] Warning: No corresponding 'inner' declaration found for component .AES.ProcessComponents.Thermal.System_settings.System_liquid HE.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: AES.ProcessComponents.Thermal.Liquid.HE_LiquidLiquid_1vol. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowOnePort_pwh.mo:4:3-4:45:writable] Warning: No corresponding 'inner' declaration found for component .AES.ProcessComponents.Thermal.System_settings.System_liquid Csrc.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: AES.ProcessComponents.Thermal.Liquid.Node_wT_fixed$Csrc. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowOnePort_pwh.mo:4:3-4:45:writable] Warning: No corresponding 'inner' declaration found for component .AES.ProcessComponents.Thermal.System_settings.System_liquid Csnk.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: AES.ProcessComponents.Thermal.Liquid.Node_pT_fixed. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. Notification: Performance of FrontEnd - DAE generated: time 0.007841/0.3692, allocations: 3.598 MB / 0.5238 GB, free: 12.56 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3692, allocations: 0 / 0.5238 GB, free: 12.56 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.949e-06/0.3692, allocations: 3.875 kB / 0.5238 GB, free: 12.56 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0006704/0.3699, allocations: 0.5479 MB / 0.5243 GB, free: 12.11 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.3699, allocations: 7.688 kB / 0.5243 GB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.111e-05/0.37, allocations: 26.66 kB / 0.5243 GB, free: 12.1 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004523/0.3705, allocations: 339.5 kB / 0.5247 GB, free: 11.86 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.3705, allocations: 7.125 kB / 0.5247 GB, free: 11.86 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.159e-05/0.3705, allocations: 15.12 kB / 0.5247 GB, free: 11.86 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002241/0.3707, allocations: 165.6 kB / 0.5248 GB, free: 11.77 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.3708, allocations: 0 / 0.5248 GB, free: 11.77 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.679e-05/0.3708, allocations: 11.36 kB / 0.5249 GB, free: 11.77 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.3708, allocations: 7.562 kB / 0.5249 GB, free: 11.77 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001645/0.371, allocations: 95.31 kB / 0.525 GB, free: 11.77 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007072/0.3717, allocations: 0.8345 MB / 0.5258 GB, free: 11.13 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001363/0.3718, allocations: 77.97 kB / 0.5258 GB, free: 11.11 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.456e-05/0.3719, allocations: 0 / 0.5258 GB, free: 11.11 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.815e-05/0.3719, allocations: 38.31 kB / 0.5259 GB, free: 11.07 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 9.62e-07/0.3719, allocations: 0 / 0.5259 GB, free: 11.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002718/0.3722, allocations: 137.6 kB / 0.526 GB, free: 11.02 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.498e-05/0.3722, allocations: 53.62 kB / 0.5261 GB, free: 10.95 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002254/0.3724, allocations: 282.6 kB / 0.5263 GB, free: 10.84 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/0.3724, allocations: 28.77 kB / 0.5264 GB, free: 10.81 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.99e-05/0.3726, allocations: 163.5 kB / 0.5265 GB, free: 10.72 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.921e-05/0.3726, allocations: 33.8 kB / 0.5265 GB, free: 10.7 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.711e-06/0.3726, allocations: 0 / 0.5265 GB, free: 10.7 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.83e-05/0.3727, allocations: 339.9 kB / 0.5269 GB, free: 10.39 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.35e-05/0.3727, allocations: 24.67 kB / 0.5269 GB, free: 10.39 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.725e-05/0.3728, allocations: 61.58 kB / 0.527 GB, free: 10.36 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.032e-05/0.3729, allocations: 28.34 kB / 0.527 GB, free: 10.36 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3729, allocations: 0 / 0.527 GB, free: 10.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002027/0.3731, allocations: 151.8 kB / 0.5271 GB, free: 10.3 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.3731, allocations: 7.688 kB / 0.5271 GB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.3731, allocations: 0 / 0.5271 GB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.3731, allocations: 3.953 kB / 0.5271 GB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001594/0.3733, allocations: 29.56 kB / 0.5272 GB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.3733, allocations: 4.062 kB / 0.5272 GB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.965e-05/0.3734, allocations: 17.66 kB / 0.5272 GB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.3734, allocations: 6.766 kB / 0.5272 GB, free: 10.28 MB / 362.7 MB Warning: Assuming fixed start value for the following 2 variables: HE.Tco:VARIABLE(min = 0.0 start = 299.958408982322 unit = "K" fixed = true nominal = 300.0 ) type: Real HE.Tho:VARIABLE(min = 0.0 start = 339.5666268514094 unit = "K" fixed = true nominal = 300.0 ) type: Real 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 (14): * Single equations (assignments): 14 * 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 0.0001589/0.3736, allocations: 129.1 kB / 0.5273 GB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.995e-05/0.3736, allocations: 32.03 kB / 0.5273 GB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.917e-05/0.3737, allocations: 38.08 kB / 0.5274 GB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.3737, allocations: 3.984 kB / 0.5274 GB, free: 10.13 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.3737, allocations: 3.953 kB / 0.5274 GB, free: 10.13 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.3737, allocations: 0 / 0.5274 GB, free: 10.13 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002266/0.374, allocations: 259 kB / 0.5276 GB, free: 9.941 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.374, allocations: 0 / 0.5276 GB, free: 9.941 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001491/0.3741, allocations: 18.75 kB / 0.5277 GB, free: 9.941 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.3741, allocations: 0 / 0.5277 GB, free: 9.941 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.3741, allocations: 1.125 kB / 0.5277 GB, free: 9.941 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.3741, allocations: 3.781 kB / 0.5277 GB, free: 9.941 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.3742, allocations: 10.84 kB / 0.5277 GB, free: 9.934 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002292/0.3744, allocations: 245.3 kB / 0.5279 GB, free: 9.785 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.367e-05/0.3745, allocations: 105.9 kB / 0.528 GB, free: 9.676 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.255e-05/0.3745, allocations: 0 / 0.528 GB, free: 9.676 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.3746, allocations: 3.844 kB / 0.528 GB, free: 9.676 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.45e-05/0.3746, allocations: 3.047 kB / 0.528 GB, free: 9.676 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.762e-06/0.3746, allocations: 7.406 kB / 0.528 GB, free: 9.676 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001559/0.3748, allocations: 226.2 kB / 0.5282 GB, free: 9.594 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3748, allocations: 4 kB / 0.5282 GB, free: 9.59 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002388/0.375, allocations: 45.31 kB / 0.5283 GB, free: 9.586 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (HE.Tho,HE.Tco) * 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 (8): * Single equations (assignments): 8 * 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 9.819e-05/0.3752, allocations: 108.9 kB / 0.5284 GB, free: 9.492 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001516/0.3753, allocations: 68.28 kB / 0.5285 GB, free: 9.492 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3753, allocations: 0 / 0.5285 GB, free: 9.492 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.327e-05/0.3754, allocations: 35.84 kB / 0.5285 GB, free: 9.488 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002952/0.3757, allocations: 68.81 kB / 0.5286 GB, free: 9.477 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007361/0.3764, allocations: 0.63 MB / 0.5292 GB, free: 9.055 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001614/0.3766, allocations: 0.7542 MB / 0.5299 GB, free: 8.32 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001277/0.3767, allocations: 29.78 kB / 0.5299 GB, free: 8.309 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.64e-05/0.3768, allocations: 23.02 kB / 0.53 GB, free: 8.297 MB / 362.7 MB Notification: Performance of SimCode: time 3.61e-07/0.3768, allocations: 4 kB / 0.53 GB, free: 8.293 MB / 362.7 MB Notification: Performance of Templates: time 0.004677/0.3815, allocations: 2.578 MB / 0.5325 GB, free: 7.074 MB / 362.7 MB make -j1 -f AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001.makefile (rm -f AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001.pipe ; mkfifo AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001.pipe >> ../files/AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001.sim & ./AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001.pipe 2>&1)