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.001547/0.001547, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00205/0.002051, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.384/1.384, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2052/0.2052, allocations: 22.35 MB / 312.3 MB, free: 12.7 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 67.89 kB / 380.1 MB, free: 11.12 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2596/0.2608, allocations: 54.94 MB / 435 MB, free: 39.54 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.03046/0.2913, allocations: 21.96 MB / 457 MB, free: 31.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006734/0.2919, allocations: 245.2 kB / 457.2 MB, free: 31.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002615/0.2922, allocations: 12 kB / 457.3 MB, free: 31.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001043/0.2923, allocations: 19.75 kB / 457.3 MB, free: 31.47 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002744/0.2926, allocations: 90.78 kB / 457.4 MB, free: 31.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001735/0.2928, allocations: 30.66 kB / 457.4 MB, free: 31.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003063/0.2931, allocations: 279.8 kB / 457.7 MB, free: 31.24 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002489/0.2934, allocations: 108.3 kB / 457.8 MB, free: 31.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000246/0.2936, allocations: 122.6 kB / 457.9 MB, free: 31.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001768/0.2938, allocations: 90.75 kB / 458 MB, free: 31.1 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.18e-05/0.2939, allocations: 10.25 kB / 458 MB, free: 31.1 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.847e-05/0.2939, allocations: 9.875 kB / 458 MB, free: 31.1 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.513e-05/0.294, allocations: 35.08 kB / 458 MB, free: 31.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001145/0.2941, allocations: 99.27 kB / 458.1 MB, free: 31.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002036/0.2943, allocations: 210.1 kB / 458.3 MB, free: 30.94 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.2943, allocations: 0 / 458.3 MB, free: 30.94 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.2943, allocations: 3.938 kB / 458.3 MB, free: 30.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.2943, allocations: 1.156 kB / 458.3 MB, free: 30.93 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.0006618/0.295, allocations: 0.5109 MB / 458.9 MB, free: 30.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.295, allocations: 8.906 kB / 458.9 MB, free: 30.46 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.426e-05/0.2951, allocations: 24.62 kB / 458.9 MB, free: 30.45 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002674/0.2954, allocations: 267.3 kB / 459.1 MB, free: 30.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.2954, allocations: 9.781 kB / 459.2 MB, free: 30.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.795e-05/0.2954, allocations: 12.19 kB / 459.2 MB, free: 30.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002567/0.2957, allocations: 173 kB / 459.3 MB, free: 30.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.2957, allocations: 3.938 kB / 459.3 MB, free: 30.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.2958, allocations: 6.594 kB / 459.3 MB, free: 30.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.2958, allocations: 2.438 kB / 459.3 MB, free: 30.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001978/0.296, allocations: 90.36 kB / 459.4 MB, free: 30.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008299/0.2968, allocations: 0.8133 MB / 460.3 MB, free: 29.31 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001666/0.297, allocations: 78.02 kB / 460.3 MB, free: 29.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.299e-05/0.2971, allocations: 46.45 kB / 460.4 MB, free: 29.24 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.328e-05/0.2971, allocations: 5.094 kB / 460.4 MB, free: 29.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.397e-05/0.2971, allocations: 31.62 kB / 460.4 MB, free: 29.2 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.262e-06/0.2971, allocations: 0 / 460.4 MB, free: 29.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003203/0.2974, allocations: 119.1 kB / 460.5 MB, free: 29.13 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.449e-05/0.2975, allocations: 52.66 kB / 460.6 MB, free: 29.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002793/0.2978, allocations: 272.7 kB / 460.8 MB, free: 28.91 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/0.2978, allocations: 33.7 kB / 460.9 MB, free: 28.88 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.518e-05/0.2979, allocations: 140.1 kB / 461 MB, free: 28.75 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.758e-05/0.2979, allocations: 35.55 kB / 461 MB, free: 28.72 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.033e-05/0.298, allocations: 24.91 kB / 461.1 MB, free: 28.7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.72e-05/0.2981, allocations: 334.7 kB / 461.4 MB, free: 28.38 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.048e-05/0.2981, allocations: 24.94 kB / 461.4 MB, free: 28.37 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.618e-05/0.2982, allocations: 57.95 kB / 461.5 MB, free: 28.33 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005589/0.2988, allocations: 160.2 kB / 461.6 MB, free: 28.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.2988, allocations: 0 / 461.6 MB, free: 28.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002451/0.2991, allocations: 147.1 kB / 461.8 MB, free: 28.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.2991, allocations: 4.875 kB / 461.8 MB, free: 28.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.2991, allocations: 1.469 kB / 461.8 MB, free: 28.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.2991, allocations: 1.375 kB / 461.8 MB, free: 28.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001863/0.2993, allocations: 27.64 kB / 461.8 MB, free: 28.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.2993, allocations: 5.062 kB / 461.8 MB, free: 28.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001167/0.2994, allocations: 12.41 kB / 461.8 MB, free: 28.15 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.2995, allocations: 3.5 kB / 461.8 MB, free: 28.15 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.0001803/0.2997, allocations: 150.3 kB / 462 MB, free: 28 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.93e-05/0.2997, allocations: 19.12 kB / 462 MB, free: 28 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.162e-05/0.2998, allocations: 22.91 kB / 462 MB, free: 27.98 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.2998, allocations: 1.438 kB / 462 MB, free: 27.98 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.2998, allocations: 3.938 kB / 462 MB, free: 27.98 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.2998, allocations: 5 kB / 462 MB, free: 27.98 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002589/0.3001, allocations: 245.4 kB / 462.3 MB, free: 27.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.3001, allocations: 0 / 462.3 MB, free: 27.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001613/0.3002, allocations: 19.89 kB / 462.3 MB, free: 27.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.3003, allocations: 1.438 kB / 462.3 MB, free: 27.75 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.3003, allocations: 4 kB / 462.3 MB, free: 27.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.3003, allocations: 0.9062 kB / 462.3 MB, free: 27.75 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.3003, allocations: 3.938 kB / 462.3 MB, free: 27.74 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002889/0.3006, allocations: 240.6 kB / 462.5 MB, free: 27.56 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5e-05/0.3006, allocations: 101.9 kB / 462.6 MB, free: 27.45 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.578e-05/0.3007, allocations: 1.281 kB / 462.6 MB, free: 27.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.3008, allocations: 4.734 kB / 462.6 MB, free: 27.45 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.329e-05/0.3008, allocations: 6.906 kB / 462.6 MB, free: 27.44 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-06/0.3009, allocations: 5.594 kB / 462.7 MB, free: 27.44 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001713/0.301, allocations: 191.5 kB / 462.8 MB, free: 27.32 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.301, allocations: 1.312 kB / 462.8 MB, free: 27.32 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002781/0.3013, allocations: 38.09 kB / 462.9 MB, free: 27.32 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 9.983e-05/0.3014, allocations: 104.8 kB / 463 MB, free: 27.22 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001767/0.3016, allocations: 69.42 kB / 463 MB, free: 27.2 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3016, allocations: 1.062 kB / 463 MB, free: 27.2 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.767e-05/0.3017, allocations: 33.81 kB / 463.1 MB, free: 27.19 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003957/0.3021, allocations: 57.52 kB / 463.1 MB, free: 27.16 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007708/0.3029, allocations: 0.5468 MB / 463.7 MB, free: 26.77 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001444/0.303, allocations: 0.7289 MB / 464.4 MB, free: 26.08 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001239/0.3031, allocations: 30.42 kB / 464.4 MB, free: 26.07 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.464e-05/0.3032, allocations: 23.53 kB / 464.5 MB, free: 26.06 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.3032, allocations: 0 / 464.5 MB, free: 26.06 MB / 350.1 MB Notification: Performance of Templates: time 0.004665/0.3079, allocations: 2.136 MB / 466.6 MB, free: 25.91 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)