Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_liquid_circuit_003.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_liquid_circuit_003,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_liquid_circuit_003") translateModel(AES.Devel_test_models.Test_liquid_circuit_003,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_liquid_circuit_003") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 104.7 kB / 15.98 MB, free: 5.891 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.001201/0.001202, allocations: 187.5 kB / 16.91 MB, free: 5.746 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.197/1.197, allocations: 222.9 MB / 240.6 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1774/0.1774, allocations: 22.35 MB / 313.1 MB, free: 12.61 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001162, allocations: 67.91 kB / 381 MB, free: 10.99 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2059/0.2071, allocations: 54.95 MB / 435.9 MB, free: 39.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_003): time 0.003125/0.2103, allocations: 3.624 MB / 439.5 MB, free: 36.99 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001031/0.2113, allocations: 0.9623 MB / 440.5 MB, free: 36.29 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001399/0.2115, allocations: 8.75 kB / 440.5 MB, free: 36.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001697/0.2116, allocations: 71.55 kB / 440.6 MB, free: 36.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003314/0.212, allocations: 217.3 kB / 440.8 MB, free: 36.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002889/0.2123, allocations: 168.6 kB / 440.9 MB, free: 36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000617/0.2129, allocations: 1.153 MB / 442.1 MB, free: 35.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005582/0.2135, allocations: 0.7999 MB / 442.9 MB, free: 35.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002754/0.2138, allocations: 451.2 kB / 443.3 MB, free: 34.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004109/0.2142, allocations: 0.5557 MB / 443.9 MB, free: 34.63 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001047/0.2143, allocations: 122.6 kB / 444 MB, free: 34.63 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001243/0.2144, allocations: 122.8 kB / 444.1 MB, free: 34.63 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001742/0.2146, allocations: 357.7 kB / 444.5 MB, free: 34.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002948/0.2149, allocations: 0.4992 MB / 445 MB, free: 34.15 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005285/0.2154, allocations: 1.096 MB / 446.1 MB, free: 33.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2155, allocations: 0 / 446.1 MB, free: 33.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2155, allocations: 0 / 446.1 MB, free: 33.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.977e-06/0.2155, allocations: 3.938 kB / 446.1 MB, free: 33.82 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: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.001862/0.2173, allocations: 1.221 MB / 447.3 MB, free: 33.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.852e-05/0.2174, allocations: 10.12 kB / 447.3 MB, free: 33.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001275/0.2175, allocations: 89.53 kB / 447.4 MB, free: 33.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005096/0.218, allocations: 0.5433 MB / 447.9 MB, free: 32.64 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.917e-05/0.2181, allocations: 73.83 kB / 448 MB, free: 32.58 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001027/0.2182, allocations: 77.36 kB / 448.1 MB, free: 32.55 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001085/0.2193, allocations: 0.828 MB / 448.9 MB, free: 32.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/0.2193, allocations: 0 / 448.9 MB, free: 32.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.406e-05/0.2194, allocations: 25.75 kB / 448.9 MB, free: 32.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.2194, allocations: 18.94 kB / 449 MB, free: 32.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009324/0.2203, allocations: 0.7225 MB / 449.7 MB, free: 31.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003542/0.2239, allocations: 3.744 MB / 453.4 MB, free: 29.44 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001867/0.2258, allocations: 0.9107 MB / 454.3 MB, free: 29.11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004482/0.2262, allocations: 376.8 kB / 454.7 MB, free: 28.95 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.71e-05/0.2263, allocations: 10.39 kB / 454.7 MB, free: 28.94 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.511e-05/0.2263, allocations: 37.5 kB / 454.8 MB, free: 28.9 MB / 350.1 MB Notification: Performance of pre-optimization done (n=56): time 1.623e-06/0.2263, allocations: 0 / 454.8 MB, free: 28.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=56): time 0.002745/0.2291, allocations: 1.724 MB / 456.5 MB, free: 27.89 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.747e-05/0.2291, allocations: 58.72 kB / 456.5 MB, free: 27.82 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003977/0.2295, allocations: 476.9 kB / 457 MB, free: 27.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.567e-05/0.2295, allocations: 30.8 kB / 457 MB, free: 27.55 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/0.2297, allocations: 345.5 kB / 457.4 MB, free: 27.28 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001257/0.2298, allocations: 228.6 kB / 457.6 MB, free: 27.1 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002054/0.23, allocations: 147.6 kB / 457.7 MB, free: 27.03 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.724e-05/0.2301, allocations: 376.9 kB / 458.1 MB, free: 26.68 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005733/0.2307, allocations: 457.1 kB / 458.6 MB, free: 26.5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005877/0.2313, allocations: 0.5905 MB / 459.1 MB, free: 26.13 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00617/0.2374, allocations: 2.397 MB / 461.5 MB, free: 25.22 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.141e-06/0.2375, allocations: 1.062 kB / 461.5 MB, free: 25.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002044/0.2395, allocations: 1.29 MB / 462.8 MB, free: 24.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.2395, allocations: 9.062 kB / 462.8 MB, free: 24.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.2396, allocations: 5.062 kB / 462.8 MB, free: 24.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000681/0.2403, allocations: 208.6 kB / 463 MB, free: 24.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001147/0.2414, allocations: 270 kB / 463.3 MB, free: 24.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00391/0.2453, allocations: 7.911 MB / 471.2 MB, free: 16.92 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000586/0.2459, allocations: 90.2 kB / 471.3 MB, free: 16.87 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.003e-05/0.246, allocations: 33.05 kB / 471.3 MB, free: 16.86 MB / 350.1 MB Warning: Assuming fixed start value for the following 2 variables: H.Ec:VARIABLE(flow=false fixed = true ) type: Real H.Tfo:VARIABLE(min = 0.0 start = H.Tstart unit = "K" fixed = true nominal = 300.0 ) "outlet fluid temp" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 1 (Hon.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004217/0.2464, allocations: 278.5 kB / 471.6 MB, free: 16.66 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.2465, allocations: 60.91 kB / 471.7 MB, free: 16.62 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001624/0.2482, allocations: 0.9685 MB / 472.6 MB, free: 16.17 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.2482, allocations: 9.281 kB / 472.7 MB, free: 16.17 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.2482, allocations: 2.094 kB / 472.7 MB, free: 16.17 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/0.2482, allocations: 2.766 kB / 472.7 MB, free: 16.17 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008786/0.2491, allocations: 0.8897 MB / 473.5 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.2491, allocations: 0 / 473.5 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001291/0.2504, allocations: 219.1 kB / 473.8 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004682/0.2509, allocations: 177.8 kB / 473.9 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.06e-05/0.251, allocations: 30.91 kB / 474 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00331/0.2543, allocations: 7.457 MB / 481.4 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2543, allocations: 1.188 kB / 481.4 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001979/0.2563, allocations: 1.366 MB / 482.8 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001361/0.2564, allocations: 144.2 kB / 482.9 MB, free: 7.418 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001139/0.2566, allocations: 32.08 kB / 483 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004478/0.257, allocations: 38.08 kB / 483 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001439/0.2572, allocations: 50.11 kB / 483 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.572e-05/0.2572, allocations: 15.89 kB / 483.1 MB, free: 7.375 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003347/0.2576, allocations: 334 kB / 483.4 MB, free: 7.207 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2576, allocations: 1.375 kB / 483.4 MB, free: 7.207 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007722/0.2583, allocations: 260.6 kB / 483.6 MB, free: 7.16 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 22 (tube.fluidStream.T[1],tube.fluidStream.T[2],tube.fluidStream.T[3],tube.fluidStream.T[4],tube.fluidStream.T[5],tube.wall.wall.T[1,1],tube.wall.wall.T[1,2],tube.wall.wall.T[1,3],tube.wall.wall.T[2,1],tube.wall.wall.T[2,2],tube.wall.wall.T[2,3],tube.wall.wall.T[3,1],tube.wall.wall.T[3,2],tube.wall.wall.T[3,3],tube.wall.wall.T[4,1],tube.wall.wall.T[4,2],tube.wall.wall.T[4,3],tube.wall.wall.T[5,1],tube.wall.wall.T[5,2],tube.wall.wall.T[5,3],H.Tfo,H.Ec) * Number of discrete variables: 1 (Hon.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001484/0.2585, allocations: 131.5 kB / 483.8 MB, free: 7.059 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002124/0.2606, allocations: 1.659 MB / 485.4 MB, free: 6.125 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.2606, allocations: 1.219 kB / 485.4 MB, free: 6.125 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000859/0.2615, allocations: 0.9525 MB / 486.4 MB, free: 5.41 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006694/0.2622, allocations: 183.6 kB / 486.6 MB, free: 5.332 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004373/0.2666, allocations: 3.265 MB / 489.8 MB, free: 3.266 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004586/0.267, allocations: 0.9747 MB / 490.8 MB, free: 2.527 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002596/0.2673, allocations: 62.23 kB / 490.9 MB, free: 2.512 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2673, allocations: 0 / 490.9 MB, free: 2.512 MB / 350.1 MB Notification: Performance of Templates: time 0.02278/0.2901, allocations: 22.19 MB / 0.501 GB, free: 14.43 MB / 382.1 MB make -j1 -f AES_AES.Devel_test_models.Test_liquid_circuit_003.makefile (rm -f AES_AES.Devel_test_models.Test_liquid_circuit_003.pipe ; mkfifo AES_AES.Devel_test_models.Test_liquid_circuit_003.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_liquid_circuit_003.pipe >> ../files/AES_AES.Devel_test_models.Test_liquid_circuit_003.sim & ./AES_AES.Devel_test_models.Test_liquid_circuit_003 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_liquid_circuit_003.pipe 2>&1)