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 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.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.1033/0.1033, allocations: 21.46 MB / 36.42 MB, free: 1.156 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.0009674/0.0009677, allocations: 182.7 kB / 42.64 MB, free: 4 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.416/1.416, allocations: 205.4 MB / 254.1 MB, free: 15.21 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.0007699/0.0007699, allocations: 76.33 kB / 307.8 MB, free: 11.09 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003567/0.0003567, allocations: 9.938 kB / 373.3 MB, free: 59.05 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1061, allocations: 52.96 MB / 426.2 MB, free: 13.02 MB / 298.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowOnePort_pwh.mo:4:3-4:45:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowOnePort_pwh.mo:4:3-4:45:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer "system" component but an inner "system" component is not defined. Drag AES.ProcessComponents.Thermal.System_settings.System_liquid into your model to specify the working fluid properties. Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_HE_LiquidLiquid_001): time 0.002585/0.1088, allocations: 2.018 MB / 428.2 MB, free: 10.98 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000674/0.1095, allocations: 235.1 kB / 428.5 MB, free: 10.75 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002425/0.1097, allocations: 11.94 kB / 428.5 MB, free: 10.74 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.218e-05/0.1098, allocations: 35.7 kB / 428.5 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003838/0.1102, allocations: 103.2 kB / 428.6 MB, free: 10.61 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001932/0.1104, allocations: 27.95 kB / 428.6 MB, free: 10.58 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003387/0.1108, allocations: 270.5 kB / 428.9 MB, free: 10.31 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003014/0.1111, allocations: 100.4 kB / 429 MB, free: 10.21 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002804/0.1114, allocations: 119.4 kB / 429.1 MB, free: 10.09 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001774/0.1116, allocations: 83.64 kB / 429.2 MB, free: 10.01 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.684e-05/0.1116, allocations: 11.94 kB / 429.2 MB, free: 10 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.717e-05/0.1117, allocations: 8 kB / 429.2 MB, free: 9.992 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.049e-05/0.1117, allocations: 23.86 kB / 429.2 MB, free: 9.969 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.137e-05/0.1118, allocations: 69.58 kB / 429.3 MB, free: 9.895 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001688/0.112, allocations: 147.6 kB / 429.5 MB, free: 9.75 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.112, allocations: 8 kB / 429.5 MB, free: 9.742 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.385e-06/0.112, allocations: 0 / 429.5 MB, free: 9.742 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.212e-05/0.112, allocations: 0 / 429.5 MB, free: 9.742 MB / 298.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.0007652/0.1128, allocations: 486.3 kB / 429.9 MB, free: 9.219 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/0.1129, allocations: 8.031 kB / 429.9 MB, free: 9.211 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.69e-05/0.113, allocations: 23.72 kB / 430 MB, free: 9.188 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003649/0.1133, allocations: 259.7 kB / 430.2 MB, free: 8.891 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.073e-05/0.1134, allocations: 8 kB / 430.2 MB, free: 8.883 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.628e-05/0.1134, allocations: 15.95 kB / 430.2 MB, free: 8.867 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003438/0.1138, allocations: 170.2 kB / 430.4 MB, free: 8.68 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.1138, allocations: 0 / 430.4 MB, free: 8.68 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.397e-05/0.1138, allocations: 8 kB / 430.4 MB, free: 8.672 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.1138, allocations: 0 / 430.4 MB, free: 8.672 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001975/0.114, allocations: 96.45 kB / 430.5 MB, free: 8.578 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001077/0.1151, allocations: 0.8141 MB / 431.3 MB, free: 7.699 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001645/0.1153, allocations: 74.55 kB / 431.4 MB, free: 7.617 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.705e-05/0.1154, allocations: 40.84 kB / 431.4 MB, free: 7.574 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.252e-05/0.1154, allocations: 8.094 kB / 431.4 MB, free: 7.566 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.1154, allocations: 34.56 kB / 431.5 MB, free: 7.523 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 1.963e-06/0.1154, allocations: 0 / 431.5 MB, free: 7.523 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.000308/0.1158, allocations: 129.3 kB / 431.6 MB, free: 7.391 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.172e-05/0.1158, allocations: 55.41 kB / 431.7 MB, free: 7.324 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002142/0.116, allocations: 263 kB / 431.9 MB, free: 7.059 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.325e-05/0.116, allocations: 25.7 kB / 431.9 MB, free: 7.027 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.94e-05/0.1161, allocations: 147.9 kB / 432.1 MB, free: 6.879 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.051e-05/0.1161, allocations: 31.55 kB / 432.1 MB, free: 6.848 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.37e-06/0.1161, allocations: 0 / 432.1 MB, free: 6.848 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.85e-05/0.1162, allocations: 338.8 kB / 432.4 MB, free: 6.508 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.2e-05/0.1163, allocations: 27.98 kB / 432.5 MB, free: 6.48 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.707e-05/0.1164, allocations: 46.56 kB / 432.5 MB, free: 6.426 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.16e-05/0.1164, allocations: 35.94 kB / 432.6 MB, free: 6.391 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1164, allocations: 3.953 kB / 432.6 MB, free: 6.387 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001908/0.1166, allocations: 141.3 kB / 432.7 MB, free: 6.242 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.1167, allocations: 8.062 kB / 432.7 MB, free: 6.234 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.1167, allocations: 0 / 432.7 MB, free: 6.234 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.1167, allocations: 4 kB / 432.7 MB, free: 6.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001625/0.1169, allocations: 23.98 kB / 432.7 MB, free: 6.207 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.1169, allocations: 3.938 kB / 432.7 MB, free: 6.203 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.705e-05/0.117, allocations: 19.75 kB / 432.8 MB, free: 6.184 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.117, allocations: 4 kB / 432.8 MB, free: 6.18 MB / 298.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.0001942/0.1172, allocations: 141.9 kB / 432.9 MB, free: 6.031 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.609e-05/0.1173, allocations: 23.67 kB / 432.9 MB, free: 6.008 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.051e-05/0.1173, allocations: 25.73 kB / 432.9 MB, free: 5.977 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1173, allocations: 0 / 432.9 MB, free: 5.977 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.1173, allocations: 4 kB / 433 MB, free: 5.973 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.1173, allocations: 3.984 kB / 433 MB, free: 5.969 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002001/0.1175, allocations: 245.5 kB / 433.2 MB, free: 5.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1176, allocations: 0 / 433.2 MB, free: 5.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001452/0.1177, allocations: 23.94 kB / 433.2 MB, free: 5.656 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.1177, allocations: 4 kB / 433.2 MB, free: 5.652 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.1177, allocations: 0 / 433.2 MB, free: 5.652 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.1177, allocations: 4 kB / 433.2 MB, free: 5.648 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1177, allocations: 0 / 433.2 MB, free: 5.648 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002415/0.118, allocations: 231.2 kB / 433.5 MB, free: 5.406 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.342e-05/0.118, allocations: 100.8 kB / 433.6 MB, free: 5.289 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.157e-05/0.1181, allocations: 7.953 kB / 433.6 MB, free: 5.281 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.1182, allocations: 64 / 433.6 MB, free: 5.281 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.38e-05/0.1182, allocations: 8 kB / 433.6 MB, free: 5.273 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.551e-06/0.1182, allocations: 3.984 kB / 433.6 MB, free: 5.27 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001381/0.1184, allocations: 186 kB / 433.8 MB, free: 5.09 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.1184, allocations: 0 / 433.8 MB, free: 5.09 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002468/0.1187, allocations: 40 kB / 433.8 MB, free: 5.051 MB / 298.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 0.000103/0.1188, allocations: 99.02 kB / 433.9 MB, free: 4.945 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001859/0.119, allocations: 83.84 kB / 434 MB, free: 4.863 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.119, allocations: 4.125 kB / 434 MB, free: 4.859 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.106e-05/0.119, allocations: 35.92 kB / 434 MB, free: 4.824 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003643/0.1194, allocations: 56.14 kB / 434.1 MB, free: 4.77 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008152/0.1202, allocations: 0.5868 MB / 434.6 MB, free: 4.156 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001654/0.1204, allocations: 0.7287 MB / 435.4 MB, free: 3.402 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000133/0.1206, allocations: 30.28 kB / 435.4 MB, free: 3.367 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.227e-05/0.1206, allocations: 19.44 kB / 435.4 MB, free: 3.348 MB / 298.7 MB Notification: Performance of SimCode: time 2.1e-07/0.1206, allocations: 0 / 435.4 MB, free: 3.348 MB / 298.7 MB Notification: Performance of Templates: time 0.004589/0.1252, allocations: 2.049 MB / 437.5 MB, free: 1.297 MB / 298.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 -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001.pipe 2>&1)