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.001382/0.001382, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.001633/0.001633, allocations: 216.8 kB / 23.03 MB, free: 4.949 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.475/1.475, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.1046/0.1046, allocations: 22.95 MB / 336.2 MB, free: 12.42 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="cs",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="cs",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.002051/0.002051, allocations: 63.91 kB / 472.2 MB, free: 7.871 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3003/0.3024, allocations: 59.28 MB / 0.519 GB, free: 10.59 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.0677/0.3701, allocations: 22.58 MB / 0.5411 GB, free: 2.668 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000663/0.3708, allocations: 205.4 kB / 0.5413 GB, free: 2.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001176/0.3709, allocations: 16.12 kB / 0.5413 GB, free: 2.512 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 8.046e-05/0.371, allocations: 25.75 kB / 0.5413 GB, free: 2.496 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002038/0.3712, allocations: 110.7 kB / 0.5414 GB, free: 2.418 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001183/0.3713, allocations: 39.5 kB / 0.5414 GB, free: 2.395 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002358/0.3715, allocations: 285.1 kB / 0.5417 GB, free: 2.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001871/0.3717, allocations: 114.3 kB / 0.5418 GB, free: 2.203 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001755/0.3719, allocations: 133.3 kB / 0.542 GB, free: 2.148 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001269/0.372, allocations: 94.5 kB / 0.542 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.871e-05/0.372, allocations: 13.91 kB / 0.5421 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.888e-05/0.3721, allocations: 12.94 kB / 0.5421 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.035e-05/0.3721, allocations: 33.48 kB / 0.5421 GB, free: 2.078 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.226e-05/0.3722, allocations: 87.39 kB / 0.5422 GB, free: 2.039 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002132/0.3724, allocations: 218.2 kB / 0.5424 GB, free: 1.953 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.3724, allocations: 4.875 kB / 0.5424 GB, free: 1.949 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.3724, allocations: 0 / 0.5424 GB, free: 1.949 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.053e-05/0.3724, allocations: 3.938 kB / 0.5424 GB, free: 1.945 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.0005738/0.373, allocations: 452 kB / 0.5428 GB, free: 1.566 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.373, allocations: 10.98 kB / 0.5428 GB, free: 1.566 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.434e-05/0.373, allocations: 7.234 kB / 0.5428 GB, free: 1.562 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.727e-05/0.3731, allocations: 46.38 kB / 0.5429 GB, free: 1.516 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.952e-05/0.3731, allocations: 24.67 kB / 0.5429 GB, free: 1.504 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002442/0.3733, allocations: 210.9 kB / 0.5431 GB, free: 1.316 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.3734, allocations: 9.875 kB / 0.5431 GB, free: 1.312 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.003e-05/0.3734, allocations: 12.62 kB / 0.5431 GB, free: 1.309 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002279/0.3736, allocations: 166.6 kB / 0.5433 GB, free: 1.195 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.3736, allocations: 3.938 kB / 0.5433 GB, free: 1.191 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.3736, allocations: 5.375 kB / 0.5433 GB, free: 1.188 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.3736, allocations: 4.125 kB / 0.5433 GB, free: 1.188 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001664/0.3738, allocations: 95.48 kB / 0.5434 GB, free: 1.156 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006312/0.3744, allocations: 0.7407 MB / 0.5441 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001519/0.3746, allocations: 75.62 kB / 0.5442 GB, free: 452 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.518e-05/0.3747, allocations: 36.17 kB / 0.5442 GB, free: 432 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.459e-05/0.3747, allocations: 1.156 kB / 0.5442 GB, free: 432 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.277e-05/0.3747, allocations: 36.94 kB / 0.5443 GB, free: 388 kB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.3747, allocations: 3.938 kB / 0.5443 GB, free: 384 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002861/0.375, allocations: 124.2 kB / 0.5444 GB, free: 312 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.011e-05/0.375, allocations: 61.05 kB / 0.5444 GB, free: 240 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002313/0.3752, allocations: 273.6 kB / 0.5447 GB, free: 76 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.696e-06/0.3752, allocations: 25.7 kB / 0.5447 GB, free: 44 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001243/0.3754, allocations: 146 kB / 0.5449 GB, free: 15.91 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.13e-05/0.3754, allocations: 30.73 kB / 0.5449 GB, free: 15.89 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.953e-05/0.3754, allocations: 32.41 kB / 0.5449 GB, free: 15.86 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.3756, allocations: 336 kB / 0.5453 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.497e-05/0.3757, allocations: 23.72 kB / 0.5453 GB, free: 15.53 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.943e-05/0.3758, allocations: 54.59 kB / 0.5453 GB, free: 15.49 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005761/0.3763, allocations: 158.5 kB / 0.5455 GB, free: 15.41 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.3763, allocations: 1.031 kB / 0.5455 GB, free: 15.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002337/0.3766, allocations: 134.1 kB / 0.5456 GB, free: 15.34 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.3766, allocations: 6.172 kB / 0.5456 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.3766, allocations: 1.25 kB / 0.5456 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.3766, allocations: 5.266 kB / 0.5456 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001766/0.3768, allocations: 31.23 kB / 0.5456 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.3768, allocations: 10.12 kB / 0.5457 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001033/0.3769, allocations: 16.64 kB / 0.5457 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.3769, allocations: 3.328 kB / 0.5457 GB, free: 15.31 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.0001913/0.3771, allocations: 137.8 kB / 0.5458 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.937e-05/0.3772, allocations: 23.77 kB / 0.5458 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.122e-05/0.3772, allocations: 27.61 kB / 0.5459 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.3772, allocations: 9.125 kB / 0.5459 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.3772, allocations: 0.6094 kB / 0.5459 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.3772, allocations: 0.5625 kB / 0.5459 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002819/0.3775, allocations: 199.2 kB / 0.5461 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3775, allocations: 0 / 0.5461 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001575/0.3777, allocations: 18.89 kB / 0.5461 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.3777, allocations: 0 / 0.5461 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.3777, allocations: 1.062 kB / 0.5461 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.614e-06/0.3777, allocations: 9.312 kB / 0.5461 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3777, allocations: 0 / 0.5461 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003263/0.378, allocations: 240.1 kB / 0.5463 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.516e-05/0.3781, allocations: 31.55 kB / 0.5463 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.493e-05/0.3781, allocations: 1.953 kB / 0.5463 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001144/0.3782, allocations: 5.344 kB / 0.5464 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.99e-05/0.3782, allocations: 5.375 kB / 0.5464 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.3782, allocations: 1.281 kB / 0.5464 GB, free: 14.74 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002037/0.3784, allocations: 198 kB / 0.5465 GB, free: 14.62 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3784, allocations: 0 / 0.5465 GB, free: 14.62 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002722/0.3787, allocations: 35.34 kB / 0.5466 GB, free: 14.62 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.0006498/0.3794, allocations: 0.7683 MB / 0.5473 GB, free: 13.91 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001869/0.3795, allocations: 73.88 kB / 0.5474 GB, free: 13.88 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3796, allocations: 0 / 0.5474 GB, free: 13.88 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.352e-05/0.3796, allocations: 30.91 kB / 0.5474 GB, free: 13.85 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003904/0.38, allocations: 63.14 kB / 0.5475 GB, free: 13.8 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002831/0.3828, allocations: 2.317 MB / 0.5498 GB, free: 11.53 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001252/0.383, allocations: 120.7 kB / 0.5499 GB, free: 11.41 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001117/0.3831, allocations: 28.97 kB / 0.5499 GB, free: 11.39 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001214/0.3832, allocations: 65.11 kB / 0.55 GB, free: 11.34 MB / 398.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3832, allocations: 0 / 0.55 GB, free: 11.34 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02765/0.4108, allocations: 5.153 MB / 0.555 GB, free: 8.129 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/12.16, allocations: 2.188 kB / 0.555 GB, free: 8.129 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.872317673987709] Failed to read output from testmodel.py, exit status != 0: 12.322725238045678 12.339112485 11.963507983 Calling exit ...