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.0009253/0.0009253, allocations: 92.31 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.00098/0.00098, 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.251/1.251, allocations: 223.3 MB / 240 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1816/0.1816, allocations: 22.35 MB / 313.4 MB, free: 13.21 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000267/0.0002671, allocations: 8 kB / 381.9 MB, free: 10.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2287/0.229, allocations: 55.98 MB / 437.9 MB, free: 39.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_003): time 0.002234/0.2312, allocations: 3.085 MB / 441 MB, free: 37.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001035/0.2323, allocations: 0.9357 MB / 441.9 MB, free: 36.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001394/0.2324, allocations: 9.594 kB / 441.9 MB, free: 36.56 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001427/0.2326, allocations: 66.38 kB / 442 MB, free: 36.53 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003468/0.2329, allocations: 240.7 kB / 442.2 MB, free: 36.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002716/0.2332, allocations: 116.7 kB / 442.4 MB, free: 36.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007165/0.234, allocations: 1.183 MB / 443.5 MB, free: 35.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005109/0.2345, allocations: 0.5777 MB / 444.1 MB, free: 35.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002479/0.2347, allocations: 338.3 kB / 444.5 MB, free: 35.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004214/0.2352, allocations: 481.1 kB / 444.9 MB, free: 35.35 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.129e-05/0.2352, allocations: 51.5 kB / 445 MB, free: 35.35 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001019/0.2354, allocations: 46.72 kB / 445 MB, free: 35.35 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001704/0.2355, allocations: 286.2 kB / 445.3 MB, free: 35.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001117/0.2357, allocations: 176.1 kB / 445.5 MB, free: 35.15 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005387/0.2362, allocations: 1.067 MB / 446.5 MB, free: 34.94 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.2362, allocations: 3.094 kB / 446.5 MB, free: 34.94 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2362, allocations: 0 / 446.5 MB, free: 34.94 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.636e-06/0.2362, allocations: 0 / 446.5 MB, free: 34.94 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.001704/0.2379, allocations: 1.101 MB / 447.6 MB, free: 34.29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.841e-05/0.238, allocations: 10.62 kB / 447.6 MB, free: 34.29 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001267/0.2381, allocations: 83.72 kB / 447.7 MB, free: 34.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005583/0.2387, allocations: 0.5261 MB / 448.3 MB, free: 33.86 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.414e-05/0.2387, allocations: 74.61 kB / 448.3 MB, free: 33.81 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001062/0.2389, allocations: 76.72 kB / 448.4 MB, free: 33.78 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001144/0.24, allocations: 0.8234 MB / 449.2 MB, free: 33.45 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/0.24, allocations: 3.938 kB / 449.2 MB, free: 33.45 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.808e-05/0.2401, allocations: 27.94 kB / 449.3 MB, free: 33.42 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/0.2401, allocations: 15.62 kB / 449.3 MB, free: 33.42 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001009/0.2411, allocations: 0.7155 MB / 450 MB, free: 33.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003798/0.2449, allocations: 3.777 MB / 453.8 MB, free: 30.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001932/0.2469, allocations: 0.9114 MB / 454.7 MB, free: 30.33 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004625/0.2474, allocations: 368.2 kB / 455 MB, free: 30.17 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.752e-05/0.2474, allocations: 7.031 kB / 455 MB, free: 30.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.84e-05/0.2475, allocations: 39.41 kB / 455.1 MB, free: 30.12 MB / 350.1 MB Notification: Performance of pre-optimization done (n=56): time 1.854e-06/0.2475, allocations: 0 / 455.1 MB, free: 30.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=56): time 0.002821/0.2503, allocations: 1.75 MB / 456.8 MB, free: 29.11 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.884e-05/0.2503, allocations: 61.03 kB / 456.9 MB, free: 29.04 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004801/0.2508, allocations: 470.7 kB / 457.4 MB, free: 28.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.443e-05/0.2509, allocations: 35.95 kB / 457.4 MB, free: 28.78 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001469/0.251, allocations: 349.4 kB / 457.7 MB, free: 28.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001384/0.2512, allocations: 219.6 kB / 457.9 MB, free: 28.33 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.759e-05/0.2512, allocations: 15.47 kB / 458 MB, free: 28.32 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.69e-05/0.2513, allocations: 377.4 kB / 458.3 MB, free: 27.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006068/0.2519, allocations: 456.6 kB / 458.8 MB, free: 27.79 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006365/0.2526, allocations: 0.59 MB / 459.4 MB, free: 27.41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006642/0.2532, allocations: 0.5055 MB / 459.9 MB, free: 27.19 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.2532, allocations: 2.688 kB / 459.9 MB, free: 27.19 MB / 350.1 MB Notification: Performance of matching and sorting (n=103) (initialization): time 0.002072/0.2553, allocations: 1.287 MB / 461.2 MB, free: 26.62 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.2554, allocations: 8 kB / 461.2 MB, free: 26.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.2554, allocations: 4.438 kB / 461.2 MB, free: 26.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007099/0.2561, allocations: 218.7 kB / 461.4 MB, free: 26.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001185/0.2573, allocations: 261.6 kB / 461.6 MB, free: 26.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004018/0.2613, allocations: 7.363 MB / 469 MB, free: 19.42 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005904/0.2619, allocations: 102.2 kB / 469.1 MB, free: 19.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.304e-05/0.262, allocations: 32.31 kB / 469.1 MB, free: 19.35 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 (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003915/0.2624, allocations: 278 kB / 469.4 MB, free: 19.14 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.792e-05/0.2625, allocations: 53.59 kB / 469.5 MB, free: 19.12 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001668/0.2642, allocations: 0.98 MB / 470.4 MB, free: 18.66 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.2642, allocations: 6.344 kB / 470.4 MB, free: 18.66 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.2642, allocations: 2.094 kB / 470.4 MB, free: 18.66 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.2642, allocations: 3.328 kB / 470.4 MB, free: 18.66 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009103/0.2651, allocations: 0.89 MB / 471.3 MB, free: 18.17 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.2651, allocations: 3.938 kB / 471.3 MB, free: 18.17 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0013/0.2664, allocations: 217 kB / 471.6 MB, free: 18.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004691/0.2669, allocations: 175 kB / 471.7 MB, free: 18.07 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-05/0.267, allocations: 29.97 kB / 471.8 MB, free: 18.06 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003258/0.2703, allocations: 6.916 MB / 478.7 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.2703, allocations: 5.797 kB / 478.7 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001948/0.2722, allocations: 1.363 MB / 480 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001109/0.2723, allocations: 141 kB / 480.2 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/0.2725, allocations: 31.52 kB / 480.2 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004126/0.2729, allocations: 40.83 kB / 480.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001178/0.273, allocations: 43.84 kB / 480.3 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.343e-05/0.2731, allocations: 24.91 kB / 480.3 MB, free: 10.39 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003388/0.2734, allocations: 330.5 kB / 480.6 MB, free: 10.22 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2734, allocations: 0 / 480.6 MB, free: 10.22 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008253/0.2742, allocations: 256.8 kB / 480.9 MB, free: 10.18 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 (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001433/0.2744, allocations: 140.5 kB / 481 MB, free: 10.07 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001709/0.2761, allocations: 1.472 MB / 482.5 MB, free: 9.152 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.2761, allocations: 1.062 kB / 482.5 MB, free: 9.152 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008773/0.277, allocations: 0.9556 MB / 483.5 MB, free: 8.438 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006873/0.2777, allocations: 170.9 kB / 483.6 MB, free: 8.375 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004324/0.282, allocations: 3.471 MB / 487.1 MB, free: 6.293 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004478/0.2825, allocations: 0.9775 MB / 488.1 MB, free: 5.555 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0006213/0.2831, allocations: 211.8 kB / 488.3 MB, free: 5.531 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001889/0.2833, allocations: 48.56 kB / 488.3 MB, free: 5.523 MB / 350.1 MB Notification: Performance of SimCode: time 6.41e-07/0.2833, allocations: 1.062 kB / 488.3 MB, free: 5.523 MB / 350.1 MB Notification: Performance of Templates: time 0.01467/0.298, allocations: 10.64 MB / 499 MB, free: 14.23 MB / 366.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)