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.001032/0.001032, allocations: 99 kB / 15.05 MB, free: 1.105 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.001214/0.001214, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 223.2 MB / 239.9 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2434/0.2434, allocations: 22.34 MB / 313.3 MB, free: 13.13 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003557/0.0003561, allocations: 8 kB / 381.8 MB, free: 10.57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3167/0.3171, allocations: 55.97 MB / 437.8 MB, free: 39.23 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.002076/0.3192, allocations: 1.886 MB / 439.7 MB, free: 37.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004209/0.3197, allocations: 263.5 kB / 440 MB, free: 37.65 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001351/0.3198, allocations: 14.19 kB / 440 MB, free: 37.65 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.217e-05/0.3199, allocations: 28.89 kB / 440 MB, free: 37.63 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002199/0.3201, allocations: 120.2 kB / 440.1 MB, free: 37.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000148/0.3203, allocations: 28.34 kB / 440.1 MB, free: 37.53 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002156/0.3205, allocations: 204.4 kB / 440.3 MB, free: 37.42 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000245/0.3207, allocations: 106 kB / 440.4 MB, free: 37.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002148/0.321, allocations: 131.1 kB / 440.6 MB, free: 37.31 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001414/0.3211, allocations: 86.77 kB / 440.7 MB, free: 37.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.645e-05/0.3211, allocations: 9.031 kB / 440.7 MB, free: 37.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.355e-05/0.3212, allocations: 8.625 kB / 440.7 MB, free: 37.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.066e-05/0.3212, allocations: 29.22 kB / 440.7 MB, free: 37.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.44e-05/0.3213, allocations: 67.55 kB / 440.8 MB, free: 37.2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001512/0.3214, allocations: 152.4 kB / 440.9 MB, free: 37.17 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.3214, allocations: 4 kB / 440.9 MB, free: 37.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.3215, allocations: 0 / 440.9 MB, free: 37.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.3215, allocations: 2.719 kB / 440.9 MB, free: 37.16 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.0006398/0.3221, allocations: 492.6 kB / 441.4 MB, free: 36.72 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.3222, allocations: 8.625 kB / 441.4 MB, free: 36.72 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.245e-05/0.3222, allocations: 22.62 kB / 441.4 MB, free: 36.71 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002725/0.3225, allocations: 262.6 kB / 441.7 MB, free: 36.46 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.3225, allocations: 10.53 kB / 441.7 MB, free: 36.46 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.331e-05/0.3226, allocations: 16.66 kB / 441.7 MB, free: 36.45 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002428/0.3228, allocations: 164.1 kB / 441.9 MB, free: 36.33 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.3228, allocations: 3.719 kB / 441.9 MB, free: 36.33 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.994e-05/0.3228, allocations: 11.33 kB / 441.9 MB, free: 36.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.3229, allocations: 6.531 kB / 441.9 MB, free: 36.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001645/0.323, allocations: 91.72 kB / 442 MB, free: 36.29 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000695/0.3237, allocations: 0.8026 MB / 442.8 MB, free: 35.58 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000139/0.3239, allocations: 77.53 kB / 442.9 MB, free: 35.53 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.37e-05/0.3239, allocations: 2.875 kB / 442.9 MB, free: 35.53 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.074e-05/0.3239, allocations: 38.52 kB / 442.9 MB, free: 35.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 2.034e-06/0.3239, allocations: 4 kB / 442.9 MB, free: 35.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002808/0.3242, allocations: 121.5 kB / 443 MB, free: 35.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.854e-05/0.3243, allocations: 58.72 kB / 443.1 MB, free: 35.35 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002171/0.3245, allocations: 260.7 kB / 443.3 MB, free: 35.2 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.091e-05/0.3245, allocations: 28.7 kB / 443.4 MB, free: 35.17 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.514e-05/0.3246, allocations: 147.6 kB / 443.5 MB, free: 35.04 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.3246, allocations: 30 kB / 443.5 MB, free: 35.01 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.735e-06/0.3246, allocations: 6.719 kB / 443.5 MB, free: 35.01 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.99e-05/0.3247, allocations: 335.8 kB / 443.9 MB, free: 34.68 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.031e-05/0.3248, allocations: 30.62 kB / 443.9 MB, free: 34.67 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.717e-05/0.3248, allocations: 49.98 kB / 444 MB, free: 34.63 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.002e-05/0.3249, allocations: 28.22 kB / 444 MB, free: 34.62 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.3249, allocations: 0 / 444 MB, free: 34.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001804/0.3251, allocations: 142.9 kB / 444.1 MB, free: 34.54 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.3251, allocations: 2.719 kB / 444.1 MB, free: 34.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.3251, allocations: 11.08 kB / 444.1 MB, free: 34.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.3251, allocations: 0 / 444.1 MB, free: 34.53 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001662/0.3253, allocations: 29.61 kB / 444.2 MB, free: 34.53 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.886e-06/0.3253, allocations: 3.375 kB / 444.2 MB, free: 34.53 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.857e-05/0.3254, allocations: 21.34 kB / 444.2 MB, free: 34.51 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.876e-06/0.3254, allocations: 6.781 kB / 444.2 MB, free: 34.51 MB / 350.1 MB Warning: Assuming fixed start value for the following 2 variables: HE.Tco:VARIABLE(min = 0.0 start = 299.958408982322 unit = "K" fixed = true nominal = 300.0 ) type: Real HE.Tho:VARIABLE(min = 0.0 start = 339.5666268514094 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001762/0.3256, allocations: 130.2 kB / 444.3 MB, free: 34.38 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.752e-05/0.3257, allocations: 23.31 kB / 444.3 MB, free: 34.37 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.747e-05/0.3257, allocations: 30.31 kB / 444.4 MB, free: 34.35 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.3257, allocations: 6.734 kB / 444.4 MB, free: 34.35 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.3257, allocations: 3.984 kB / 444.4 MB, free: 34.34 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.3257, allocations: 0 / 444.4 MB, free: 34.34 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002171/0.326, allocations: 241.5 kB / 444.6 MB, free: 34.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.326, allocations: 0 / 444.6 MB, free: 34.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001363/0.3261, allocations: 18.52 kB / 444.6 MB, free: 34.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.3261, allocations: 6.562 kB / 444.6 MB, free: 34.12 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.3261, allocations: 4 kB / 444.7 MB, free: 34.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.3262, allocations: 0 / 444.7 MB, free: 34.11 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.3262, allocations: 3.953 kB / 444.7 MB, free: 34.11 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002329/0.3264, allocations: 231.6 kB / 444.9 MB, free: 33.93 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.815e-05/0.3265, allocations: 98.61 kB / 445 MB, free: 33.82 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.222e-05/0.3265, allocations: 2.594 kB / 445 MB, free: 33.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.875e-05/0.3266, allocations: 3.281 kB / 445 MB, free: 33.82 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.907e-05/0.3266, allocations: 14.58 kB / 445 MB, free: 33.81 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.3266, allocations: 2.594 kB / 445 MB, free: 33.81 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001325/0.3268, allocations: 192.1 kB / 445.2 MB, free: 33.7 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3268, allocations: 0 / 445.2 MB, free: 33.7 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002462/0.327, allocations: 35.38 kB / 445.2 MB, free: 33.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.003e-05/0.3271, allocations: 98.78 kB / 445.3 MB, free: 33.61 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001708/0.3273, allocations: 77.44 kB / 445.4 MB, free: 33.58 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.3273, allocations: 0 / 445.4 MB, free: 33.58 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.967e-05/0.3274, allocations: 41.73 kB / 445.4 MB, free: 33.56 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002775/0.3277, allocations: 45.17 kB / 445.5 MB, free: 33.55 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000722/0.3284, allocations: 0.5941 MB / 446.1 MB, free: 33.16 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001531/0.3286, allocations: 0.743 MB / 446.8 MB, free: 32.46 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001105/0.3287, allocations: 29.03 kB / 446.8 MB, free: 32.45 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.405e-05/0.3287, allocations: 20.97 kB / 446.9 MB, free: 32.44 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3287, allocations: 0 / 446.9 MB, free: 32.44 MB / 350.1 MB Notification: Performance of Templates: time 0.004503/0.3332, allocations: 2.051 MB / 448.9 MB, free: 32.29 MB / 350.1 MB make -j1 -f AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: