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.0008847/0.0008847, allocations: 76.55 kB / 19.95 MB, free: 4.609 MB / 18.57 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.001082/0.001082, allocations: 169.2 kB / 23.23 MB, free: 1.328 MB / 18.57 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 0.8569/0.8569, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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.06195/0.06195, allocations: 18.13 MB / 278.1 MB, free: 11.54 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 415.1 MB, free: 12.66 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.531e-05/1.672e-05, allocations: 4.078 kB / 415.1 MB, free: 12.66 MB / 330.7 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.0175/0.01752, allocations: 23.22 MB / 438.3 MB, free: 15.84 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005745/0.0181, allocations: 213.5 kB / 438.5 MB, free: 15.66 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001148/0.01821, allocations: 19.81 kB / 438.5 MB, free: 15.64 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 6.278e-05/0.01827, allocations: 29.22 kB / 438.5 MB, free: 15.62 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001744/0.01845, allocations: 110.9 kB / 438.7 MB, free: 15.54 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001222/0.01857, allocations: 36.94 kB / 438.7 MB, free: 15.51 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002052/0.01877, allocations: 303.6 kB / 439 MB, free: 15.24 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001826/0.01896, allocations: 108.5 kB / 439.1 MB, free: 15.16 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001597/0.01912, allocations: 128.6 kB / 439.2 MB, free: 15.05 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.874e-05/0.01922, allocations: 69.34 kB / 439.3 MB, free: 14.99 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.775e-05/0.01924, allocations: 12 kB / 439.3 MB, free: 14.98 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.906e-05/0.01926, allocations: 16 kB / 439.3 MB, free: 14.96 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.595e-05/0.01929, allocations: 29.12 kB / 439.3 MB, free: 14.94 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.522e-05/0.01934, allocations: 73.91 kB / 439.4 MB, free: 14.88 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001954/0.01954, allocations: 221.4 kB / 439.6 MB, free: 14.72 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.01954, allocations: 0 / 439.6 MB, free: 14.72 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.01954, allocations: 4 kB / 439.6 MB, free: 14.72 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.678e-06/0.01955, allocations: 0 / 439.6 MB, free: 14.72 MB / 346.7 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.0004926/0.02004, allocations: 443.6 kB / 440.1 MB, free: 14.27 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.02008, allocations: 8.922 kB / 440.1 MB, free: 14.27 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.638e-05/0.02011, allocations: 45.98 kB / 440.1 MB, free: 14.21 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.151e-05/0.02014, allocations: 24.8 kB / 440.1 MB, free: 14.19 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002255/0.02037, allocations: 207.5 kB / 440.3 MB, free: 13.98 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.02038, allocations: 12.38 kB / 440.4 MB, free: 13.97 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.192e-05/0.0204, allocations: 12.38 kB / 440.4 MB, free: 13.96 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001934/0.0206, allocations: 167.7 kB / 440.5 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.0206, allocations: 192 / 440.5 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.02062, allocations: 12.12 kB / 440.5 MB, free: 13.78 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.02062, allocations: 4 kB / 440.6 MB, free: 13.78 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001323/0.02076, allocations: 92.22 kB / 440.6 MB, free: 13.7 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005748/0.02133, allocations: 0.7488 MB / 441.4 MB, free: 12.94 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001189/0.02145, allocations: 68.95 kB / 441.5 MB, free: 12.87 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.559e-05/0.02149, allocations: 36.19 kB / 441.5 MB, free: 12.83 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.727e-06/0.0215, allocations: 4 kB / 441.5 MB, free: 12.83 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.862e-05/0.02152, allocations: 31.27 kB / 441.5 MB, free: 12.79 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 1.072e-06/0.02152, allocations: 0 / 441.5 MB, free: 12.79 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002036/0.02173, allocations: 129 kB / 441.7 MB, free: 12.66 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.734e-05/0.02175, allocations: 55.97 kB / 441.7 MB, free: 12.6 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000187/0.02194, allocations: 269.7 kB / 442 MB, free: 12.35 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.02196, allocations: 30.45 kB / 442 MB, free: 12.32 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.427e-05/0.02203, allocations: 146.9 kB / 442.1 MB, free: 12.18 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.994e-05/0.02205, allocations: 34.33 kB / 442.2 MB, free: 12.14 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.363e-05/0.02208, allocations: 23.78 kB / 442.2 MB, free: 12.12 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.319e-05/0.02217, allocations: 338.5 kB / 442.5 MB, free: 11.79 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.898e-05/0.02221, allocations: 34.69 kB / 442.6 MB, free: 11.75 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.891e-05/0.02226, allocations: 54.7 kB / 442.6 MB, free: 11.7 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003239/0.02258, allocations: 155 kB / 442.8 MB, free: 11.56 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.02258, allocations: 4 kB / 442.8 MB, free: 11.55 MB / 346.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001387/0.02272, allocations: 136.3 kB / 442.9 MB, free: 11.42 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.02273, allocations: 4.625 kB / 442.9 MB, free: 11.42 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.02274, allocations: 8.016 kB / 442.9 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.02275, allocations: 4 kB / 442.9 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.871e-05/0.02285, allocations: 31.94 kB / 443 MB, free: 11.38 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.02285, allocations: 7.984 kB / 443 MB, free: 11.37 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.462e-05/0.02291, allocations: 16.64 kB / 443 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-06/0.02292, allocations: 11.94 kB / 443 MB, free: 11.34 MB / 346.7 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.0001277/0.02304, allocations: 127.4 kB / 443.1 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.531e-05/0.02307, allocations: 24.38 kB / 443.1 MB, free: 11.19 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.907e-05/0.0231, allocations: 29.42 kB / 443.2 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.0231, allocations: 4 kB / 443.2 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.0231, allocations: 0.7969 kB / 443.2 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.02311, allocations: 0 / 443.2 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001587/0.02327, allocations: 203 kB / 443.4 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.02327, allocations: 0 / 443.4 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.211e-05/0.02335, allocations: 22.98 kB / 443.4 MB, free: 10.91 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.02335, allocations: 0 / 443.4 MB, free: 10.91 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.497e-06/0.02336, allocations: 4.75 kB / 443.4 MB, free: 10.91 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.41e-07/0.02336, allocations: 0 / 443.4 MB, free: 10.91 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.02336, allocations: 0 / 443.4 MB, free: 10.91 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001924/0.02355, allocations: 244.2 kB / 443.6 MB, free: 10.66 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.861e-05/0.02358, allocations: 25.86 kB / 443.7 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.793e-05/0.0236, allocations: 0.6562 kB / 443.7 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.415e-05/0.02365, allocations: 0.7969 kB / 443.7 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.854e-05/0.02367, allocations: 6.484 kB / 443.7 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.02368, allocations: 4 kB / 443.7 MB, free: 10.63 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000117/0.02379, allocations: 195.1 kB / 443.9 MB, free: 10.46 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02379, allocations: 3.938 kB / 443.9 MB, free: 10.46 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001778/0.02397, allocations: 43.88 kB / 443.9 MB, free: 10.42 MB / 346.7 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.0003348/0.02431, allocations: 0.7655 MB / 444.7 MB, free: 9.637 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001219/0.02443, allocations: 70.5 kB / 444.7 MB, free: 9.574 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.02443, allocations: 0 / 444.7 MB, free: 9.574 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.571e-05/0.02447, allocations: 34.98 kB / 444.8 MB, free: 9.543 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002528/0.02472, allocations: 62.81 kB / 444.8 MB, free: 9.484 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001677/0.0264, allocations: 2.244 MB / 447.1 MB, free: 7.281 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.55e-05/0.02647, allocations: 125.1 kB / 447.2 MB, free: 7.164 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.351e-05/0.02654, allocations: 28.81 kB / 447.2 MB, free: 7.141 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.269e-05/0.02662, allocations: 66.22 kB / 447.3 MB, free: 7.082 MB / 346.7 MB Notification: Performance of SimCode: time 6.11e-07/0.02662, allocations: 0 / 447.3 MB, free: 7.082 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01968/0.0463, allocations: 5.589 MB / 452.9 MB, free: 2.879 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.089/7.136, allocations: 5.625 kB / 452.9 MB, free: 2.879 MB / 346.7 MB " [Timeout remaining time 653] (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: 9.039118052460253] Failed to read output from testmodel.py, exit status != 0: 7.21750495955348 7.229165958 7.207002321 Calling exit ...