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.001586/0.001586, allocations: 100.3 kB / 19.72 MB, free: 1.785 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.002332/0.002332, allocations: 208.9 kB / 23.01 MB, free: 4.621 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.542/1.542, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.1066/0.1066, allocations: 24.03 MB / 337.2 MB, free: 11.34 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.002369/0.002369, allocations: 71.89 kB / 473.8 MB, free: 6.371 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.365/0.3674, allocations: 59.56 MB / 0.5209 GB, free: 10.11 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.07053/0.438, allocations: 22.97 MB / 0.5433 GB, free: 1.973 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009306/0.4389, allocations: 211.3 kB / 0.5435 GB, free: 1.816 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003477/0.4392, allocations: 15.34 kB / 0.5436 GB, free: 1.809 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001532/0.4394, allocations: 32.5 kB / 0.5436 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004035/0.4398, allocations: 102.5 kB / 0.5437 GB, free: 1.719 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001969/0.44, allocations: 36.41 kB / 0.5437 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003186/0.4403, allocations: 293.3 kB / 0.544 GB, free: 1.547 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002431/0.4405, allocations: 106.8 kB / 0.5441 GB, free: 1.504 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002161/0.4408, allocations: 126.3 kB / 0.5442 GB, free: 1.457 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001421/0.4409, allocations: 92.55 kB / 0.5443 GB, free: 1.398 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.891e-05/0.4409, allocations: 12 kB / 0.5443 GB, free: 1.387 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.752e-05/0.441, allocations: 16 kB / 0.5443 GB, free: 1.371 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.496e-05/0.441, allocations: 33.27 kB / 0.5444 GB, free: 1.344 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.042e-05/0.4411, allocations: 85.14 kB / 0.5444 GB, free: 1.266 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002294/0.4413, allocations: 225.8 kB / 0.5447 GB, free: 1.105 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.4413, allocations: 1.266 kB / 0.5447 GB, free: 1.105 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.235e-06/0.4413, allocations: 8 kB / 0.5447 GB, free: 1.098 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.123e-06/0.4413, allocations: 0 / 0.5447 GB, free: 1.098 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.0006345/0.442, allocations: 439.7 kB / 0.5451 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.442, allocations: 12.92 kB / 0.5451 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.119e-05/0.442, allocations: 45.05 kB / 0.5451 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.538e-05/0.4421, allocations: 24.8 kB / 0.5452 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002668/0.4424, allocations: 216.1 kB / 0.5454 GB, free: 360 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.4424, allocations: 8.375 kB / 0.5454 GB, free: 352 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.547e-05/0.4424, allocations: 12.98 kB / 0.5454 GB, free: 340 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002219/0.4426, allocations: 170.7 kB / 0.5456 GB, free: 168 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.4426, allocations: 0 / 0.5456 GB, free: 168 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.4426, allocations: 4 kB / 0.5456 GB, free: 164 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.4427, allocations: 7.984 kB / 0.5456 GB, free: 156 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001664/0.4428, allocations: 91.89 kB / 0.5457 GB, free: 76 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009675/0.4438, allocations: 0.749 MB / 0.5464 GB, free: 15.31 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001728/0.444, allocations: 77.45 kB / 0.5465 GB, free: 15.23 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.438e-05/0.444, allocations: 35.95 kB / 0.5465 GB, free: 15.2 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.07e-05/0.444, allocations: 3.938 kB / 0.5465 GB, free: 15.2 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/0.4441, allocations: 36.38 kB / 0.5465 GB, free: 15.15 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.4441, allocations: 4 kB / 0.5465 GB, free: 15.15 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003002/0.4444, allocations: 120.4 kB / 0.5467 GB, free: 15.03 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.893e-05/0.4444, allocations: 59.34 kB / 0.5467 GB, free: 14.96 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003343/0.4448, allocations: 265.5 kB / 0.547 GB, free: 14.72 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.663e-05/0.4448, allocations: 34.41 kB / 0.547 GB, free: 14.68 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001456/0.4449, allocations: 143.2 kB / 0.5471 GB, free: 14.54 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.807e-05/0.445, allocations: 38.8 kB / 0.5472 GB, free: 14.51 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.517e-05/0.445, allocations: 31.64 kB / 0.5472 GB, free: 14.47 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001817/0.4452, allocations: 334.1 kB / 0.5475 GB, free: 14.14 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.625e-05/0.4453, allocations: 26.95 kB / 0.5475 GB, free: 14.12 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.688e-05/0.4454, allocations: 59.11 kB / 0.5476 GB, free: 14.06 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005518/0.4459, allocations: 155.1 kB / 0.5477 GB, free: 13.92 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.4459, allocations: 0 / 0.5477 GB, free: 13.92 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002374/0.4462, allocations: 139.7 kB / 0.5479 GB, free: 13.78 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.4462, allocations: 4 kB / 0.5479 GB, free: 13.78 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.4462, allocations: 0.5156 kB / 0.5479 GB, free: 13.78 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.4462, allocations: 4 kB / 0.5479 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000172/0.4464, allocations: 27.44 kB / 0.5479 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.4464, allocations: 8.562 kB / 0.5479 GB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001018/0.4465, allocations: 19.84 kB / 0.5479 GB, free: 13.72 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.4465, allocations: 4.562 kB / 0.5479 GB, free: 13.72 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.0001965/0.4467, allocations: 131.8 kB / 0.5481 GB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.574e-05/0.4467, allocations: 20.47 kB / 0.5481 GB, free: 13.56 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.358e-05/0.4468, allocations: 32.84 kB / 0.5481 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.307e-06/0.4468, allocations: 0.5156 kB / 0.5481 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.4468, allocations: 3.938 kB / 0.5481 GB, free: 13.53 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.4468, allocations: 0.5156 kB / 0.5481 GB, free: 13.53 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002928/0.4471, allocations: 198.8 kB / 0.5483 GB, free: 13.31 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.4471, allocations: 0.8906 kB / 0.5483 GB, free: 13.31 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000149/0.4472, allocations: 18.25 kB / 0.5483 GB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.4472, allocations: 0 / 0.5483 GB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/0.4473, allocations: 4.75 kB / 0.5483 GB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.4473, allocations: 0 / 0.5483 GB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.4473, allocations: 7.875 kB / 0.5483 GB, free: 13.29 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003493/0.4476, allocations: 248.8 kB / 0.5486 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.397e-05/0.4477, allocations: 21.52 kB / 0.5486 GB, free: 13.02 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.702e-05/0.4477, allocations: 4 kB / 0.5486 GB, free: 13.01 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.4478, allocations: 5.031 kB / 0.5486 GB, free: 13.01 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.8e-05/0.4478, allocations: 6.891 kB / 0.5486 GB, free: 13 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.4478, allocations: 4 kB / 0.5486 GB, free: 13 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002157/0.4481, allocations: 190.4 kB / 0.5488 GB, free: 12.83 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4481, allocations: 4 kB / 0.5488 GB, free: 12.83 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002705/0.4483, allocations: 36 kB / 0.5488 GB, free: 12.79 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.0006761/0.449, allocations: 0.7705 MB / 0.5496 GB, free: 12 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001902/0.4492, allocations: 69.98 kB / 0.5497 GB, free: 11.94 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.4492, allocations: 0 / 0.5497 GB, free: 11.94 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.902e-05/0.4493, allocations: 26.72 kB / 0.5497 GB, free: 11.92 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003801/0.4496, allocations: 61.27 kB / 0.5497 GB, free: 11.86 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002897/0.4525, allocations: 2.307 MB / 0.552 GB, free: 9.598 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001218/0.4527, allocations: 125 kB / 0.5521 GB, free: 9.48 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001226/0.4528, allocations: 29.23 kB / 0.5521 GB, free: 9.461 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/0.4529, allocations: 64.08 kB / 0.5522 GB, free: 9.402 MB / 398.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4529, allocations: 0 / 0.5522 GB, free: 9.402 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03267/0.4855, allocations: 5.5 MB / 0.5576 GB, free: 5.68 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.86, allocations: 7.016 kB / 0.5576 GB, free: 5.676 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.724603405687958] Failed to read output from testmodel.py, exit status != 0: 11.97614321205765 12.005021937 11.55821128 Calling exit ...