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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 106.5 kB / 16.4 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 191.7 kB / 19.36 MB, free: 3.727 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 222.9 MB / 245.1 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1201/0.1201, allocations: 22.34 MB / 319.6 MB, free: 6.75 MB / 254.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 71.89 kB / 445.3 MB, free: 8.602 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1133, allocations: 54.94 MB / 0.4885 GB, free: 1.605 MB / 366.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.3785/0.4918, allocations: 22.68 MB / 0.5106 GB, free: 5.512 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005817/0.4924, allocations: 210.1 kB / 0.5108 GB, free: 5.504 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001173/0.4925, allocations: 13.94 kB / 0.5109 GB, free: 5.504 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 7.276e-05/0.4926, allocations: 29.02 kB / 0.5109 GB, free: 5.504 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001883/0.4928, allocations: 98.38 kB / 0.511 GB, free: 5.504 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001295/0.4929, allocations: 42.19 kB / 0.511 GB, free: 5.504 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002156/0.4931, allocations: 289.2 kB / 0.5113 GB, free: 5.434 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002227/0.4934, allocations: 126.4 kB / 0.5114 GB, free: 5.418 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001482/0.4935, allocations: 117.1 kB / 0.5115 GB, free: 5.391 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001262/0.4937, allocations: 97.58 kB / 0.5116 GB, free: 5.359 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.387e-05/0.4937, allocations: 17.12 kB / 0.5116 GB, free: 5.355 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.86e-05/0.4937, allocations: 13.34 kB / 0.5116 GB, free: 5.355 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.443e-05/0.4938, allocations: 32.23 kB / 0.5117 GB, free: 5.348 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9e-05/0.4939, allocations: 110.4 kB / 0.5118 GB, free: 5.312 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002468/0.4941, allocations: 218.4 kB / 0.512 GB, free: 5.266 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.4941, allocations: 2 kB / 0.512 GB, free: 5.266 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4941, allocations: 0 / 0.512 GB, free: 5.266 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.008e-05/0.4942, allocations: 0 / 0.512 GB, free: 5.266 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.0006038/0.4948, allocations: 0.5135 MB / 0.5125 GB, free: 4.82 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.4948, allocations: 10.34 kB / 0.5125 GB, free: 4.82 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.779e-05/0.4949, allocations: 45.89 kB / 0.5125 GB, free: 4.781 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.919e-05/0.4949, allocations: 24.08 kB / 0.5126 GB, free: 4.77 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002462/0.4952, allocations: 278.2 kB / 0.5128 GB, free: 4.531 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.4952, allocations: 13.03 kB / 0.5128 GB, free: 4.527 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.044e-05/0.4952, allocations: 16.45 kB / 0.5129 GB, free: 4.523 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002358/0.4955, allocations: 168.3 kB / 0.513 GB, free: 4.441 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.4955, allocations: 1.094 kB / 0.513 GB, free: 4.441 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.4955, allocations: 5.781 kB / 0.513 GB, free: 4.441 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.4955, allocations: 5.625 kB / 0.513 GB, free: 4.441 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001785/0.4957, allocations: 93.66 kB / 0.5131 GB, free: 4.434 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006821/0.4964, allocations: 0.8124 MB / 0.5139 GB, free: 3.797 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001437/0.4965, allocations: 81.38 kB / 0.514 GB, free: 3.77 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.562e-05/0.4966, allocations: 38.28 kB / 0.514 GB, free: 3.762 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.073e-05/0.4966, allocations: 0 / 0.514 GB, free: 3.762 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.696e-05/0.4967, allocations: 31.17 kB / 0.5141 GB, free: 3.723 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 8.72e-07/0.4967, allocations: 0 / 0.5141 GB, free: 3.723 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002664/0.4969, allocations: 127.7 kB / 0.5142 GB, free: 3.676 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.217e-05/0.497, allocations: 55.34 kB / 0.5142 GB, free: 3.609 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002635/0.4972, allocations: 275.7 kB / 0.5145 GB, free: 3.496 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.177e-06/0.4972, allocations: 27.08 kB / 0.5145 GB, free: 3.465 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.844e-05/0.4973, allocations: 144.6 kB / 0.5147 GB, free: 3.375 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.949e-05/0.4973, allocations: 30.23 kB / 0.5147 GB, free: 3.355 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.502e-05/0.4974, allocations: 27.25 kB / 0.5147 GB, free: 3.34 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.301e-05/0.4975, allocations: 335.3 kB / 0.515 GB, free: 3.027 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.004e-05/0.4975, allocations: 27.84 kB / 0.5151 GB, free: 3.027 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.091e-05/0.4976, allocations: 50.92 kB / 0.5151 GB, free: 3 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004956/0.4981, allocations: 163.5 kB / 0.5153 GB, free: 2.961 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.4981, allocations: 1.969 kB / 0.5153 GB, free: 2.961 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001912/0.4983, allocations: 138.9 kB / 0.5154 GB, free: 2.906 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.4983, allocations: 6.219 kB / 0.5154 GB, free: 2.906 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.4983, allocations: 0 / 0.5154 GB, free: 2.906 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.4983, allocations: 2.375 kB / 0.5154 GB, free: 2.906 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001628/0.4985, allocations: 32.48 kB / 0.5154 GB, free: 2.902 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.4985, allocations: 5.469 kB / 0.5154 GB, free: 2.898 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001037/0.4986, allocations: 16.42 kB / 0.5155 GB, free: 2.887 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.956e-06/0.4987, allocations: 6.5 kB / 0.5155 GB, free: 2.883 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.0001367/0.4988, allocations: 129.2 kB / 0.5156 GB, free: 2.77 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.983e-05/0.4988, allocations: 23.11 kB / 0.5156 GB, free: 2.758 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.301e-05/0.4989, allocations: 29.42 kB / 0.5156 GB, free: 2.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.4989, allocations: 2.953 kB / 0.5156 GB, free: 2.75 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.4989, allocations: 7.938 kB / 0.5157 GB, free: 2.742 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.4989, allocations: 0.75 kB / 0.5157 GB, free: 2.742 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002068/0.4991, allocations: 243.6 kB / 0.5159 GB, free: 2.551 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.4991, allocations: 1.219 kB / 0.5159 GB, free: 2.551 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001492/0.4993, allocations: 18.39 kB / 0.5159 GB, free: 2.551 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.4993, allocations: 1.125 kB / 0.5159 GB, free: 2.551 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.4993, allocations: 0 / 0.5159 GB, free: 2.551 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.4993, allocations: 6.234 kB / 0.5159 GB, free: 2.547 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.4993, allocations: 3.938 kB / 0.5159 GB, free: 2.543 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002358/0.4996, allocations: 248.6 kB / 0.5162 GB, free: 2.387 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.005e-05/0.4996, allocations: 101 kB / 0.5162 GB, free: 2.277 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.126e-05/0.4997, allocations: 5.188 kB / 0.5163 GB, free: 2.277 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.928e-05/0.4998, allocations: 0 / 0.5163 GB, free: 2.277 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.433e-05/0.4998, allocations: 12.06 kB / 0.5163 GB, free: 2.273 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.4998, allocations: 1.375 kB / 0.5163 GB, free: 2.273 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001474/0.4999, allocations: 195.7 kB / 0.5165 GB, free: 2.195 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5, allocations: 1.375 kB / 0.5165 GB, free: 2.195 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000254/0.5002, allocations: 34.38 kB / 0.5165 GB, free: 2.195 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.0003682/0.5006, allocations: 0.773 MB / 0.5172 GB, free: 1.512 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000172/0.5008, allocations: 71.56 kB / 0.5173 GB, free: 1.512 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.5008, allocations: 3.938 kB / 0.5173 GB, free: 1.508 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.37e-05/0.5008, allocations: 33.67 kB / 0.5173 GB, free: 1.504 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003707/0.5012, allocations: 58.41 kB / 0.5174 GB, free: 1.488 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002225/0.5035, allocations: 2.301 MB / 0.5196 GB, free: 64 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004009/0.5039, allocations: 0.7322 MB / 0.5204 GB, free: 15.36 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001361/0.504, allocations: 30.44 kB / 0.5204 GB, free: 15.35 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.183e-05/0.5041, allocations: 63.77 kB / 0.5205 GB, free: 15.34 MB / 398.1 MB Notification: Performance of SimCode: time 1.172e-06/0.5041, allocations: 0 / 0.5205 GB, free: 15.34 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02864/0.5328, allocations: 4.628 MB / 0.525 GB, free: 14.76 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.27/8.803, allocations: 13.5 kB / 0.525 GB, free: 14.75 MB / 398.1 MB " [Timeout remaining time 651] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.39576660504099] Failed to read output from testmodel.py, exit status != 0: 8.870518114999868 8.884548459 8.387748991 Calling exit ...