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/ModelicaServices 4.0.0+maint.om/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/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008433/0.008433, allocations: 98.55 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002035/0.002035, allocations: 194 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1892/0.1892, allocations: 22.36 MB / 312.9 MB, free: 12.41 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 68.81 kB / 436.6 MB, free: 34.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08165/0.0829, allocations: 54.96 MB / 491.6 MB, free: 1.695 MB / 350.1 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.02949/0.1124, allocations: 21.77 MB / 0.5013 GB, free: 12.05 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007264/0.1132, allocations: 227.1 kB / 0.5015 GB, free: 11.83 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002203/0.1134, allocations: 11.94 kB / 0.5015 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001229/0.1135, allocations: 31.7 kB / 0.5016 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003121/0.1139, allocations: 103.2 kB / 0.5017 GB, free: 11.69 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001742/0.1141, allocations: 43.94 kB / 0.5017 GB, free: 11.64 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003285/0.1144, allocations: 286.5 kB / 0.502 GB, free: 11.36 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002568/0.1147, allocations: 124.7 kB / 0.5021 GB, free: 11.24 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000226/0.1149, allocations: 135.5 kB / 0.5022 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000167/0.1151, allocations: 95.56 kB / 0.5023 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.498e-05/0.1151, allocations: 12 kB / 0.5023 GB, free: 11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.246e-05/0.1152, allocations: 12 kB / 0.5023 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.443e-05/0.1152, allocations: 39.8 kB / 0.5024 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001115/0.1153, allocations: 107.4 kB / 0.5025 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002573/0.1156, allocations: 211 kB / 0.5027 GB, free: 10.64 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1156, allocations: 4 kB / 0.5027 GB, free: 10.63 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1156, allocations: 0 / 0.5027 GB, free: 10.63 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.1156, allocations: 0 / 0.5027 GB, free: 10.63 MB / 382.1 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.0006982/0.1163, allocations: 0.5138 MB / 0.5032 GB, free: 10.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.1164, allocations: 8.031 kB / 0.5032 GB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.519e-05/0.1164, allocations: 50.73 kB / 0.5032 GB, free: 10 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.924e-05/0.1165, allocations: 20.8 kB / 0.5033 GB, free: 9.98 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003067/0.1168, allocations: 280.7 kB / 0.5035 GB, free: 9.664 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.1168, allocations: 12.38 kB / 0.5035 GB, free: 9.652 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.963e-05/0.1169, allocations: 12.38 kB / 0.5035 GB, free: 9.641 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002601/0.1171, allocations: 167.1 kB / 0.5037 GB, free: 9.457 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.1171, allocations: 0 / 0.5037 GB, free: 9.457 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.1172, allocations: 4 kB / 0.5037 GB, free: 9.453 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.1172, allocations: 8 kB / 0.5037 GB, free: 9.445 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001871/0.1174, allocations: 91.89 kB / 0.5038 GB, free: 9.355 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008569/0.1182, allocations: 0.8212 MB / 0.5046 GB, free: 8.469 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001617/0.1184, allocations: 74.56 kB / 0.5047 GB, free: 8.387 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.948e-05/0.1185, allocations: 36.84 kB / 0.5047 GB, free: 8.348 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.012e-05/0.1185, allocations: 0 / 0.5047 GB, free: 8.348 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/0.1185, allocations: 30.56 kB / 0.5047 GB, free: 8.309 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.051e-06/0.1185, allocations: 0 / 0.5047 GB, free: 8.309 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002992/0.1189, allocations: 129.5 kB / 0.5049 GB, free: 8.176 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.561e-05/0.1189, allocations: 63.34 kB / 0.5049 GB, free: 8.102 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002516/0.1192, allocations: 271 kB / 0.5052 GB, free: 7.828 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.29e-05/0.1192, allocations: 25.7 kB / 0.5052 GB, free: 7.797 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.971e-05/0.1193, allocations: 144 kB / 0.5053 GB, free: 7.652 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.529e-05/0.1193, allocations: 35.88 kB / 0.5054 GB, free: 7.617 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.765e-05/0.1194, allocations: 29.7 kB / 0.5054 GB, free: 7.582 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.1195, allocations: 330.8 kB / 0.5057 GB, free: 7.25 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.509e-05/0.1195, allocations: 28 kB / 0.5057 GB, free: 7.223 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.489e-05/0.1196, allocations: 50.56 kB / 0.5058 GB, free: 7.164 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005139/0.1201, allocations: 162.4 kB / 0.506 GB, free: 6.996 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.1201, allocations: 3.984 kB / 0.506 GB, free: 6.992 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002113/0.1204, allocations: 141.4 kB / 0.5061 GB, free: 6.848 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.1204, allocations: 4 kB / 0.5061 GB, free: 6.844 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.1204, allocations: 0 / 0.5061 GB, free: 6.844 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.1204, allocations: 4 kB / 0.5061 GB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001704/0.1206, allocations: 27.92 kB / 0.5061 GB, free: 6.812 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.1206, allocations: 3.938 kB / 0.5061 GB, free: 6.809 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000106/0.1207, allocations: 19.95 kB / 0.5061 GB, free: 6.789 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.1207, allocations: 4 kB / 0.5062 GB, free: 6.785 MB / 382.1 MB Warning: Assuming fixed start value for the following 2 variables: HE.Tho:VARIABLE(min = 0.0 start = 339.5666268514094 unit = "K" fixed = true nominal = 300.0 ) type: Real HE.Tco:VARIABLE(min = 0.0 start = 299.958408982322 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001477/0.1209, allocations: 133.9 kB / 0.5063 GB, free: 6.645 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.498e-05/0.1209, allocations: 23.84 kB / 0.5063 GB, free: 6.621 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.654e-05/0.121, allocations: 33.73 kB / 0.5063 GB, free: 6.59 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.217e-06/0.121, allocations: 4 kB / 0.5063 GB, free: 6.586 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.121, allocations: 7.875 kB / 0.5063 GB, free: 6.578 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.121, allocations: 4 kB / 0.5063 GB, free: 6.574 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002474/0.1213, allocations: 245.5 kB / 0.5066 GB, free: 6.285 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1213, allocations: 0 / 0.5066 GB, free: 6.285 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001668/0.1214, allocations: 16 kB / 0.5066 GB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.1215, allocations: 0 / 0.5066 GB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.1215, allocations: 4 kB / 0.5066 GB, free: 6.266 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.1215, allocations: 0 / 0.5066 GB, free: 6.266 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.1215, allocations: 7.922 kB / 0.5066 GB, free: 6.258 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002745/0.1218, allocations: 235.4 kB / 0.5068 GB, free: 6.008 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.219e-05/0.1218, allocations: 100.9 kB / 0.5069 GB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.518e-05/0.1219, allocations: 7.938 kB / 0.5069 GB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.122, allocations: 0 / 0.5069 GB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.496e-05/0.122, allocations: 11.92 kB / 0.5069 GB, free: 5.871 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-06/0.122, allocations: 0 / 0.5069 GB, free: 5.871 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000165/0.1222, allocations: 194 kB / 0.5071 GB, free: 5.684 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1222, allocations: 0 / 0.5071 GB, free: 5.684 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002646/0.1225, allocations: 44.06 kB / 0.5072 GB, free: 5.641 MB / 382.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004943/0.123, allocations: 0.7673 MB / 0.5079 GB, free: 4.844 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001799/0.1232, allocations: 67.92 kB / 0.508 GB, free: 4.777 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1232, allocations: 0 / 0.508 GB, free: 4.777 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.019e-05/0.1233, allocations: 44.17 kB / 0.508 GB, free: 4.734 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003592/0.1236, allocations: 56.8 kB / 0.5081 GB, free: 4.676 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002374/0.126, allocations: 2.293 MB / 0.5103 GB, free: 2.297 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000251/0.1263, allocations: 0.7401 MB / 0.511 GB, free: 1.531 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001026/0.1264, allocations: 22.3 kB / 0.5111 GB, free: 1.508 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.101e-05/0.1265, allocations: 67.41 kB / 0.5111 GB, free: 1.441 MB / 382.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1265, allocations: 0 / 0.5111 GB, free: 1.441 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02266/0.1492, allocations: 4.63 MB / 0.5157 GB, free: 12.88 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.684/7.833, allocations: 12.39 kB / 0.5157 GB, free: 12.87 MB / 398.1 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 & python3 -m fmpy simulate --output-file AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001_res.csv --start-time 0 --stop-time 10000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 100 AES_AES_Devel_test_models_Test_HE_LiquidLiquid_001.fmu > AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001.pipe 2>&1)