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.001398/0.001398, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001818/0.001818, allocations: 216.7 kB / 22.25 MB, free: 5.078 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.47/1.47, allocations: 230.6 MB / 256 MB, free: 8.004 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.1079/0.1079, allocations: 24.12 MB / 336.6 MB, free: 11.44 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.002235/0.002235, allocations: 71.91 kB / 473.3 MB, free: 6.375 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3649/0.3671, allocations: 59.58 MB / 0.5204 GB, free: 10.19 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.03409/0.4012, allocations: 22.91 MB / 0.5428 GB, free: 1.953 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007461/0.4019, allocations: 219.4 kB / 0.543 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001274/0.4021, allocations: 16.19 kB / 0.543 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 8.093e-05/0.4021, allocations: 27.84 kB / 0.543 GB, free: 1.766 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002104/0.4024, allocations: 105.3 kB / 0.5431 GB, free: 1.695 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001278/0.4025, allocations: 38.8 kB / 0.5432 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002546/0.4027, allocations: 288.2 kB / 0.5435 GB, free: 1.523 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001905/0.4029, allocations: 114.9 kB / 0.5436 GB, free: 1.473 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001934/0.4031, allocations: 126.8 kB / 0.5437 GB, free: 1.426 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001486/0.4033, allocations: 93.83 kB / 0.5438 GB, free: 1.379 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.786e-05/0.4033, allocations: 13.88 kB / 0.5438 GB, free: 1.379 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.532e-05/0.4033, allocations: 14.38 kB / 0.5438 GB, free: 1.379 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.31e-05/0.4034, allocations: 38.03 kB / 0.5438 GB, free: 1.352 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.524e-05/0.4035, allocations: 110.2 kB / 0.5439 GB, free: 1.289 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002246/0.4037, allocations: 219.9 kB / 0.5441 GB, free: 1.191 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.4037, allocations: 0 / 0.5441 GB, free: 1.191 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.4037, allocations: 0 / 0.5441 GB, free: 1.191 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.4037, allocations: 0 / 0.5441 GB, free: 1.191 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.0005638/0.4043, allocations: 443.6 kB / 0.5446 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.4043, allocations: 16.86 kB / 0.5446 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.518e-05/0.4043, allocations: 50.88 kB / 0.5446 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.712e-05/0.4044, allocations: 28.8 kB / 0.5447 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002593/0.4046, allocations: 206.9 kB / 0.5449 GB, free: 448 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.4047, allocations: 9.406 kB / 0.5449 GB, free: 440 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.984e-05/0.4047, allocations: 16.36 kB / 0.5449 GB, free: 424 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002223/0.4049, allocations: 171 kB / 0.545 GB, free: 252 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.4049, allocations: 4 kB / 0.5451 GB, free: 248 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.4049, allocations: 4 kB / 0.5451 GB, free: 244 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.4049, allocations: 4 kB / 0.5451 GB, free: 240 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000157/0.4051, allocations: 91.8 kB / 0.5451 GB, free: 160 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008645/0.406, allocations: 0.7745 MB / 0.5459 GB, free: 15.39 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001643/0.4061, allocations: 69.56 kB / 0.546 GB, free: 15.32 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.398e-05/0.4062, allocations: 35.81 kB / 0.546 GB, free: 15.28 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.968e-05/0.4062, allocations: 8 kB / 0.546 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/0.4062, allocations: 35.25 kB / 0.546 GB, free: 15.23 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/0.4062, allocations: 0 / 0.546 GB, free: 15.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003132/0.4066, allocations: 124.6 kB / 0.5462 GB, free: 15.11 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/0.4066, allocations: 56.14 kB / 0.5462 GB, free: 15.04 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002989/0.4069, allocations: 270 kB / 0.5465 GB, free: 14.8 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.4069, allocations: 25.7 kB / 0.5465 GB, free: 14.77 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/0.407, allocations: 143.5 kB / 0.5466 GB, free: 14.63 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.469e-05/0.4071, allocations: 34.89 kB / 0.5467 GB, free: 14.6 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.329e-05/0.4071, allocations: 31.27 kB / 0.5467 GB, free: 14.56 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.4073, allocations: 338.4 kB / 0.547 GB, free: 14.23 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.693e-05/0.4073, allocations: 30.77 kB / 0.5471 GB, free: 14.2 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.834e-05/0.4074, allocations: 55.48 kB / 0.5471 GB, free: 14.14 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005341/0.408, allocations: 162.6 kB / 0.5473 GB, free: 14 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.408, allocations: 0 / 0.5473 GB, free: 14 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002326/0.4082, allocations: 132.3 kB / 0.5474 GB, free: 13.87 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.4082, allocations: 8.062 kB / 0.5474 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.4082, allocations: 4 kB / 0.5474 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.4082, allocations: 0.6562 kB / 0.5474 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001704/0.4084, allocations: 28.17 kB / 0.5474 GB, free: 13.83 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.4084, allocations: 3.938 kB / 0.5474 GB, free: 13.83 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.769e-05/0.4085, allocations: 19.83 kB / 0.5474 GB, free: 13.81 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-06/0.4085, allocations: 4 kB / 0.5475 GB, free: 13.8 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.0001779/0.4087, allocations: 139.3 kB / 0.5476 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.992e-05/0.4087, allocations: 29.12 kB / 0.5476 GB, free: 13.63 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.381e-05/0.4088, allocations: 20.66 kB / 0.5476 GB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.4088, allocations: 4 kB / 0.5476 GB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.782e-06/0.4088, allocations: 4.734 kB / 0.5476 GB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.4088, allocations: 0 / 0.5476 GB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000281/0.4091, allocations: 210.6 kB / 0.5478 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.4091, allocations: 0 / 0.5478 GB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001492/0.4092, allocations: 19.28 kB / 0.5479 GB, free: 13.38 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.4092, allocations: 4 kB / 0.5479 GB, free: 13.37 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-06/0.4092, allocations: 0 / 0.5479 GB, free: 13.37 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.4092, allocations: 0 / 0.5479 GB, free: 13.37 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.4092, allocations: 3.938 kB / 0.5479 GB, free: 13.37 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00032/0.4096, allocations: 240.3 kB / 0.5481 GB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.391e-05/0.4096, allocations: 25.8 kB / 0.5481 GB, free: 13.1 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.717e-05/0.4096, allocations: 8.938 kB / 0.5481 GB, free: 13.09 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.4097, allocations: 0 / 0.5481 GB, free: 13.09 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.764e-05/0.4098, allocations: 11.05 kB / 0.5481 GB, free: 13.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-06/0.4098, allocations: 4 kB / 0.5481 GB, free: 13.08 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002004/0.41, allocations: 195.1 kB / 0.5483 GB, free: 12.91 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.41, allocations: 3.938 kB / 0.5483 GB, free: 12.91 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002714/0.4102, allocations: 39.94 kB / 0.5484 GB, free: 12.87 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.000668/0.4109, allocations: 0.7776 MB / 0.5491 GB, free: 12.07 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002093/0.4111, allocations: 73.92 kB / 0.5492 GB, free: 12 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.4111, allocations: 0 / 0.5492 GB, free: 12 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.079e-05/0.4112, allocations: 26.81 kB / 0.5492 GB, free: 11.98 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003846/0.4116, allocations: 59 kB / 0.5493 GB, free: 11.93 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003048/0.4146, allocations: 2.315 MB / 0.5515 GB, free: 9.66 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004259/0.415, allocations: 0.7309 MB / 0.5523 GB, free: 8.926 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001188/0.4152, allocations: 29.23 kB / 0.5523 GB, free: 8.906 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001031/0.4153, allocations: 64.78 kB / 0.5523 GB, free: 8.848 MB / 398.1 MB Notification: Performance of SimCode: time 3.1e-07/0.4153, allocations: 0 / 0.5523 GB, free: 8.848 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03349/0.4488, allocations: 4.842 MB / 0.5571 GB, free: 5.738 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/12.06, allocations: 6.5 kB / 0.5571 GB, free: 5.734 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_HE_LiquidLiquid_001_fmu --startTime=0 --stopTime=10000 --stepSize=100 --timeout=50 --tolerance=1e-06 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.716021300060675] Failed to read output from testmodel.py, exit status != 0: 12.162881182972342 12.189740009 11.781103593 Calling exit ...