Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_liquid_circuit_004.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_004,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_liquid_circuit_004") translateModel(AES.Devel_test_models.Test_liquid_circuit_004,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_liquid_circuit_004") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009158/0.0009158, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 180 kB / 16.92 MB, free: 6.652 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.296/1.296, allocations: 223.3 MB / 241 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1916/0.1916, allocations: 22.34 MB / 314.4 MB, free: 13.01 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002972/0.0002973, allocations: 8 kB / 383.3 MB, free: 10.12 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2369/0.2372, allocations: 55.99 MB / 439.2 MB, free: 39.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_004): time 0.002601/0.2399, allocations: 3.697 MB / 442.9 MB, free: 36.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001328/0.2412, allocations: 1.167 MB / 444.1 MB, free: 35.65 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001723/0.2414, allocations: 10.09 kB / 444.1 MB, free: 35.65 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001949/0.2416, allocations: 116.9 kB / 444.2 MB, free: 35.58 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004365/0.242, allocations: 363.7 kB / 444.6 MB, free: 35.37 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004673/0.2425, allocations: 248.6 kB / 444.8 MB, free: 35.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001367/0.2439, allocations: 2.373 MB / 447.2 MB, free: 34.35 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009806/0.2449, allocations: 1.147 MB / 448.3 MB, free: 33.95 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004471/0.2453, allocations: 0.5469 MB / 448.9 MB, free: 33.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007442/0.2461, allocations: 0.8029 MB / 449.7 MB, free: 33.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001347/0.2462, allocations: 79.44 kB / 449.8 MB, free: 33.46 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001658/0.2464, allocations: 81.5 kB / 449.9 MB, free: 33.46 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002854/0.2467, allocations: 496.1 kB / 450.3 MB, free: 33.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004646/0.2472, allocations: 0.6891 MB / 451 MB, free: 32.9 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009421/0.2481, allocations: 1.881 MB / 452.9 MB, free: 32.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.2481, allocations: 4 kB / 452.9 MB, free: 32.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.2481, allocations: 0 / 452.9 MB, free: 32.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.603e-05/0.2481, allocations: 0 / 452.9 MB, free: 32.54 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: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.003005/0.2512, allocations: 1.638 MB / 454.5 MB, free: 31.72 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.067e-05/0.2512, allocations: 11.81 kB / 454.6 MB, free: 31.72 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002134/0.2514, allocations: 136.6 kB / 454.7 MB, free: 31.65 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000887/0.2523, allocations: 0.8023 MB / 455.5 MB, free: 31.1 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.662e-05/0.2524, allocations: 76.75 kB / 455.6 MB, free: 31.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001911/0.2526, allocations: 115.8 kB / 455.7 MB, free: 31.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002166/0.2547, allocations: 1.423 MB / 457.1 MB, free: 30.44 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.16e-05/0.2548, allocations: 0 / 457.1 MB, free: 30.44 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001222/0.2549, allocations: 44.66 kB / 457.2 MB, free: 30.4 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.998e-05/0.2549, allocations: 25.03 kB / 457.2 MB, free: 30.4 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001958/0.2569, allocations: 1.254 MB / 458.4 MB, free: 29.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007573/0.2645, allocations: 6.043 MB / 464.5 MB, free: 26.19 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00395/0.2684, allocations: 1.756 MB / 466.2 MB, free: 25.57 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009797/0.2694, allocations: 0.6813 MB / 466.9 MB, free: 25.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.43e-05/0.2695, allocations: 17.7 kB / 466.9 MB, free: 25.26 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/0.2695, allocations: 44.22 kB / 467 MB, free: 25.21 MB / 350.1 MB Notification: Performance of pre-optimization done (n=94): time 2.545e-06/0.2695, allocations: 0 / 467 MB, free: 25.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.005699/0.2752, allocations: 3.336 MB / 470.3 MB, free: 23.26 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.619e-05/0.2753, allocations: 65.52 kB / 470.4 MB, free: 23.19 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007283/0.276, allocations: 0.606 MB / 471 MB, free: 22.91 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.351e-05/0.2761, allocations: 41.83 kB / 471 MB, free: 22.86 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002166/0.2763, allocations: 441.4 kB / 471.4 MB, free: 22.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002686/0.2766, allocations: 384.3 kB / 471.8 MB, free: 22.22 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000158/0.2768, allocations: 105.5 kB / 471.9 MB, free: 22.17 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.2769, allocations: 404.4 kB / 472.3 MB, free: 21.82 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001084/0.278, allocations: 0.7358 MB / 473.1 MB, free: 21.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00117/0.2792, allocations: 0.9232 MB / 474 MB, free: 21.04 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002213/0.2814, allocations: 1.725 MB / 475.7 MB, free: 20.16 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/0.2814, allocations: 2.188 kB / 475.7 MB, free: 20.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003816/0.2852, allocations: 2.237 MB / 477.9 MB, free: 19.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.2852, allocations: 9.25 kB / 478 MB, free: 19.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.2853, allocations: 3.531 kB / 478 MB, free: 19.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001415/0.2867, allocations: 429 kB / 478.4 MB, free: 19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001789/0.2885, allocations: 397.1 kB / 478.8 MB, free: 18.97 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008085/0.2966, allocations: 14.7 MB / 493.5 MB, free: 4.523 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009663/0.2976, allocations: 139 kB / 493.6 MB, free: 4.387 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001189/0.2977, allocations: 47.98 kB / 493.6 MB, free: 4.34 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (146): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 10 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (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.0005595/0.2983, allocations: 385.4 kB / 494 MB, free: 3.953 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000171/0.2984, allocations: 79.06 kB / 494.1 MB, free: 3.875 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002865/0.3013, allocations: 1.79 MB / 495.9 MB, free: 2.051 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.3013, allocations: 8 kB / 495.9 MB, free: 2.043 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.3013, allocations: 4 kB / 495.9 MB, free: 2.039 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.916e-06/0.3014, allocations: 7.922 kB / 495.9 MB, free: 2.031 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001454/0.3028, allocations: 1.461 MB / 497.4 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.3028, allocations: 4 kB / 497.4 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001929/0.3048, allocations: 359.6 kB / 497.7 MB, free: 168 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009897/0.3058, allocations: 348.3 kB / 498.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001377/0.3059, allocations: 55.97 kB / 498.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009548/0.3155, allocations: 13.85 MB / 0.5 GB, free: 0.5469 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.3155, allocations: 3.938 kB / 0.5 GB, free: 0.543 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004257/0.3198, allocations: 2.443 MB / 0.5024 GB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002713/0.32, allocations: 183.9 kB / 0.5025 GB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002072/0.3203, allocations: 51.98 kB / 0.5026 GB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007738/0.321, allocations: 59.86 kB / 0.5026 GB, free: 13.74 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002224/0.3213, allocations: 88.81 kB / 0.5027 GB, free: 13.65 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.686e-05/0.3214, allocations: 23.98 kB / 0.5028 GB, free: 13.63 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005528/0.3219, allocations: 426.8 kB / 0.5032 GB, free: 13.21 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3219, allocations: 0 / 0.5032 GB, free: 13.21 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001295/0.3232, allocations: 451.1 kB / 0.5036 GB, free: 12.77 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 40 (tubeH.fluidStream.T[1],tubeH.fluidStream.T[2],tubeH.fluidStream.T[3],tubeH.fluidStream.T[4],tubeH.fluidStream.T[5],tubeH.wall.wall.T[1,1],tubeH.wall.wall.T[1,2],tubeH.wall.wall.T[1,3],tubeH.wall.wall.T[2,1],tubeH.wall.wall.T[2,2],tubeH.wall.wall.T[2,3],tubeH.wall.wall.T[3,1],tubeH.wall.wall.T[3,2],tubeH.wall.wall.T[3,3],tubeH.wall.wall.T[4,1],tubeH.wall.wall.T[4,2],tubeH.wall.wall.T[4,3],tubeH.wall.wall.T[5,1],tubeH.wall.wall.T[5,2],tubeH.wall.wall.T[5,3],tubeC.fluidStream.T[1],tubeC.fluidStream.T[2],tubeC.fluidStream.T[3],tubeC.fluidStream.T[4],tubeC.fluidStream.T[5],tubeC.wall.wall.T[1,1],tubeC.wall.wall.T[1,2],tubeC.wall.wall.T[1,3],tubeC.wall.wall.T[2,1],tubeC.wall.wall.T[2,2],tubeC.wall.wall.T[2,3],tubeC.wall.wall.T[3,1],tubeC.wall.wall.T[3,2],tubeC.wall.wall.T[3,3],tubeC.wall.wall.T[4,1],tubeC.wall.wall.T[4,2],tubeC.wall.wall.T[4,3],tubeC.wall.wall.T[5,1],tubeC.wall.wall.T[5,2],tubeC.wall.wall.T[5,3]) * 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 (86): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 10 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (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.0002519/0.3235, allocations: 171.6 kB / 0.5038 GB, free: 12.59 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003721/0.3272, allocations: 2.771 MB / 0.5065 GB, free: 9.695 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.3272, allocations: 0 / 0.5065 GB, free: 9.695 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002069/0.3293, allocations: 1.86 MB / 0.5083 GB, free: 7.711 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001086/0.3304, allocations: 278.7 kB / 0.5085 GB, free: 7.438 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009744/0.3402, allocations: 6.367 MB / 0.5148 GB, free: 1.039 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008968/0.3411, allocations: 1.186 MB / 0.5159 GB, free: 15.82 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000525/0.3416, allocations: 75.42 kB / 0.516 GB, free: 15.75 MB / 398.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3416, allocations: 3.938 kB / 0.516 GB, free: 15.74 MB / 398.1 MB Notification: Performance of Templates: time 0.05434/0.396, allocations: 53.55 MB / 0.5683 GB, free: 10.16 MB / 446.1 MB make -j1 -f AES_AES.Devel_test_models.Test_liquid_circuit_004.makefile (rm -f AES_AES.Devel_test_models.Test_liquid_circuit_004.pipe ; mkfifo AES_AES.Devel_test_models.Test_liquid_circuit_004.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_liquid_circuit_004.pipe >> ../files/AES_AES.Devel_test_models.Test_liquid_circuit_004.sim & ./AES_AES.Devel_test_models.Test_liquid_circuit_004 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_liquid_circuit_004.pipe 2>&1)