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: "" <> buildModelFMU(AES.Devel_test_models.Test_liquid_circuit_004,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_004",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_liquid_circuit_004,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_004",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001605/0.001605, allocations: 108 kB / 15.61 MB, free: 152 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.001097/0.001097, allocations: 195 kB / 16.53 MB, free: 6.664 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.33/1.33, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2031/0.2031, allocations: 22.36 MB / 312.7 MB, free: 12.59 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001248, allocations: 64.03 kB / 380.9 MB, free: 10.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2703/0.2715, allocations: 54.95 MB / 435.9 MB, free: 39.55 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_004): time 0.003838/0.2754, allocations: 3.957 MB / 439.8 MB, free: 36.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00175/0.2772, allocations: 1.156 MB / 441 MB, free: 35.86 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002395/0.2775, allocations: 12.38 kB / 441 MB, free: 35.85 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000265/0.2777, allocations: 149.5 kB / 441.1 MB, free: 35.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004787/0.2782, allocations: 388.4 kB / 441.5 MB, free: 35.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005518/0.2788, allocations: 268.4 kB / 441.8 MB, free: 35.36 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001184/0.28, allocations: 1.944 MB / 443.7 MB, free: 34.39 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001138/0.2811, allocations: 1.452 MB / 445.2 MB, free: 33.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005868/0.2817, allocations: 0.7375 MB / 445.9 MB, free: 33.44 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008076/0.2826, allocations: 0.8716 MB / 446.8 MB, free: 33.04 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002337/0.2828, allocations: 217.5 kB / 447 MB, free: 33.04 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002723/0.2831, allocations: 215.2 kB / 447.2 MB, free: 33.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003704/0.2834, allocations: 0.6314 MB / 447.8 MB, free: 32.74 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006152/0.2841, allocations: 0.8257 MB / 448.7 MB, free: 32.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001415/0.2855, allocations: 2.348 MB / 451 MB, free: 31.4 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.2855, allocations: 0 / 451 MB, free: 31.4 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.2855, allocations: 2.688 kB / 451 MB, free: 31.4 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.734e-05/0.2856, allocations: 0 / 451 MB, free: 31.4 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.003704/0.2893, allocations: 1.842 MB / 452.9 MB, free: 30.44 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.2893, allocations: 9.594 kB / 452.9 MB, free: 30.44 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001876/0.2895, allocations: 160.7 kB / 453 MB, free: 30.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002331/0.2897, allocations: 124.5 kB / 453.2 MB, free: 30.28 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001043/0.2908, allocations: 0.7961 MB / 454 MB, free: 29.74 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.42e-05/0.2909, allocations: 78.78 kB / 454 MB, free: 29.7 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00018/0.291, allocations: 126.2 kB / 454.2 MB, free: 29.65 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002051/0.2931, allocations: 1.426 MB / 455.6 MB, free: 29.06 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.157e-05/0.2931, allocations: 0 / 455.6 MB, free: 29.06 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001217/0.2933, allocations: 40.72 kB / 455.6 MB, free: 29.03 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.988e-05/0.2933, allocations: 24.12 kB / 455.6 MB, free: 29.03 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00213/0.2954, allocations: 1.251 MB / 456.9 MB, free: 28.54 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008742/0.3042, allocations: 6.007 MB / 462.9 MB, free: 24.82 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004015/0.3082, allocations: 1.765 MB / 464.7 MB, free: 24.19 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009896/0.3093, allocations: 0.6811 MB / 465.3 MB, free: 23.89 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.421e-05/0.3093, allocations: 14.23 kB / 465.4 MB, free: 23.89 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.606e-05/0.3094, allocations: 47.89 kB / 465.4 MB, free: 23.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=94): time 2.655e-06/0.3094, allocations: 1.125 kB / 465.4 MB, free: 23.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=94): time 0.005939/0.3153, allocations: 3.273 MB / 468.7 MB, free: 21.89 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.767e-05/0.3154, allocations: 65.44 kB / 468.7 MB, free: 21.82 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008394/0.3162, allocations: 0.6068 MB / 469.3 MB, free: 21.54 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.845e-05/0.3163, allocations: 40.45 kB / 469.4 MB, free: 21.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003092/0.3166, allocations: 450.5 kB / 469.8 MB, free: 21.14 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004277/0.3171, allocations: 379.9 kB / 470.2 MB, free: 20.85 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003979/0.3175, allocations: 213.8 kB / 470.4 MB, free: 20.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.3176, allocations: 399.9 kB / 470.8 MB, free: 20.41 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001318/0.319, allocations: 0.7371 MB / 471.5 MB, free: 20.11 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00138/0.3204, allocations: 0.9276 MB / 472.5 MB, free: 19.62 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002494/0.3229, allocations: 1.731 MB / 474.2 MB, free: 18.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.664e-06/0.3229, allocations: 1.312 kB / 474.2 MB, free: 18.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.004221/0.3271, allocations: 2.214 MB / 476.4 MB, free: 17.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.611e-05/0.3271, allocations: 11.16 kB / 476.4 MB, free: 17.76 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-05/0.3272, allocations: 5.016 kB / 476.4 MB, free: 17.76 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001417/0.3286, allocations: 413.5 kB / 476.8 MB, free: 17.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001771/0.3304, allocations: 394.5 kB / 477.2 MB, free: 17.56 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009292/0.3397, allocations: 15.79 MB / 493 MB, free: 2.285 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001304/0.341, allocations: 128.7 kB / 493.1 MB, free: 2.176 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/0.3411, allocations: 46.2 kB / 493.2 MB, free: 2.133 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.0006353/0.3418, allocations: 389.3 kB / 493.6 MB, free: 1.77 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001552/0.3419, allocations: 83 kB / 493.6 MB, free: 1.688 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002779/0.3447, allocations: 1.791 MB / 495.4 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/0.3447, allocations: 8 kB / 495.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.3448, allocations: 4 kB / 495.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/0.3448, allocations: 3.984 kB / 495.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001904/0.3467, allocations: 1.469 MB / 496.9 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.3467, allocations: 0 / 496.9 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002032/0.3487, allocations: 355.6 kB / 497.3 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009988/0.3497, allocations: 340.2 kB / 497.6 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001324/0.3499, allocations: 67.89 kB / 497.7 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01133/0.3612, allocations: 14.91 MB / 0.5006 GB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3613, allocations: 3.938 kB / 0.5006 GB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004516/0.3658, allocations: 2.431 MB / 0.5029 GB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003514/0.3662, allocations: 183.9 kB / 0.5031 GB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001851/0.3664, allocations: 55.97 kB / 0.5032 GB, free: 10.51 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006981/0.3671, allocations: 51.94 kB / 0.5032 GB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002309/0.3673, allocations: 76.83 kB / 0.5033 GB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.48e-05/0.3674, allocations: 31.98 kB / 0.5033 GB, free: 10.36 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005239/0.3679, allocations: 430.8 kB / 0.5037 GB, free: 9.934 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3679, allocations: 3.938 kB / 0.5037 GB, free: 9.93 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001375/0.3693, allocations: 447.2 kB / 0.5042 GB, free: 9.492 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.004376/0.3737, allocations: 3.054 MB / 0.5071 GB, free: 6.383 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005023/0.3787, allocations: 3.314 MB / 0.5104 GB, free: 2.938 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.3787, allocations: 5 kB / 0.5104 GB, free: 2.934 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002101/0.3809, allocations: 1.856 MB / 0.5122 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001228/0.3821, allocations: 287.9 kB / 0.5125 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02477/0.4069, allocations: 14.81 MB / 0.5269 GB, free: 1.488 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001077/0.408, allocations: 1.186 MB / 0.5281 GB, free: 276 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001119/0.4091, allocations: 362.9 kB / 0.5284 GB, free: 15.91 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007287/0.4099, allocations: 407.3 kB / 0.5288 GB, free: 15.51 MB / 414.1 MB Notification: Performance of SimCode: time 1.243e-06/0.4099, allocations: 0 / 0.5288 GB, free: 15.51 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07913/0.489, allocations: 30.14 MB / 0.5583 GB, free: 1.668 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.939/10.43, allocations: 10.8 kB / 0.5583 GB, free: 1.66 MB / 430.1 MB (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 & python3 -m fmpy simulate --output-file AES_AES.Devel_test_models.Test_liquid_circuit_004_res.csv --start-time 0 --stop-time 1000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.1 AES_AES_Devel_test_models_Test_liquid_circuit_004.fmu > AES_AES.Devel_test_models.Test_liquid_circuit_004.pipe 2>&1)