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: "" <> buildModelFMU(AES.Devel_test_models.Test_HE_LiquidLiquid_001,fileNamePrefix="AES_AES_Devel_test_models_Test_HE_LiquidLiquid_001",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_HE_LiquidLiquid_001,fileNamePrefix="AES_AES_Devel_test_models_Test_HE_LiquidLiquid_001",fmuType="me",version="2.0",platforms={"static"}) [/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.1031/0.1031, allocations: 21.61 MB / 36.56 MB, free: 1.051 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.001261/0.001261, allocations: 183.5 kB / 42.83 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.377/1.377, allocations: 223.2 MB / 272.1 MB, free: 1.422 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.0008391/0.0008391, allocations: 108 kB / 328.7 MB, free: 11.74 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004431/0.0004427, allocations: 8 kB / 397.1 MB, free: 46.39 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1065, allocations: 55.83 MB / 452.9 MB, free: 6.551 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3264/0.4329, allocations: 79.82 MB / 0.5203 GB, free: 13.2 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001523/0.4331, allocations: 59.5 kB / 0.5203 GB, free: 13.2 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.008213/0.4414, allocations: 3.599 MB / 0.5238 GB, free: 12.66 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.415e-06/0.4414, allocations: 0 / 0.5238 GB, free: 12.66 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.758e-06/0.4414, allocations: 7.625 kB / 0.5239 GB, free: 12.66 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.0007175/0.4421, allocations: 0.5422 MB / 0.5244 GB, free: 12.21 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.4422, allocations: 7.5 kB / 0.5244 GB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.327e-05/0.4422, allocations: 49.62 kB / 0.5244 GB, free: 12.17 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.813e-05/0.4423, allocations: 26.5 kB / 0.5245 GB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004927/0.4428, allocations: 332.9 kB / 0.5248 GB, free: 11.92 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.4428, allocations: 18.12 kB / 0.5248 GB, free: 11.92 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.68e-05/0.4428, allocations: 11.19 kB / 0.5248 GB, free: 11.92 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002547/0.4431, allocations: 165.7 kB / 0.525 GB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.4431, allocations: 3.875 kB / 0.525 GB, free: 11.84 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.83e-05/0.4431, allocations: 14.25 kB / 0.525 GB, free: 11.83 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.4432, allocations: 4.219 kB / 0.525 GB, free: 11.83 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001703/0.4433, allocations: 95.27 kB / 0.5251 GB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007171/0.4441, allocations: 0.8376 MB / 0.5259 GB, free: 11.19 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001415/0.4442, allocations: 76.66 kB / 0.526 GB, free: 11.16 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.532e-05/0.4442, allocations: 6.688 kB / 0.526 GB, free: 11.16 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.834e-05/0.4443, allocations: 34.52 kB / 0.526 GB, free: 11.12 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 1.322e-06/0.4443, allocations: 0 / 0.526 GB, free: 11.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002627/0.4445, allocations: 131.1 kB / 0.5261 GB, free: 11.07 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.625e-05/0.4446, allocations: 61.58 kB / 0.5262 GB, free: 11.01 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002151/0.4448, allocations: 286.2 kB / 0.5265 GB, free: 10.9 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.208e-05/0.4448, allocations: 25.7 kB / 0.5265 GB, free: 10.87 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.798e-05/0.4449, allocations: 159.8 kB / 0.5266 GB, free: 10.77 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.089e-05/0.4449, allocations: 29.8 kB / 0.5267 GB, free: 10.75 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.943e-06/0.4449, allocations: 6.812 kB / 0.5267 GB, free: 10.75 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.413e-05/0.445, allocations: 339.7 kB / 0.527 GB, free: 10.44 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.225e-05/0.4451, allocations: 26.17 kB / 0.527 GB, free: 10.44 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.629e-05/0.4451, allocations: 51.02 kB / 0.5271 GB, free: 10.41 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.605e-05/0.4452, allocations: 34.28 kB / 0.5271 GB, free: 10.41 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.4452, allocations: 0 / 0.5271 GB, free: 10.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002153/0.4454, allocations: 150.1 kB / 0.5273 GB, free: 10.36 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.4455, allocations: 3.844 kB / 0.5273 GB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.4455, allocations: 3.625 kB / 0.5273 GB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.4455, allocations: 3.953 kB / 0.5273 GB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001701/0.4457, allocations: 30.11 kB / 0.5273 GB, free: 10.35 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.874e-06/0.4457, allocations: 6.188 kB / 0.5273 GB, free: 10.35 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001016/0.4458, allocations: 16.64 kB / 0.5273 GB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.4458, allocations: 7.125 kB / 0.5273 GB, free: 10.34 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.0001927/0.446, allocations: 126.6 kB / 0.5274 GB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.294e-05/0.4461, allocations: 29.83 kB / 0.5275 GB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.529e-05/0.4461, allocations: 33.06 kB / 0.5275 GB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.4461, allocations: 7.828 kB / 0.5275 GB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.4461, allocations: 0 / 0.5275 GB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.4462, allocations: 2.438 kB / 0.5275 GB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002459/0.4464, allocations: 257.9 kB / 0.5278 GB, free: 10 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.4464, allocations: 0 / 0.5278 GB, free: 10 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001583/0.4466, allocations: 21.78 kB / 0.5278 GB, free: 10 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.4466, allocations: 2.672 kB / 0.5278 GB, free: 10 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.4466, allocations: 0 / 0.5278 GB, free: 10 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.4466, allocations: 3.719 kB / 0.5278 GB, free: 10 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.4466, allocations: 9.641 kB / 0.5278 GB, free: 9.992 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000277/0.4469, allocations: 238.9 kB / 0.528 GB, free: 9.848 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.479e-05/0.447, allocations: 106 kB / 0.5281 GB, free: 9.742 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.33e-05/0.447, allocations: 0 / 0.5281 GB, free: 9.742 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.4471, allocations: 0 / 0.5281 GB, free: 9.742 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.152e-05/0.4472, allocations: 6.453 kB / 0.5281 GB, free: 9.742 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-06/0.4472, allocations: 7.891 kB / 0.5281 GB, free: 9.734 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000177/0.4474, allocations: 233.7 kB / 0.5284 GB, free: 9.652 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4474, allocations: 8 kB / 0.5284 GB, free: 9.645 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002463/0.4476, allocations: 49 kB / 0.5284 GB, free: 9.637 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 0.0003768/0.448, allocations: 0.7722 MB / 0.5292 GB, free: 8.969 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001416/0.4482, allocations: 75.12 kB / 0.5292 GB, free: 8.965 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.4482, allocations: 4.188 kB / 0.5292 GB, free: 8.961 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.555e-05/0.4482, allocations: 35.48 kB / 0.5293 GB, free: 8.957 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003013/0.4485, allocations: 61.58 kB / 0.5293 GB, free: 8.945 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001796/0.4503, allocations: 1.816 MB / 0.5311 GB, free: 7.793 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001653/0.4505, allocations: 0.7543 MB / 0.5318 GB, free: 7.059 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001232/0.4506, allocations: 21.89 kB / 0.5319 GB, free: 7.043 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.976e-05/0.4507, allocations: 85.19 kB / 0.5319 GB, free: 7.027 MB / 362.7 MB Notification: Performance of SimCode: time 7.92e-07/0.4507, allocations: 0 / 0.5319 GB, free: 7.027 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01511/0.4659, allocations: 5.113 MB / 0.5369 GB, free: 4.676 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000142/0.4661, allocations: 166.6 kB / 0.5371 GB, free: 4.438 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.828/2.294, allocations: 11.78 kB / 0.5371 GB, free: 4.43 MB / 362.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_HE_LiquidLiquid_001_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_HE_LiquidLiquid_001.fmu > AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001.pipe 2>&1)