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.001291/0.001291, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001591/0.001591, allocations: 218.2 kB / 22.26 MB, free: 5.125 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.453/1.453, allocations: 230.6 MB / 256 MB, free: 7.996 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.1056/0.1056, allocations: 24.12 MB / 336.6 MB, free: 11.45 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.002055/0.002055, allocations: 67.91 kB / 473.3 MB, free: 6.41 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3378/0.3398, allocations: 59.61 MB / 0.5204 GB, free: 10.13 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.03585/0.3757, allocations: 22.91 MB / 0.5428 GB, free: 1.895 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000674/0.3764, allocations: 215.3 kB / 0.543 GB, free: 1.734 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001233/0.3765, allocations: 15.69 kB / 0.543 GB, free: 1.727 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 7.675e-05/0.3766, allocations: 31.34 kB / 0.543 GB, free: 1.707 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002029/0.3768, allocations: 98.75 kB / 0.5431 GB, free: 1.641 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001314/0.3769, allocations: 40.22 kB / 0.5432 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002511/0.3771, allocations: 294.1 kB / 0.5435 GB, free: 1.465 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001965/0.3773, allocations: 106.7 kB / 0.5436 GB, free: 1.422 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000193/0.3775, allocations: 131.2 kB / 0.5437 GB, free: 1.371 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001354/0.3777, allocations: 91.83 kB / 0.5438 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.38e-05/0.3777, allocations: 17.25 kB / 0.5438 GB, free: 1.324 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.567e-05/0.3777, allocations: 16.5 kB / 0.5438 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.814e-05/0.3778, allocations: 39.23 kB / 0.5438 GB, free: 1.293 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.602e-05/0.3779, allocations: 104.5 kB / 0.5439 GB, free: 1.234 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002083/0.3781, allocations: 217 kB / 0.5441 GB, free: 1.148 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3781, allocations: 7.938 kB / 0.5442 GB, free: 1.141 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3781, allocations: 0 / 0.5442 GB, free: 1.141 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.054e-05/0.3781, allocations: 1.156 kB / 0.5442 GB, free: 1.141 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.0005951/0.3787, allocations: 452.7 kB / 0.5446 GB, free: 0.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.3787, allocations: 8.922 kB / 0.5446 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.093e-05/0.3788, allocations: 45.14 kB / 0.5446 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.577e-05/0.3788, allocations: 24.8 kB / 0.5447 GB, free: 0.668 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002976/0.3791, allocations: 211.7 kB / 0.5449 GB, free: 464 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.3791, allocations: 13.17 kB / 0.5449 GB, free: 452 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.534e-05/0.3792, allocations: 12.38 kB / 0.5449 GB, free: 440 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002563/0.3794, allocations: 163.6 kB / 0.545 GB, free: 276 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.3794, allocations: 7.922 kB / 0.5451 GB, free: 268 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.3795, allocations: 4 kB / 0.5451 GB, free: 264 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.3795, allocations: 4 kB / 0.5451 GB, free: 260 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000162/0.3796, allocations: 97.58 kB / 0.5452 GB, free: 176 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009177/0.3805, allocations: 0.773 MB / 0.5459 GB, free: 15.4 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001724/0.3807, allocations: 76.42 kB / 0.546 GB, free: 15.32 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.544e-05/0.3808, allocations: 40.33 kB / 0.546 GB, free: 15.29 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.499e-05/0.3808, allocations: 0 / 0.546 GB, free: 15.29 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.3808, allocations: 31.17 kB / 0.5461 GB, free: 15.25 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 8.92e-07/0.3808, allocations: 0 / 0.5461 GB, free: 15.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003003/0.3811, allocations: 129.2 kB / 0.5462 GB, free: 15.12 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.81e-05/0.3812, allocations: 55.34 kB / 0.5462 GB, free: 15.05 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002927/0.3815, allocations: 270.3 kB / 0.5465 GB, free: 14.81 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/0.3815, allocations: 25.7 kB / 0.5465 GB, free: 14.78 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/0.3816, allocations: 147.4 kB / 0.5466 GB, free: 14.64 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.143e-05/0.3816, allocations: 30.91 kB / 0.5467 GB, free: 14.61 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.237e-05/0.3817, allocations: 32.16 kB / 0.5467 GB, free: 14.57 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.3818, allocations: 330.1 kB / 0.547 GB, free: 14.25 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.858e-05/0.3819, allocations: 34.33 kB / 0.5471 GB, free: 14.22 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.71e-05/0.382, allocations: 52.2 kB / 0.5471 GB, free: 14.16 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005322/0.3825, allocations: 158.1 kB / 0.5473 GB, free: 14.02 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3825, allocations: 0 / 0.5473 GB, free: 14.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002543/0.3828, allocations: 140.1 kB / 0.5474 GB, free: 13.88 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.3828, allocations: 4 kB / 0.5474 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.3828, allocations: 0 / 0.5474 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.3828, allocations: 8.641 kB / 0.5474 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001759/0.383, allocations: 31.02 kB / 0.5474 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.675e-06/0.383, allocations: 3.938 kB / 0.5474 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.3831, allocations: 20.53 kB / 0.5475 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.3831, allocations: 4 kB / 0.5475 GB, free: 13.82 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.0001741/0.3833, allocations: 135.9 kB / 0.5476 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.552e-05/0.3833, allocations: 20.52 kB / 0.5476 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.113e-05/0.3834, allocations: 29.36 kB / 0.5476 GB, free: 13.63 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.3834, allocations: 0 / 0.5476 GB, free: 13.63 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.3834, allocations: 3.938 kB / 0.5476 GB, free: 13.63 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.3834, allocations: 0.7031 kB / 0.5476 GB, free: 13.63 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002765/0.3836, allocations: 210.1 kB / 0.5478 GB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3836, allocations: 4 kB / 0.5478 GB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001579/0.3838, allocations: 23.73 kB / 0.5479 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3838, allocations: 0 / 0.5479 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.3838, allocations: 4 kB / 0.5479 GB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.3838, allocations: 0 / 0.5479 GB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.3838, allocations: 3.938 kB / 0.5479 GB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003287/0.3842, allocations: 232.6 kB / 0.5481 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.192e-05/0.3842, allocations: 25.3 kB / 0.5481 GB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.413e-05/0.3842, allocations: 9.188 kB / 0.5481 GB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.3843, allocations: 0 / 0.5481 GB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.978e-05/0.3844, allocations: 10.98 kB / 0.5481 GB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-06/0.3844, allocations: 0 / 0.5481 GB, free: 13.11 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002143/0.3846, allocations: 194.7 kB / 0.5483 GB, free: 12.93 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3846, allocations: 0 / 0.5483 GB, free: 12.93 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002785/0.3849, allocations: 43.94 kB / 0.5484 GB, free: 12.89 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.0006256/0.3855, allocations: 0.7777 MB / 0.5491 GB, free: 12.09 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002018/0.3857, allocations: 74.62 kB / 0.5492 GB, free: 12.03 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/0.3857, allocations: 0 / 0.5492 GB, free: 12.03 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.27e-05/0.3858, allocations: 34.84 kB / 0.5492 GB, free: 12 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003782/0.3861, allocations: 56.27 kB / 0.5493 GB, free: 11.95 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002877/0.389, allocations: 2.316 MB / 0.5515 GB, free: 9.676 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004036/0.3894, allocations: 0.7317 MB / 0.5523 GB, free: 8.941 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001157/0.3895, allocations: 33.05 kB / 0.5523 GB, free: 8.918 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001136/0.3897, allocations: 65.16 kB / 0.5524 GB, free: 8.859 MB / 398.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3897, allocations: 0 / 0.5524 GB, free: 8.859 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03294/0.4226, allocations: 4.839 MB / 0.5571 GB, free: 5.758 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/11.94, allocations: 2.5 kB / 0.5571 GB, free: 5.758 MB / 398.1 MB " [Timeout remaining time 648] (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: 14.661956171003112] Failed to read output from testmodel.py, exit status != 0: 12.05086337999819 12.0785554 11.695223771 Calling exit ...