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.001084/0.001084, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001068/0.001068, allocations: 172.7 kB / 15.95 MB, free: 208 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.449/1.449, allocations: 223.3 MB / 240 MB, free: 5.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.243/0.243, allocations: 22.34 MB / 313.4 MB, free: 13.07 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003469/0.0003471, allocations: 8 kB / 381.9 MB, free: 10.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3251/0.3254, allocations: 55.98 MB / 437.9 MB, free: 39.15 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.001885/0.3274, allocations: 2.022 MB / 439.9 MB, free: 37.67 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003605/0.3277, allocations: 246 kB / 440.2 MB, free: 37.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001106/0.3279, allocations: 13.06 kB / 440.2 MB, free: 37.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.646e-05/0.3279, allocations: 25.17 kB / 440.2 MB, free: 37.47 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001882/0.3281, allocations: 105.2 kB / 440.3 MB, free: 37.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001209/0.3282, allocations: 26.8 kB / 440.3 MB, free: 37.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001895/0.3284, allocations: 270.4 kB / 440.6 MB, free: 37.24 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001842/0.3286, allocations: 105.9 kB / 440.7 MB, free: 37.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001427/0.3288, allocations: 112.8 kB / 440.8 MB, free: 37.15 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001218/0.3289, allocations: 84.98 kB / 440.9 MB, free: 37.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.485e-05/0.3289, allocations: 8.469 kB / 440.9 MB, free: 37.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.025e-05/0.329, allocations: 6.375 kB / 440.9 MB, free: 37.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.505e-05/0.329, allocations: 31.62 kB / 440.9 MB, free: 37.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.48e-05/0.329, allocations: 69.77 kB / 441 MB, free: 37.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001177/0.3292, allocations: 151.2 kB / 441.2 MB, free: 37 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.3292, allocations: 0 / 441.2 MB, free: 37 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3292, allocations: 2.719 kB / 441.2 MB, free: 37 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.449e-06/0.3292, allocations: 0 / 441.2 MB, free: 37 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.0005691/0.3298, allocations: 491.7 kB / 441.6 MB, free: 36.56 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.3298, allocations: 8.938 kB / 441.7 MB, free: 36.56 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.007e-05/0.3299, allocations: 22.16 kB / 441.7 MB, free: 36.55 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002471/0.3301, allocations: 264.4 kB / 441.9 MB, free: 36.3 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.3302, allocations: 9.125 kB / 441.9 MB, free: 36.3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.041e-05/0.3302, allocations: 13.59 kB / 442 MB, free: 36.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002528/0.3304, allocations: 170.9 kB / 442.1 MB, free: 36.17 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.3305, allocations: 3.938 kB / 442.1 MB, free: 36.17 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.629e-05/0.3305, allocations: 10.8 kB / 442.1 MB, free: 36.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.3305, allocations: 2.5 kB / 442.1 MB, free: 36.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001664/0.3307, allocations: 89.98 kB / 442.2 MB, free: 36.13 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00069/0.3314, allocations: 0.8048 MB / 443 MB, free: 35.42 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001424/0.3315, allocations: 77.33 kB / 443.1 MB, free: 35.37 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.89e-05/0.3316, allocations: 36.52 kB / 443.1 MB, free: 35.35 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.175e-05/0.3316, allocations: 2.938 kB / 443.1 MB, free: 35.35 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.892e-05/0.3316, allocations: 42.44 kB / 443.2 MB, free: 35.3 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.143e-06/0.3316, allocations: 0 / 443.2 MB, free: 35.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002583/0.3319, allocations: 128.6 kB / 443.3 MB, free: 35.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.323e-05/0.3319, allocations: 55.41 kB / 443.4 MB, free: 35.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000203/0.3321, allocations: 267 kB / 443.6 MB, free: 35.01 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.919e-06/0.3322, allocations: 25.7 kB / 443.7 MB, free: 34.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.728e-05/0.3322, allocations: 146 kB / 443.8 MB, free: 34.85 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.934e-05/0.3323, allocations: 29.52 kB / 443.8 MB, free: 34.83 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.45e-06/0.3323, allocations: 3.938 kB / 443.8 MB, free: 34.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.217e-05/0.3323, allocations: 337.9 kB / 444.2 MB, free: 34.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.902e-05/0.3324, allocations: 25.88 kB / 444.2 MB, free: 34.49 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.692e-05/0.3325, allocations: 58.64 kB / 444.2 MB, free: 34.45 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.635e-05/0.3325, allocations: 32.59 kB / 444.3 MB, free: 34.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3325, allocations: 0 / 444.3 MB, free: 34.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001755/0.3327, allocations: 132.1 kB / 444.4 MB, free: 34.36 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.3327, allocations: 9.016 kB / 444.4 MB, free: 34.35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.3327, allocations: 2.562 kB / 444.4 MB, free: 34.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.3328, allocations: 3.469 kB / 444.4 MB, free: 34.35 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001685/0.3329, allocations: 25.81 kB / 444.4 MB, free: 34.35 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.333, allocations: 9.5 kB / 444.5 MB, free: 34.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.268e-05/0.333, allocations: 19.34 kB / 444.5 MB, free: 34.33 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.776e-06/0.3331, allocations: 7.719 kB / 444.5 MB, free: 34.32 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.000165/0.3332, allocations: 128.9 kB / 444.6 MB, free: 34.2 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.857e-05/0.3333, allocations: 30.22 kB / 444.6 MB, free: 34.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.384e-05/0.3333, allocations: 26.61 kB / 444.7 MB, free: 34.17 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.3333, allocations: 2.906 kB / 444.7 MB, free: 34.17 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.3333, allocations: 0 / 444.7 MB, free: 34.17 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.3333, allocations: 0 / 444.7 MB, free: 34.17 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001958/0.3335, allocations: 249.7 kB / 444.9 MB, free: 33.94 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3336, allocations: 0 / 444.9 MB, free: 33.94 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001336/0.3337, allocations: 19.19 kB / 444.9 MB, free: 33.94 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.3337, allocations: 0 / 444.9 MB, free: 33.94 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.3337, allocations: 6.562 kB / 444.9 MB, free: 33.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.3337, allocations: 7.953 kB / 444.9 MB, free: 33.93 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3337, allocations: 0 / 444.9 MB, free: 33.93 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002249/0.334, allocations: 240.3 kB / 445.2 MB, free: 33.74 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.211e-05/0.334, allocations: 94.02 kB / 445.3 MB, free: 33.64 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.321e-05/0.3341, allocations: 7.375 kB / 445.3 MB, free: 33.63 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.697e-05/0.3342, allocations: 0 / 445.3 MB, free: 33.63 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.195e-05/0.3342, allocations: 6.766 kB / 445.3 MB, free: 33.63 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.3342, allocations: 2.938 kB / 445.3 MB, free: 33.63 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001273/0.3343, allocations: 199.8 kB / 445.5 MB, free: 33.51 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3343, allocations: 0 / 445.5 MB, free: 33.51 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002549/0.3346, allocations: 33.44 kB / 445.5 MB, free: 33.51 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 8.86e-05/0.3347, allocations: 99.59 kB / 445.6 MB, free: 33.42 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001587/0.3349, allocations: 72.27 kB / 445.7 MB, free: 33.39 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3349, allocations: 0 / 445.7 MB, free: 33.39 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.844e-05/0.3349, allocations: 34.84 kB / 445.7 MB, free: 33.38 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003606/0.3353, allocations: 51.73 kB / 445.8 MB, free: 33.36 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007354/0.336, allocations: 0.5871 MB / 446.4 MB, free: 32.98 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001316/0.3362, allocations: 0.7315 MB / 447.1 MB, free: 32.29 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001173/0.3363, allocations: 28.89 kB / 447.1 MB, free: 32.27 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.077e-05/0.3363, allocations: 18.66 kB / 447.1 MB, free: 32.27 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3363, allocations: 2.75 kB / 447.1 MB, free: 32.27 MB / 350.1 MB Notification: Performance of Templates: time 0.004432/0.3408, allocations: 2.057 MB / 449.2 MB, free: 32.11 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)