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.000763/0.0007629, allocations: 92.7 kB / 16.02 MB, free: 80 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.0009583/0.0009579, allocations: 183.5 kB / 16.92 MB, free: 6.922 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.321/1.321, allocations: 223.3 MB / 241 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.204/0.204, allocations: 22.34 MB / 314.4 MB, free: 13.16 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003056/0.0003057, allocations: 8 kB / 383.3 MB, free: 10.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2475/0.2478, allocations: 55.98 MB / 439.2 MB, free: 39.34 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.02079/0.2687, allocations: 21.48 MB / 460.7 MB, free: 31.69 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005422/0.2692, allocations: 249.7 kB / 461 MB, free: 31.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001139/0.2694, allocations: 12.97 kB / 461 MB, free: 31.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.697e-05/0.2694, allocations: 20.66 kB / 461 MB, free: 31.49 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00017/0.2696, allocations: 89.25 kB / 461.1 MB, free: 31.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001106/0.2697, allocations: 31.47 kB / 461.1 MB, free: 31.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002015/0.2699, allocations: 275.1 kB / 461.4 MB, free: 31.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001747/0.2701, allocations: 116.2 kB / 461.5 MB, free: 31.22 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000139/0.2702, allocations: 113.5 kB / 461.6 MB, free: 31.17 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001144/0.2704, allocations: 86.25 kB / 461.7 MB, free: 31.13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.638e-05/0.2704, allocations: 8.594 kB / 461.7 MB, free: 31.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.18e-05/0.2704, allocations: 8.844 kB / 461.7 MB, free: 31.13 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.478e-05/0.2705, allocations: 27.73 kB / 461.7 MB, free: 31.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.936e-05/0.2706, allocations: 128 kB / 461.9 MB, free: 31.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001257/0.2707, allocations: 152.4 kB / 462 MB, free: 30.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.2707, allocations: 4.969 kB / 462 MB, free: 30.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2707, allocations: 0 / 462 MB, free: 30.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.2707, allocations: 0 / 462 MB, free: 30.98 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.0004738/0.2712, allocations: 491.2 kB / 462.5 MB, free: 30.53 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.157e-05/0.2712, allocations: 13.25 kB / 462.5 MB, free: 30.53 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.213e-05/0.2713, allocations: 24.47 kB / 462.5 MB, free: 30.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002051/0.2715, allocations: 263 kB / 462.8 MB, free: 30.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.2715, allocations: 13.81 kB / 462.8 MB, free: 30.26 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.712e-05/0.2715, allocations: 12.91 kB / 462.8 MB, free: 30.26 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002227/0.2718, allocations: 165.7 kB / 463 MB, free: 30.14 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/0.2718, allocations: 0 / 463 MB, free: 30.14 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.2718, allocations: 6.531 kB / 463 MB, free: 30.14 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.2718, allocations: 3.125 kB / 463 MB, free: 30.14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001763/0.272, allocations: 101.5 kB / 463.1 MB, free: 30.1 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006062/0.2726, allocations: 0.7991 MB / 463.9 MB, free: 29.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001328/0.2728, allocations: 77.98 kB / 464 MB, free: 29.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.236e-05/0.2728, allocations: 37.52 kB / 464 MB, free: 29.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.548e-06/0.2728, allocations: 5.188 kB / 464 MB, free: 29.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.275e-05/0.2729, allocations: 35.02 kB / 464 MB, free: 29.28 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.2729, allocations: 0 / 464 MB, free: 29.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002412/0.2731, allocations: 126.7 kB / 464.2 MB, free: 29.21 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.659e-05/0.2731, allocations: 56.41 kB / 464.2 MB, free: 29.14 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002117/0.2734, allocations: 276.6 kB / 464.5 MB, free: 28.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.436e-06/0.2734, allocations: 25.7 kB / 464.5 MB, free: 28.95 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.043e-05/0.2734, allocations: 141.6 kB / 464.7 MB, free: 28.83 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.785e-05/0.2735, allocations: 34.09 kB / 464.7 MB, free: 28.8 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.433e-05/0.2735, allocations: 18.75 kB / 464.7 MB, free: 28.78 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.606e-05/0.2735, allocations: 340.7 kB / 465 MB, free: 28.45 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.364e-05/0.2736, allocations: 25.55 kB / 465.1 MB, free: 28.45 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.489e-05/0.2737, allocations: 51.17 kB / 465.1 MB, free: 28.41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004542/0.2741, allocations: 156 kB / 465.3 MB, free: 28.33 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.2741, allocations: 0 / 465.3 MB, free: 28.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001897/0.2743, allocations: 139.5 kB / 465.4 MB, free: 28.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.918e-06/0.2743, allocations: 4.312 kB / 465.4 MB, free: 28.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.2744, allocations: 1.5 kB / 465.4 MB, free: 28.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.716e-06/0.2744, allocations: 1.25 kB / 465.4 MB, free: 28.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001529/0.2745, allocations: 23.58 kB / 465.4 MB, free: 28.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.2745, allocations: 6.625 kB / 465.4 MB, free: 28.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.278e-05/0.2746, allocations: 27.31 kB / 465.5 MB, free: 28.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.2746, allocations: 6.812 kB / 465.5 MB, free: 28.22 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.0001197/0.2748, allocations: 142.6 kB / 465.6 MB, free: 28.09 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.793e-05/0.2748, allocations: 22.56 kB / 465.6 MB, free: 28.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.019e-05/0.2749, allocations: 24 kB / 465.7 MB, free: 28.06 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.2749, allocations: 1.031 kB / 465.7 MB, free: 28.06 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.2749, allocations: 7.938 kB / 465.7 MB, free: 28.05 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.2749, allocations: 1 kB / 465.7 MB, free: 28.05 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001842/0.2751, allocations: 246.7 kB / 465.9 MB, free: 27.83 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.2751, allocations: 0 / 465.9 MB, free: 27.83 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001379/0.2752, allocations: 18.56 kB / 465.9 MB, free: 27.83 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.2752, allocations: 1.594 kB / 465.9 MB, free: 27.83 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.2753, allocations: 0 / 465.9 MB, free: 27.83 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.2753, allocations: 1.5 kB / 465.9 MB, free: 27.83 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.2753, allocations: 3.938 kB / 465.9 MB, free: 27.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002232/0.2755, allocations: 239.5 kB / 466.2 MB, free: 27.64 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.776e-05/0.2755, allocations: 94.55 kB / 466.3 MB, free: 27.54 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.101e-05/0.2756, allocations: 8.688 kB / 466.3 MB, free: 27.53 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.2757, allocations: 3.938 kB / 466.3 MB, free: 27.53 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.281e-05/0.2757, allocations: 7.719 kB / 466.3 MB, free: 27.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.2757, allocations: 1.25 kB / 466.3 MB, free: 27.52 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000136/0.2759, allocations: 192.7 kB / 466.5 MB, free: 27.41 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2759, allocations: 5.312 kB / 466.5 MB, free: 27.41 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002652/0.2761, allocations: 37.44 kB / 466.5 MB, free: 27.4 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 7.154e-05/0.2762, allocations: 101 kB / 466.6 MB, free: 27.3 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001548/0.2764, allocations: 77.48 kB / 466.7 MB, free: 27.28 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2764, allocations: 0 / 466.7 MB, free: 27.28 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.053e-05/0.2764, allocations: 33.88 kB / 466.7 MB, free: 27.27 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000355/0.2768, allocations: 52.84 kB / 466.8 MB, free: 27.25 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006886/0.2775, allocations: 0.6319 MB / 467.4 MB, free: 26.82 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001253/0.2776, allocations: 0.7301 MB / 468.1 MB, free: 26.12 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.983e-05/0.2777, allocations: 23.47 kB / 468.1 MB, free: 26.11 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2777, allocations: 0 / 468.1 MB, free: 26.11 MB / 350.1 MB Notification: Performance of Templates: time 0.003619/0.2813, allocations: 2.473 MB / 470.6 MB, free: 25.73 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)