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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001113/0.001112, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001113/0.001114, allocations: 199.7 kB / 16.54 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.218/0.218, allocations: 22.34 MB / 312.7 MB, free: 12.53 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001651/0.001651, allocations: 71.89 kB / 380.9 MB, free: 10.49 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2921/0.2938, allocations: 54.94 MB / 435.9 MB, free: 39.81 MB / 350.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.02951/0.3234, allocations: 21.7 MB / 457.6 MB, free: 32.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006794/0.3241, allocations: 215.9 kB / 457.8 MB, free: 31.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001282/0.3242, allocations: 11.91 kB / 457.8 MB, free: 31.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.379e-05/0.3243, allocations: 27.69 kB / 457.8 MB, free: 31.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001958/0.3245, allocations: 100.5 kB / 457.9 MB, free: 31.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001385/0.3246, allocations: 37.56 kB / 458 MB, free: 31.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002377/0.3249, allocations: 288.4 kB / 458.2 MB, free: 31.69 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002356/0.3251, allocations: 133.4 kB / 458.4 MB, free: 31.63 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001543/0.3253, allocations: 111.2 kB / 458.5 MB, free: 31.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001403/0.3254, allocations: 91.17 kB / 458.6 MB, free: 31.54 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.271e-05/0.3255, allocations: 13.06 kB / 458.6 MB, free: 31.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.287e-05/0.3255, allocations: 13.12 kB / 458.6 MB, free: 31.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.154e-05/0.3256, allocations: 35.84 kB / 458.6 MB, free: 31.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001009/0.3257, allocations: 115.7 kB / 458.7 MB, free: 31.45 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001819/0.3259, allocations: 211.2 kB / 458.9 MB, free: 31.37 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.3259, allocations: 1 kB / 458.9 MB, free: 31.37 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3259, allocations: 0 / 458.9 MB, free: 31.37 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.3259, allocations: 0 / 458.9 MB, free: 31.37 MB / 350.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.0006125/0.3265, allocations: 0.5079 MB / 459.5 MB, free: 30.9 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.3266, allocations: 8.656 kB / 459.5 MB, free: 30.9 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.114e-05/0.3266, allocations: 46.28 kB / 459.5 MB, free: 30.86 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.445e-05/0.3267, allocations: 24.56 kB / 459.5 MB, free: 30.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002258/0.3269, allocations: 266.5 kB / 459.8 MB, free: 30.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.3269, allocations: 9.844 kB / 459.8 MB, free: 30.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.867e-05/0.3269, allocations: 17 kB / 459.8 MB, free: 30.58 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002308/0.3272, allocations: 174.9 kB / 460 MB, free: 30.46 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.3272, allocations: 1.156 kB / 460 MB, free: 30.46 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.508e-05/0.3272, allocations: 9 kB / 460 MB, free: 30.45 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.3272, allocations: 3.75 kB / 460 MB, free: 30.45 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001718/0.3274, allocations: 92.94 kB / 460.1 MB, free: 30.42 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006492/0.3281, allocations: 0.8063 MB / 460.9 MB, free: 29.7 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001458/0.3282, allocations: 74.05 kB / 461 MB, free: 29.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.823e-05/0.3283, allocations: 45.84 kB / 461 MB, free: 29.63 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.065e-05/0.3283, allocations: 1.438 kB / 461 MB, free: 29.63 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/0.3283, allocations: 39.22 kB / 461.1 MB, free: 29.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.3284, allocations: 0 / 461.1 MB, free: 29.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002621/0.3286, allocations: 126.8 kB / 461.2 MB, free: 29.51 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.586e-05/0.3287, allocations: 60.81 kB / 461.2 MB, free: 29.44 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002239/0.3289, allocations: 267.8 kB / 461.5 MB, free: 29.29 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.528e-06/0.3289, allocations: 29.7 kB / 461.5 MB, free: 29.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.386e-05/0.329, allocations: 137.1 kB / 461.7 MB, free: 29.13 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.116e-05/0.329, allocations: 35.2 kB / 461.7 MB, free: 29.11 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.092e-05/0.329, allocations: 24.66 kB / 461.7 MB, free: 29.09 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.298e-05/0.3291, allocations: 335.2 kB / 462.1 MB, free: 28.76 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.598e-05/0.3292, allocations: 24.41 kB / 462.1 MB, free: 28.75 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.968e-05/0.3292, allocations: 55.25 kB / 462.1 MB, free: 28.71 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000486/0.3297, allocations: 162.9 kB / 462.3 MB, free: 28.63 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3297, allocations: 5.594 kB / 462.3 MB, free: 28.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001901/0.3299, allocations: 137.7 kB / 462.4 MB, free: 28.55 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.33, allocations: 7.281 kB / 462.4 MB, free: 28.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.85e-06/0.33, allocations: 1.5 kB / 462.4 MB, free: 28.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.33, allocations: 1.469 kB / 462.4 MB, free: 28.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001618/0.3302, allocations: 23.67 kB / 462.5 MB, free: 28.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.3302, allocations: 6.812 kB / 462.5 MB, free: 28.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.176e-05/0.3303, allocations: 22.8 kB / 462.5 MB, free: 28.53 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.3303, allocations: 3.094 kB / 462.5 MB, free: 28.53 MB / 350.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.000131/0.3304, allocations: 143.5 kB / 462.6 MB, free: 28.39 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.144e-05/0.3305, allocations: 21.75 kB / 462.7 MB, free: 28.38 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.886e-05/0.3305, allocations: 24.38 kB / 462.7 MB, free: 28.36 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.3305, allocations: 1.625 kB / 462.7 MB, free: 28.36 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.3305, allocations: 11.92 kB / 462.7 MB, free: 28.35 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.3305, allocations: 3.328 kB / 462.7 MB, free: 28.35 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001891/0.3307, allocations: 245.4 kB / 462.9 MB, free: 28.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3307, allocations: 0 / 462.9 MB, free: 28.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001504/0.3309, allocations: 18.92 kB / 463 MB, free: 28.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.3309, allocations: 1.125 kB / 463 MB, free: 28.12 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.3309, allocations: 5.031 kB / 463 MB, free: 28.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/0.3309, allocations: 1.031 kB / 463 MB, free: 28.12 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.3309, allocations: 3.938 kB / 463 MB, free: 28.12 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002369/0.3312, allocations: 239 kB / 463.2 MB, free: 27.93 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.203e-05/0.3312, allocations: 98.52 kB / 463.3 MB, free: 27.82 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.27e-05/0.3313, allocations: 1.188 kB / 463.3 MB, free: 27.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.3314, allocations: 8.516 kB / 463.3 MB, free: 27.82 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.214e-05/0.3314, allocations: 6.156 kB / 463.3 MB, free: 27.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.533e-06/0.3314, allocations: 6.219 kB / 463.3 MB, free: 27.81 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001381/0.3316, allocations: 193.2 kB / 463.5 MB, free: 27.7 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3316, allocations: 0 / 463.5 MB, free: 27.7 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00026/0.3318, allocations: 42.41 kB / 463.5 MB, free: 27.69 MB / 350.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.0003679/0.3322, allocations: 0.768 MB / 464.3 MB, free: 26.98 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001797/0.3324, allocations: 72.83 kB / 464.4 MB, free: 26.95 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3324, allocations: 0.9062 kB / 464.4 MB, free: 26.95 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.165e-05/0.3325, allocations: 34.23 kB / 464.4 MB, free: 26.94 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003555/0.3328, allocations: 53.7 kB / 464.5 MB, free: 26.92 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002077/0.3349, allocations: 2.305 MB / 466.8 MB, free: 25.25 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001398/0.3351, allocations: 0.7333 MB / 467.5 MB, free: 24.55 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001187/0.3352, allocations: 31.34 kB / 467.5 MB, free: 24.54 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.966e-05/0.3353, allocations: 68.97 kB / 467.6 MB, free: 24.49 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3353, allocations: 3.938 kB / 467.6 MB, free: 24.49 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02078/0.3561, allocations: 4.562 MB / 472.2 MB, free: 22.24 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.45/7.806, allocations: 12.41 kB / 472.2 MB, free: 22.23 MB / 350.1 MB (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)