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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 106.4 kB / 16.45 MB, free: 6.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001449/0.001449, allocations: 210.4 kB / 19.43 MB, free: 3.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.487/1.487, allocations: 230.6 MB / 252.8 MB, free: 8.965 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.1124/0.1124, allocations: 24.11 MB / 333 MB, free: 12.61 MB / 270.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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003186/0.003186, allocations: 67.89 kB / 467.9 MB, free: 9.047 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3417/0.3449, allocations: 59.57 MB / 0.5151 GB, free: 9.199 MB / 382.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.03625/0.3812, allocations: 22.9 MB / 0.5374 GB, free: 1.379 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009878/0.3822, allocations: 218.8 kB / 0.5376 GB, free: 1.215 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000166/0.3823, allocations: 15.84 kB / 0.5377 GB, free: 1.207 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 8.384e-05/0.3824, allocations: 28.03 kB / 0.5377 GB, free: 1.191 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002446/0.3827, allocations: 105.5 kB / 0.5378 GB, free: 1.117 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001561/0.3828, allocations: 37.39 kB / 0.5378 GB, free: 1.098 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002714/0.3831, allocations: 289.1 kB / 0.5381 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002235/0.3833, allocations: 110.3 kB / 0.5382 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001801/0.3835, allocations: 130.8 kB / 0.5383 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001246/0.3836, allocations: 91.17 kB / 0.5384 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.767e-05/0.3836, allocations: 13.75 kB / 0.5384 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.318e-05/0.3837, allocations: 12.38 kB / 0.5384 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.033e-05/0.3837, allocations: 43.34 kB / 0.5385 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.745e-05/0.3838, allocations: 104.6 kB / 0.5386 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000213/0.384, allocations: 219.8 kB / 0.5388 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.384, allocations: 5.344 kB / 0.5388 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.384, allocations: 0 / 0.5388 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.092e-05/0.384, allocations: 0 / 0.5388 GB, free: 0.6289 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.000605/0.3846, allocations: 0.5104 MB / 0.5393 GB, free: 164 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.3847, allocations: 10.38 kB / 0.5393 GB, free: 164 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.447e-05/0.3847, allocations: 49.28 kB / 0.5394 GB, free: 112 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.101e-05/0.3847, allocations: 28.36 kB / 0.5394 GB, free: 96 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003298/0.3851, allocations: 276.9 kB / 0.5396 GB, free: 15.84 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.3851, allocations: 9.625 kB / 0.5397 GB, free: 15.84 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.336e-05/0.3851, allocations: 11.84 kB / 0.5397 GB, free: 15.84 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002984/0.3854, allocations: 175.3 kB / 0.5398 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.3854, allocations: 1.312 kB / 0.5398 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.805e-05/0.3854, allocations: 5.344 kB / 0.5398 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.3855, allocations: 3.031 kB / 0.5398 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001944/0.3857, allocations: 99.39 kB / 0.5399 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00101/0.3867, allocations: 0.8049 MB / 0.5407 GB, free: 14.96 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001772/0.3868, allocations: 71.38 kB / 0.5408 GB, free: 14.91 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.117e-05/0.3869, allocations: 35.3 kB / 0.5408 GB, free: 14.89 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.784e-05/0.3869, allocations: 5.625 kB / 0.5408 GB, free: 14.89 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.327e-05/0.387, allocations: 35.72 kB / 0.5409 GB, free: 14.85 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.372e-06/0.387, allocations: 0 / 0.5409 GB, free: 14.85 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003389/0.3873, allocations: 129.1 kB / 0.541 GB, free: 14.77 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.629e-05/0.3874, allocations: 56.88 kB / 0.541 GB, free: 14.71 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000315/0.3877, allocations: 271.2 kB / 0.5413 GB, free: 14.55 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.035e-05/0.3877, allocations: 25.7 kB / 0.5413 GB, free: 14.52 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/0.3878, allocations: 146.9 kB / 0.5415 GB, free: 14.39 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.366e-05/0.3879, allocations: 29.61 kB / 0.5415 GB, free: 14.36 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.793e-05/0.3879, allocations: 35.2 kB / 0.5415 GB, free: 14.33 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001756/0.3881, allocations: 332.9 kB / 0.5418 GB, free: 14.01 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.999e-05/0.3882, allocations: 28.91 kB / 0.5419 GB, free: 14 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.432e-05/0.3882, allocations: 47.56 kB / 0.5419 GB, free: 13.96 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005577/0.3888, allocations: 158.9 kB / 0.5421 GB, free: 13.89 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.3888, allocations: 1.906 kB / 0.5421 GB, free: 13.89 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002427/0.389, allocations: 137.2 kB / 0.5422 GB, free: 13.81 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.3891, allocations: 5.188 kB / 0.5422 GB, free: 13.81 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.3891, allocations: 6.031 kB / 0.5422 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.3891, allocations: 5.5 kB / 0.5422 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001754/0.3893, allocations: 29.06 kB / 0.5422 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/0.3893, allocations: 5.406 kB / 0.5422 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/0.3894, allocations: 12.28 kB / 0.5423 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.339e-05/0.3894, allocations: 10.7 kB / 0.5423 GB, free: 13.78 MB / 398.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.0001891/0.3896, allocations: 138.5 kB / 0.5424 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.995e-05/0.3896, allocations: 26.11 kB / 0.5424 GB, free: 13.63 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.638e-05/0.3897, allocations: 31.58 kB / 0.5425 GB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.3897, allocations: 1.969 kB / 0.5425 GB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.3897, allocations: 4.641 kB / 0.5425 GB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.3897, allocations: 0 / 0.5425 GB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003208/0.39, allocations: 235.4 kB / 0.5427 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.39, allocations: 0 / 0.5427 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001552/0.3902, allocations: 25.45 kB / 0.5427 GB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.3902, allocations: 1.906 kB / 0.5427 GB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.3902, allocations: 5.438 kB / 0.5427 GB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.3902, allocations: 0.6562 kB / 0.5427 GB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.3902, allocations: 7.875 kB / 0.5427 GB, free: 13.37 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003464/0.3905, allocations: 235.2 kB / 0.5429 GB, free: 13.19 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.635e-05/0.3906, allocations: 100.6 kB / 0.543 GB, free: 13.08 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.273e-05/0.3907, allocations: 1.344 kB / 0.543 GB, free: 13.08 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.3908, allocations: 4.938 kB / 0.5431 GB, free: 13.08 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.988e-05/0.3908, allocations: 12 kB / 0.5431 GB, free: 13.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.3908, allocations: 6.625 kB / 0.5431 GB, free: 13.07 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002062/0.391, allocations: 193 kB / 0.5433 GB, free: 12.96 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.391, allocations: 0 / 0.5433 GB, free: 12.96 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002687/0.3913, allocations: 38.84 kB / 0.5433 GB, free: 12.95 MB / 398.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.000659/0.3919, allocations: 0.7566 MB / 0.544 GB, free: 12.25 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002061/0.3922, allocations: 77.14 kB / 0.5441 GB, free: 12.22 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3922, allocations: 0 / 0.5441 GB, free: 12.22 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.781e-05/0.3922, allocations: 32.86 kB / 0.5441 GB, free: 12.21 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003856/0.3926, allocations: 58.86 kB / 0.5442 GB, free: 12.18 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002927/0.3955, allocations: 2.314 MB / 0.5464 GB, free: 9.941 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003925/0.3959, allocations: 0.7277 MB / 0.5472 GB, free: 9.211 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001299/0.3961, allocations: 36.53 kB / 0.5472 GB, free: 9.18 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/0.3962, allocations: 60.88 kB / 0.5473 GB, free: 9.125 MB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3962, allocations: 0 / 0.5473 GB, free: 9.125 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02988/0.4261, allocations: 4.661 MB / 0.5518 GB, free: 6.254 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.48/8.906, allocations: 12 kB / 0.5518 GB, free: 6.242 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.621645347913727] Failed to read output from testmodel.py, exit status != 0: 8.98280519200489 8.997457928 8.610231961 Calling exit ...