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.004692/0.004692, allocations: 101.1 kB / 15.88 MB, free: 5.867 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.001129/0.001129, allocations: 193.5 kB / 16.79 MB, free: 5.809 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.299/1.299, allocations: 222.9 MB / 240.5 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1878/0.1878, allocations: 22.36 MB / 313 MB, free: 12.63 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 67.89 kB / 380.8 MB, free: 11.07 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2185/0.2198, allocations: 54.94 MB / 435.7 MB, free: 39.69 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.02659/0.2464, allocations: 21.85 MB / 457.6 MB, free: 31.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005443/0.247, allocations: 252.7 kB / 457.8 MB, free: 31.65 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00012/0.2471, allocations: 12 kB / 457.8 MB, free: 31.65 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.626e-05/0.2472, allocations: 20.33 kB / 457.8 MB, free: 31.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001659/0.2473, allocations: 90.34 kB / 457.9 MB, free: 31.58 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00011/0.2474, allocations: 35.16 kB / 458 MB, free: 31.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001919/0.2476, allocations: 275.1 kB / 458.2 MB, free: 31.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001685/0.2478, allocations: 121.1 kB / 458.3 MB, free: 31.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001452/0.248, allocations: 109.4 kB / 458.4 MB, free: 31.31 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001234/0.2481, allocations: 95.36 kB / 458.5 MB, free: 31.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.943e-05/0.2481, allocations: 9.75 kB / 458.6 MB, free: 31.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.917e-05/0.2482, allocations: 13.81 kB / 458.6 MB, free: 31.26 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.877e-05/0.2482, allocations: 30.86 kB / 458.6 MB, free: 31.24 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.999e-05/0.2483, allocations: 103.6 kB / 458.7 MB, free: 31.19 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001305/0.2485, allocations: 160.1 kB / 458.9 MB, free: 31.13 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.2485, allocations: 0 / 458.9 MB, free: 31.13 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.61e-07/0.2485, allocations: 1.125 kB / 458.9 MB, free: 31.13 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.2485, allocations: 0 / 458.9 MB, free: 31.13 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.0005565/0.249, allocations: 0.5101 MB / 459.4 MB, free: 30.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.014e-05/0.2491, allocations: 8.75 kB / 459.4 MB, free: 30.66 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.475e-05/0.2491, allocations: 24.75 kB / 459.4 MB, free: 30.65 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000201/0.2493, allocations: 264.2 kB / 459.7 MB, free: 30.4 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.2494, allocations: 9.844 kB / 459.7 MB, free: 30.4 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.685e-05/0.2494, allocations: 12.31 kB / 459.7 MB, free: 30.39 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002266/0.2496, allocations: 172.4 kB / 459.8 MB, free: 30.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/0.2496, allocations: 1.062 kB / 459.8 MB, free: 30.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.2497, allocations: 5.062 kB / 459.8 MB, free: 30.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.2497, allocations: 7.219 kB / 459.9 MB, free: 30.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001662/0.2498, allocations: 93.16 kB / 459.9 MB, free: 30.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006027/0.2504, allocations: 0.8055 MB / 460.8 MB, free: 29.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001379/0.2506, allocations: 77.91 kB / 460.8 MB, free: 29.47 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.307e-05/0.2507, allocations: 41.39 kB / 460.9 MB, free: 29.45 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.088e-05/0.2507, allocations: 1.156 kB / 460.9 MB, free: 29.45 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.416e-05/0.2507, allocations: 31.69 kB / 460.9 MB, free: 29.41 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.2507, allocations: 0 / 460.9 MB, free: 29.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002539/0.251, allocations: 127.5 kB / 461 MB, free: 29.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.284e-05/0.251, allocations: 52.59 kB / 461.1 MB, free: 29.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002107/0.2512, allocations: 276.6 kB / 461.3 MB, free: 29.12 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.026e-05/0.2512, allocations: 34.86 kB / 461.4 MB, free: 29.08 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.156e-05/0.2513, allocations: 136 kB / 461.5 MB, free: 28.96 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.937e-05/0.2513, allocations: 35.58 kB / 461.5 MB, free: 28.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.058e-05/0.2514, allocations: 21.81 kB / 461.6 MB, free: 28.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.849e-05/0.2514, allocations: 338.2 kB / 461.9 MB, free: 28.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.707e-05/0.2515, allocations: 24.8 kB / 461.9 MB, free: 28.58 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.916e-05/0.2516, allocations: 46.34 kB / 462 MB, free: 28.54 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005141/0.2521, allocations: 167.1 kB / 462.1 MB, free: 28.46 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.2521, allocations: 4 kB / 462.1 MB, free: 28.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001914/0.2523, allocations: 135.1 kB / 462.3 MB, free: 28.38 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.2523, allocations: 4.781 kB / 462.3 MB, free: 28.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.2523, allocations: 1.062 kB / 462.3 MB, free: 28.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.2523, allocations: 1.094 kB / 462.3 MB, free: 28.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001678/0.2525, allocations: 28.81 kB / 462.3 MB, free: 28.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.2525, allocations: 5.031 kB / 462.3 MB, free: 28.37 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.343e-05/0.2526, allocations: 19.36 kB / 462.3 MB, free: 28.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.2526, allocations: 3.375 kB / 462.3 MB, free: 28.36 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.0001256/0.2528, allocations: 143.7 kB / 462.5 MB, free: 28.22 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.114e-05/0.2528, allocations: 21.84 kB / 462.5 MB, free: 28.21 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.876e-05/0.2529, allocations: 28.06 kB / 462.5 MB, free: 28.2 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.2529, allocations: 3.984 kB / 462.5 MB, free: 28.19 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.2529, allocations: 8.906 kB / 462.5 MB, free: 28.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.2529, allocations: 0 / 462.5 MB, free: 28.18 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001887/0.2531, allocations: 255 kB / 462.8 MB, free: 27.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2531, allocations: 0 / 462.8 MB, free: 27.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001541/0.2532, allocations: 15.5 kB / 462.8 MB, free: 27.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.2533, allocations: 4.75 kB / 462.8 MB, free: 27.95 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.2533, allocations: 4 kB / 462.8 MB, free: 27.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.2533, allocations: 1.094 kB / 462.8 MB, free: 27.95 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.2533, allocations: 3.938 kB / 462.8 MB, free: 27.94 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002308/0.2535, allocations: 225.2 kB / 463 MB, free: 27.77 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.939e-05/0.2536, allocations: 105 kB / 463.1 MB, free: 27.66 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.324e-05/0.2536, allocations: 5.188 kB / 463.1 MB, free: 27.65 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/0.2537, allocations: 1.094 kB / 463.1 MB, free: 27.65 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.222e-05/0.2537, allocations: 9.547 kB / 463.1 MB, free: 27.65 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.2538, allocations: 6.406 kB / 463.2 MB, free: 27.64 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001363/0.2539, allocations: 192.9 kB / 463.3 MB, free: 27.53 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2539, allocations: 0 / 463.3 MB, free: 27.53 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002645/0.2542, allocations: 37.88 kB / 463.4 MB, free: 27.53 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 6.645e-05/0.2542, allocations: 98.34 kB / 463.5 MB, free: 27.43 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001676/0.2544, allocations: 72.83 kB / 463.5 MB, free: 27.41 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.2544, allocations: 0 / 463.5 MB, free: 27.41 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.261e-05/0.2545, allocations: 37.72 kB / 463.6 MB, free: 27.39 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003703/0.2549, allocations: 53.12 kB / 463.6 MB, free: 27.38 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007245/0.2556, allocations: 0.5739 MB / 464.2 MB, free: 26.95 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001242/0.2557, allocations: 0.7292 MB / 464.9 MB, free: 26.26 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.132e-05/0.2558, allocations: 19.78 kB / 465 MB, free: 26.25 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2558, allocations: 0 / 465 MB, free: 26.25 MB / 350.1 MB Notification: Performance of Templates: time 0.003486/0.2593, allocations: 2.49 MB / 467.4 MB, free: 26.07 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)