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.001361/0.001361, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001661/0.001661, allocations: 192.6 kB / 16.25 MB, free: 6.625 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.394/1.394, allocations: 222.9 MB / 239.9 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2161/0.2161, allocations: 22.35 MB / 312.4 MB, free: 12.58 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 63.91 kB / 380.3 MB, free: 10.94 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2829/0.2842, allocations: 54.94 MB / 435.2 MB, free: 39.61 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.02942/0.3136, allocations: 21.96 MB / 457.2 MB, free: 31.72 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007765/0.3144, allocations: 243.4 kB / 457.4 MB, free: 31.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001437/0.3146, allocations: 13.41 kB / 457.4 MB, free: 31.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.079e-05/0.3147, allocations: 23.81 kB / 457.5 MB, free: 31.53 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002062/0.3149, allocations: 89.33 kB / 457.6 MB, free: 31.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001365/0.315, allocations: 31.36 kB / 457.6 MB, free: 31.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000246/0.3153, allocations: 283.9 kB / 457.9 MB, free: 31.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000212/0.3155, allocations: 129.6 kB / 458 MB, free: 31.24 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001534/0.3157, allocations: 124.2 kB / 458.1 MB, free: 31.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001253/0.3158, allocations: 91.59 kB / 458.2 MB, free: 31.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.911e-05/0.3158, allocations: 13.88 kB / 458.2 MB, free: 31.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.611e-05/0.3159, allocations: 13.19 kB / 458.2 MB, free: 31.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.839e-05/0.3159, allocations: 27.41 kB / 458.3 MB, free: 31.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.239e-05/0.316, allocations: 115.8 kB / 458.4 MB, free: 31.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001873/0.3162, allocations: 214.7 kB / 458.6 MB, free: 30.97 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3162, allocations: 1.062 kB / 458.6 MB, free: 30.97 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3162, allocations: 0 / 458.6 MB, free: 30.97 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.3162, allocations: 0 / 458.6 MB, free: 30.97 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.0005993/0.3168, allocations: 0.5116 MB / 459.1 MB, free: 30.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.3169, allocations: 9.344 kB / 459.1 MB, free: 30.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.896e-05/0.3169, allocations: 24.56 kB / 459.1 MB, free: 30.49 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002217/0.3172, allocations: 263.8 kB / 459.4 MB, free: 30.24 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.3172, allocations: 9.719 kB / 459.4 MB, free: 30.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.011e-05/0.3172, allocations: 17 kB / 459.4 MB, free: 30.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002365/0.3175, allocations: 163.5 kB / 459.6 MB, free: 30.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.3175, allocations: 5.062 kB / 459.6 MB, free: 30.11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.812e-05/0.3175, allocations: 9.141 kB / 459.6 MB, free: 30.1 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.565e-06/0.3175, allocations: 8.406 kB / 459.6 MB, free: 30.1 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000168/0.3177, allocations: 92.95 kB / 459.7 MB, free: 30.07 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006584/0.3184, allocations: 0.81 MB / 460.5 MB, free: 29.35 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001415/0.3185, allocations: 78.61 kB / 460.6 MB, free: 29.3 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.273e-05/0.3186, allocations: 37.64 kB / 460.6 MB, free: 29.28 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.214e-05/0.3186, allocations: 1.219 kB / 460.6 MB, free: 29.28 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.603e-05/0.3186, allocations: 35.09 kB / 460.6 MB, free: 29.24 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.142e-06/0.3186, allocations: 0 / 460.6 MB, free: 29.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002536/0.3189, allocations: 122.3 kB / 460.8 MB, free: 29.17 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.607e-05/0.3189, allocations: 56.69 kB / 460.8 MB, free: 29.1 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002127/0.3191, allocations: 276.7 kB / 461.1 MB, free: 28.95 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.098e-05/0.3191, allocations: 25.7 kB / 461.1 MB, free: 28.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.193e-05/0.3192, allocations: 149.7 kB / 461.3 MB, free: 28.78 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.985e-05/0.3192, allocations: 31.5 kB / 461.3 MB, free: 28.76 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-05/0.3193, allocations: 25.69 kB / 461.3 MB, free: 28.73 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.085e-05/0.3193, allocations: 330.8 kB / 461.6 MB, free: 28.41 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.47e-05/0.3194, allocations: 28.34 kB / 461.7 MB, free: 28.4 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.558e-05/0.3195, allocations: 54.97 kB / 461.7 MB, free: 28.36 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004745/0.3199, allocations: 163.1 kB / 461.9 MB, free: 28.28 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.32, allocations: 0 / 461.9 MB, free: 28.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001863/0.3201, allocations: 134.9 kB / 462 MB, free: 28.21 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.3202, allocations: 6.281 kB / 462 MB, free: 28.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.3202, allocations: 4 kB / 462 MB, free: 28.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.3202, allocations: 1.188 kB / 462 MB, free: 28.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001572/0.3204, allocations: 23.72 kB / 462 MB, free: 28.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.3204, allocations: 6.344 kB / 462 MB, free: 28.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.559e-05/0.3205, allocations: 19.81 kB / 462.1 MB, free: 28.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-06/0.3205, allocations: 7.406 kB / 462.1 MB, free: 28.18 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.0001433/0.3206, allocations: 139 kB / 462.2 MB, free: 28.05 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.101e-05/0.3207, allocations: 18.56 kB / 462.2 MB, free: 28.04 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.201e-05/0.3207, allocations: 26.55 kB / 462.3 MB, free: 28.02 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.3207, allocations: 1.094 kB / 462.3 MB, free: 28.02 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.3207, allocations: 9.219 kB / 462.3 MB, free: 28.02 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.3207, allocations: 3.938 kB / 462.3 MB, free: 28.01 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000186/0.3209, allocations: 238.2 kB / 462.5 MB, free: 27.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3209, allocations: 0 / 462.5 MB, free: 27.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001464/0.3211, allocations: 24.16 kB / 462.5 MB, free: 27.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.3211, allocations: 0 / 462.5 MB, free: 27.79 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.3211, allocations: 1.688 kB / 462.5 MB, free: 27.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.3211, allocations: 0 / 462.5 MB, free: 27.79 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.3211, allocations: 7.875 kB / 462.5 MB, free: 27.78 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002369/0.3214, allocations: 235.7 kB / 462.8 MB, free: 27.6 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.448e-05/0.3214, allocations: 102.1 kB / 462.9 MB, free: 27.49 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.186e-05/0.3215, allocations: 0 / 462.9 MB, free: 27.49 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.3216, allocations: 1.156 kB / 462.9 MB, free: 27.49 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.422e-05/0.3216, allocations: 17.78 kB / 462.9 MB, free: 27.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.012e-06/0.3216, allocations: 2.062 kB / 462.9 MB, free: 27.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001358/0.3218, allocations: 193.6 kB / 463.1 MB, free: 27.37 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3218, allocations: 0 / 463.1 MB, free: 27.37 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002639/0.322, allocations: 41.94 kB / 463.1 MB, free: 27.36 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.0001077/0.3221, allocations: 101.3 kB / 463.2 MB, free: 27.26 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002321/0.3224, allocations: 78.25 kB / 463.3 MB, free: 27.23 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3224, allocations: 0 / 463.3 MB, free: 27.23 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.982e-05/0.3225, allocations: 30.53 kB / 463.3 MB, free: 27.23 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003835/0.3228, allocations: 59.06 kB / 463.4 MB, free: 27.2 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009117/0.3238, allocations: 0.544 MB / 463.9 MB, free: 26.82 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000186/0.324, allocations: 0.7289 MB / 464.6 MB, free: 26.12 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001259/0.3241, allocations: 34.81 kB / 464.7 MB, free: 26.11 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.764e-05/0.3242, allocations: 22.25 kB / 464.7 MB, free: 26.1 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3242, allocations: 0 / 464.7 MB, free: 26.1 MB / 350.1 MB Notification: Performance of Templates: time 0.005267/0.3294, allocations: 2.241 MB / 466.9 MB, free: 25.93 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)