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.001905/0.001905, allocations: 104.3 kB / 19.72 MB, free: 1.922 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.002371/0.002371, allocations: 215.8 kB / 23.01 MB, free: 4.98 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.5/1.5, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.1101/0.1101, 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.003074/0.003074, allocations: 67.89 kB / 473.8 MB, free: 6.379 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3539/0.357, allocations: 59.58 MB / 0.5209 GB, free: 10.14 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.06932/0.4263, allocations: 22.95 MB / 0.5433 GB, free: 2.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008572/0.4272, allocations: 211.8 kB / 0.5435 GB, free: 1.863 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001358/0.4273, allocations: 19.12 kB / 0.5435 GB, free: 1.852 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 8.574e-05/0.4274, allocations: 28.3 kB / 0.5436 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002282/0.4276, allocations: 105.4 kB / 0.5437 GB, free: 1.762 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001335/0.4277, allocations: 38.11 kB / 0.5437 GB, free: 1.742 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002599/0.428, allocations: 287.9 kB / 0.544 GB, free: 1.594 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000242/0.4282, allocations: 107.2 kB / 0.5441 GB, free: 1.551 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002212/0.4285, allocations: 135.1 kB / 0.5442 GB, free: 1.492 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001349/0.4286, allocations: 81.31 kB / 0.5443 GB, free: 1.426 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.311e-05/0.4286, allocations: 15.94 kB / 0.5443 GB, free: 1.41 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.667e-05/0.4287, allocations: 12 kB / 0.5443 GB, free: 1.398 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.959e-05/0.4287, allocations: 33.55 kB / 0.5444 GB, free: 1.371 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.986e-05/0.4288, allocations: 89.39 kB / 0.5444 GB, free: 1.289 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002055/0.429, allocations: 230.2 kB / 0.5447 GB, free: 1.125 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.429, allocations: 0 / 0.5447 GB, free: 1.125 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.429, allocations: 0 / 0.5447 GB, free: 1.125 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.429, allocations: 0 / 0.5447 GB, free: 1.125 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.0005718/0.4296, allocations: 447.4 kB / 0.5451 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/0.4296, allocations: 8.922 kB / 0.5451 GB, free: 0.668 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.425e-05/0.4296, allocations: 45.66 kB / 0.5451 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.641e-05/0.4297, allocations: 29.78 kB / 0.5452 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002509/0.4299, allocations: 209.6 kB / 0.5454 GB, free: 388 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.4299, allocations: 12.38 kB / 0.5454 GB, free: 376 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.787e-05/0.43, allocations: 12.38 kB / 0.5454 GB, free: 364 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002119/0.4302, allocations: 165.3 kB / 0.5455 GB, free: 196 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.4302, allocations: 0 / 0.5455 GB, free: 196 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.4302, allocations: 8 kB / 0.5456 GB, free: 188 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.4302, allocations: 4 kB / 0.5456 GB, free: 184 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001584/0.4304, allocations: 97.58 kB / 0.5456 GB, free: 100 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009447/0.4313, allocations: 0.7417 MB / 0.5464 GB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001942/0.4315, allocations: 76.95 kB / 0.5464 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.071e-05/0.4316, allocations: 35.91 kB / 0.5465 GB, free: 15.23 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.604e-05/0.4316, allocations: 0 / 0.5465 GB, free: 15.23 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/0.4316, allocations: 35.27 kB / 0.5465 GB, free: 15.19 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 8.92e-07/0.4316, allocations: 3.938 kB / 0.5465 GB, free: 15.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003385/0.432, allocations: 137.3 kB / 0.5466 GB, free: 15.05 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/0.432, allocations: 59.34 kB / 0.5467 GB, free: 14.98 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003321/0.4324, allocations: 270.4 kB / 0.547 GB, free: 14.73 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/0.4324, allocations: 25.7 kB / 0.547 GB, free: 14.7 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001333/0.4325, allocations: 147.5 kB / 0.5471 GB, free: 14.56 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.635e-05/0.4326, allocations: 34.7 kB / 0.5472 GB, free: 14.53 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.813e-05/0.4326, allocations: 31.03 kB / 0.5472 GB, free: 14.5 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001834/0.4328, allocations: 334.6 kB / 0.5475 GB, free: 14.17 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.94e-05/0.4329, allocations: 26.72 kB / 0.5475 GB, free: 14.14 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.677e-05/0.4329, allocations: 55.39 kB / 0.5476 GB, free: 14.09 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005966/0.4335, allocations: 158.9 kB / 0.5477 GB, free: 13.94 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.4335, allocations: 0 / 0.5477 GB, free: 13.94 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002444/0.4338, allocations: 140 kB / 0.5479 GB, free: 13.8 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.4338, allocations: 6.656 kB / 0.5479 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.4338, allocations: 4.672 kB / 0.5479 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.4338, allocations: 4 kB / 0.5479 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001868/0.434, allocations: 27.41 kB / 0.5479 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.434, allocations: 3.938 kB / 0.5479 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/0.4341, allocations: 24.5 kB / 0.5479 GB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.295e-06/0.4341, allocations: 0 / 0.5479 GB, free: 13.74 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.0002092/0.4343, allocations: 140.5 kB / 0.5481 GB, free: 13.6 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.47e-05/0.4344, allocations: 23.86 kB / 0.5481 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.716e-05/0.4344, allocations: 25.67 kB / 0.5481 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.307e-06/0.4344, allocations: 0 / 0.5481 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.4345, allocations: 7.938 kB / 0.5481 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.4345, allocations: 0.9375 kB / 0.5481 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002961/0.4348, allocations: 199 kB / 0.5483 GB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.4348, allocations: 4 kB / 0.5483 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001486/0.4349, allocations: 14.58 kB / 0.5483 GB, free: 13.31 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.4349, allocations: 4 kB / 0.5483 GB, free: 13.31 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.4349, allocations: 0.7031 kB / 0.5483 GB, free: 13.31 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.4349, allocations: 4 kB / 0.5483 GB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.4349, allocations: 3.938 kB / 0.5484 GB, free: 13.3 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003437/0.4353, allocations: 240.3 kB / 0.5486 GB, free: 13.06 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.561e-05/0.4353, allocations: 18 kB / 0.5486 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.802e-05/0.4354, allocations: 12 kB / 0.5486 GB, free: 13.03 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.4355, allocations: 0.6562 kB / 0.5486 GB, free: 13.03 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.141e-05/0.4355, allocations: 6.844 kB / 0.5486 GB, free: 13.03 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.209e-06/0.4355, allocations: 4 kB / 0.5486 GB, free: 13.02 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000201/0.4357, allocations: 203.2 kB / 0.5488 GB, free: 12.84 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4357, allocations: 3.938 kB / 0.5488 GB, free: 12.84 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002728/0.436, allocations: 36.06 kB / 0.5489 GB, free: 12.8 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.0007308/0.4367, allocations: 0.7695 MB / 0.5496 GB, free: 12.02 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001995/0.4369, allocations: 66.05 kB / 0.5497 GB, free: 11.96 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.4369, allocations: 0 / 0.5497 GB, free: 11.96 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.428e-05/0.437, allocations: 35.45 kB / 0.5497 GB, free: 11.93 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004114/0.4374, allocations: 52.09 kB / 0.5497 GB, free: 11.88 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002897/0.4403, allocations: 2.309 MB / 0.552 GB, free: 9.613 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001473/0.4404, allocations: 120.9 kB / 0.5521 GB, free: 9.5 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001297/0.4406, allocations: 25.06 kB / 0.5521 GB, free: 9.484 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001162/0.4407, allocations: 68.73 kB / 0.5522 GB, free: 9.422 MB / 398.1 MB Notification: Performance of SimCode: time 9.62e-07/0.4407, allocations: 0 / 0.5522 GB, free: 9.422 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03657/0.4772, allocations: 5.488 MB / 0.5576 GB, free: 5.707 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/12.05, allocations: 15.08 kB / 0.5576 GB, free: 5.699 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.803776321932673] Failed to read output from testmodel.py, exit status != 0: 12.161218767985702 12.187815368 11.753742177 Calling exit ...