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: translateModel(AES.Devel_test_models.Test_HE_LiquidLiquid_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001") translateModel(AES.Devel_test_models.Test_HE_LiquidLiquid_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001511/0.001511, allocations: 108 kB / 15.6 MB, free: 132 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.001943/0.001943, allocations: 192.6 kB / 16.53 MB, free: 6.391 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.425/1.425, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2215/0.2215, allocations: 22.36 MB / 312.7 MB, free: 12.43 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002282/0.002282, allocations: 67.89 kB / 380.8 MB, free: 10.47 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3337/0.336, allocations: 54.93 MB / 435.8 MB, free: 39.66 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.03364/0.3697, allocations: 21.71 MB / 457.5 MB, free: 31.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008729/0.3706, allocations: 212.4 kB / 457.7 MB, free: 31.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001414/0.3707, allocations: 12.78 kB / 457.7 MB, free: 31.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 7.371e-05/0.3708, allocations: 27.23 kB / 457.7 MB, free: 31.79 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002112/0.371, allocations: 101.2 kB / 457.8 MB, free: 31.71 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00015/0.3712, allocations: 37.47 kB / 457.9 MB, free: 31.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002689/0.3715, allocations: 285.5 kB / 458.1 MB, free: 31.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002478/0.3717, allocations: 135.5 kB / 458.3 MB, free: 31.49 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001632/0.3719, allocations: 107.7 kB / 458.4 MB, free: 31.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001473/0.372, allocations: 95.11 kB / 458.5 MB, free: 31.4 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.403e-05/0.3721, allocations: 13.78 kB / 458.5 MB, free: 31.4 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.087e-05/0.3721, allocations: 17.03 kB / 458.5 MB, free: 31.39 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.59e-05/0.3722, allocations: 28.31 kB / 458.5 MB, free: 31.38 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001092/0.3723, allocations: 111.1 kB / 458.6 MB, free: 31.31 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000207/0.3725, allocations: 218.8 kB / 458.8 MB, free: 31.22 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3725, allocations: 1.188 kB / 458.8 MB, free: 31.22 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3725, allocations: 0 / 458.8 MB, free: 31.22 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.729e-05/0.3725, allocations: 0 / 458.8 MB, free: 31.22 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.0006441/0.3732, allocations: 0.507 MB / 459.4 MB, free: 30.76 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.3732, allocations: 10.12 kB / 459.4 MB, free: 30.76 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.034e-05/0.3733, allocations: 23.97 kB / 459.4 MB, free: 30.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002733/0.3736, allocations: 263.8 kB / 459.6 MB, free: 30.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.3736, allocations: 10 kB / 459.7 MB, free: 30.49 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.689e-05/0.3737, allocations: 13.16 kB / 459.7 MB, free: 30.49 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002841/0.3739, allocations: 175.4 kB / 459.8 MB, free: 30.36 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.374, allocations: 5.078 kB / 459.8 MB, free: 30.36 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.791e-05/0.374, allocations: 5.25 kB / 459.9 MB, free: 30.36 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.374, allocations: 6.562 kB / 459.9 MB, free: 30.36 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001965/0.3742, allocations: 91.33 kB / 459.9 MB, free: 30.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007458/0.375, allocations: 0.8147 MB / 460.8 MB, free: 29.6 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001524/0.3751, allocations: 78.5 kB / 460.8 MB, free: 29.55 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.725e-05/0.3752, allocations: 37.17 kB / 460.9 MB, free: 29.53 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.06e-05/0.3752, allocations: 9.094 kB / 460.9 MB, free: 29.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.688e-05/0.3752, allocations: 31.69 kB / 460.9 MB, free: 29.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.273e-06/0.3752, allocations: 3.938 kB / 460.9 MB, free: 29.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002781/0.3755, allocations: 130.8 kB / 461 MB, free: 29.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.697e-05/0.3756, allocations: 56.56 kB / 461.1 MB, free: 29.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002333/0.3758, allocations: 272 kB / 461.4 MB, free: 29.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.598e-06/0.3758, allocations: 25.7 kB / 461.4 MB, free: 29.15 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.329e-05/0.3759, allocations: 142.1 kB / 461.5 MB, free: 29.03 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.932e-05/0.3759, allocations: 33.2 kB / 461.6 MB, free: 29 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.124e-05/0.376, allocations: 26.97 kB / 461.6 MB, free: 28.98 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.882e-05/0.376, allocations: 333.6 kB / 461.9 MB, free: 28.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.329e-05/0.3761, allocations: 28.05 kB / 461.9 MB, free: 28.64 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.779e-05/0.3762, allocations: 47.97 kB / 462 MB, free: 28.61 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005081/0.3767, allocations: 160.1 kB / 462.1 MB, free: 28.53 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3767, allocations: 0 / 462.1 MB, free: 28.53 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001947/0.3769, allocations: 138.3 kB / 462.3 MB, free: 28.45 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.3769, allocations: 8.562 kB / 462.3 MB, free: 28.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.3769, allocations: 5.312 kB / 462.3 MB, free: 28.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.3769, allocations: 1.375 kB / 462.3 MB, free: 28.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001664/0.3771, allocations: 24.84 kB / 462.3 MB, free: 28.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.3771, allocations: 5.188 kB / 462.3 MB, free: 28.44 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.77e-05/0.3772, allocations: 12.94 kB / 462.3 MB, free: 28.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.417e-06/0.3772, allocations: 7.094 kB / 462.3 MB, free: 28.43 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.0001479/0.3774, allocations: 145.8 kB / 462.5 MB, free: 28.29 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.166e-05/0.3775, allocations: 19.31 kB / 462.5 MB, free: 28.28 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.058e-05/0.3775, allocations: 27.25 kB / 462.5 MB, free: 28.27 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.3775, allocations: 0.9062 kB / 462.5 MB, free: 28.27 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.3775, allocations: 3.938 kB / 462.5 MB, free: 28.26 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.3775, allocations: 0.8125 kB / 462.5 MB, free: 28.26 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001955/0.3777, allocations: 242.6 kB / 462.8 MB, free: 28.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3777, allocations: 0 / 462.8 MB, free: 28.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001451/0.3779, allocations: 23.69 kB / 462.8 MB, free: 28.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.3779, allocations: 0 / 462.8 MB, free: 28.04 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.3779, allocations: 9.281 kB / 462.8 MB, free: 28.03 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3779, allocations: 0 / 462.8 MB, free: 28.03 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.3779, allocations: 9.281 kB / 462.8 MB, free: 28.02 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002617/0.3782, allocations: 234.9 kB / 463 MB, free: 27.84 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.241e-05/0.3783, allocations: 101.7 kB / 463.1 MB, free: 27.73 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.503e-05/0.3783, allocations: 1.219 kB / 463.1 MB, free: 27.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.906e-05/0.3784, allocations: 4.062 kB / 463.2 MB, free: 27.73 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.065e-05/0.3784, allocations: 15.02 kB / 463.2 MB, free: 27.72 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.581e-06/0.3784, allocations: 1.344 kB / 463.2 MB, free: 27.72 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001515/0.3786, allocations: 189.3 kB / 463.4 MB, free: 27.61 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3786, allocations: 0 / 463.4 MB, free: 27.61 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002662/0.3789, allocations: 42.75 kB / 463.4 MB, free: 27.6 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.0001098/0.379, allocations: 100.6 kB / 463.5 MB, free: 27.5 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001947/0.3792, allocations: 82.36 kB / 463.6 MB, free: 27.47 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.3792, allocations: 4 kB / 463.6 MB, free: 27.47 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.476e-05/0.3793, allocations: 33.89 kB / 463.6 MB, free: 27.46 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003724/0.3796, allocations: 48.69 kB / 463.7 MB, free: 27.44 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008411/0.3805, allocations: 0.494 MB / 464.1 MB, free: 27.11 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001715/0.3807, allocations: 0.733 MB / 464.9 MB, free: 26.41 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001262/0.3808, allocations: 29.3 kB / 464.9 MB, free: 26.4 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.581e-05/0.3809, allocations: 19.47 kB / 464.9 MB, free: 26.39 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3809, allocations: 0 / 464.9 MB, free: 26.39 MB / 350.1 MB Notification: Performance of Templates: time 0.005154/0.386, allocations: 2.253 MB / 467.2 MB, free: 26.22 MB / 350.1 MB make -j1 -f AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001.makefile (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 & ./AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001.pipe 2>&1)