Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_expansion_vessel_isoT_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: "" <> buildModelFMU(AES.Devel_test_models.Test_expansion_vessel_isoT_001,fileNamePrefix="AES_AES_Devel_test_models_Test_expansion_vessel_isoT_001",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_expansion_vessel_isoT_001,fileNamePrefix="AES_AES_Devel_test_models_Test_expansion_vessel_isoT_001",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.001546/0.001546, allocations: 108 kB / 15.6 MB, free: 132 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.001247/0.001247, allocations: 198.5 kB / 16.54 MB, free: 6.668 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.333/1.333, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.212/0.212, allocations: 22.35 MB / 312.7 MB, free: 12.49 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 67.88 kB / 380.9 MB, free: 10.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3117/0.313, allocations: 54.93 MB / 435.9 MB, free: 39.58 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_expansion_vessel_isoT_001): time 0.003944/0.317, allocations: 3.336 MB / 439.2 MB, free: 37.19 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001495/0.3186, allocations: 0.9596 MB / 440.2 MB, free: 36.49 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002014/0.3188, allocations: 11.56 kB / 440.2 MB, free: 36.49 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002652/0.3191, allocations: 98.56 kB / 440.3 MB, free: 36.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004992/0.3196, allocations: 270.2 kB / 440.5 MB, free: 36.26 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004749/0.3201, allocations: 181.7 kB / 440.7 MB, free: 36.15 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009535/0.321, allocations: 1.225 MB / 441.9 MB, free: 35.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008482/0.3219, allocations: 0.8678 MB / 442.8 MB, free: 35.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004353/0.3223, allocations: 490.5 kB / 443.3 MB, free: 34.97 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006285/0.323, allocations: 0.5613 MB / 443.9 MB, free: 34.72 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000173/0.3231, allocations: 134.2 kB / 444 MB, free: 34.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001852/0.3233, allocations: 132.2 kB / 444.1 MB, free: 34.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002597/0.3236, allocations: 397.4 kB / 444.5 MB, free: 34.53 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004056/0.324, allocations: 0.5294 MB / 445 MB, free: 34.21 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008372/0.3249, allocations: 1.439 MB / 446.5 MB, free: 33.69 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.848e-06/0.3249, allocations: 0 / 446.5 MB, free: 33.69 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3249, allocations: 0 / 446.5 MB, free: 33.69 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.155e-05/0.3249, allocations: 2.688 kB / 446.5 MB, free: 33.69 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.002438/0.3273, allocations: 1.29 MB / 447.8 MB, free: 32.93 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.3274, allocations: 10.59 kB / 447.8 MB, free: 32.93 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001399/0.3275, allocations: 115 kB / 447.9 MB, free: 32.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001789/0.3277, allocations: 98.88 kB / 448 MB, free: 32.79 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006651/0.3284, allocations: 0.5587 MB / 448.5 MB, free: 32.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.024e-05/0.3285, allocations: 55.06 kB / 448.6 MB, free: 32.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001247/0.3286, allocations: 74.61 kB / 448.7 MB, free: 32.33 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001241/0.3298, allocations: 0.8911 MB / 449.6 MB, free: 31.97 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.3299, allocations: 0 / 449.6 MB, free: 31.97 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.431e-05/0.3299, allocations: 29.78 kB / 449.6 MB, free: 31.95 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.35e-05/0.33, allocations: 16.59 kB / 449.6 MB, free: 31.95 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001087/0.3311, allocations: 0.7754 MB / 450.4 MB, free: 31.65 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003837/0.3349, allocations: 3.688 MB / 454.1 MB, free: 29.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002443/0.3374, allocations: 1.034 MB / 455.1 MB, free: 28.67 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006249/0.338, allocations: 448.9 kB / 455.5 MB, free: 28.47 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.755e-05/0.3381, allocations: 6.344 kB / 455.5 MB, free: 28.47 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.943e-05/0.3381, allocations: 38.53 kB / 455.6 MB, free: 28.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=60): time 2.405e-06/0.3381, allocations: 0 / 455.6 MB, free: 28.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=60): time 0.004204/0.3423, allocations: 2.343 MB / 457.9 MB, free: 26.99 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.376e-05/0.3424, allocations: 58.34 kB / 458 MB, free: 26.92 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005386/0.3429, allocations: 426.6 kB / 458.4 MB, free: 26.71 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.376e-05/0.343, allocations: 35.02 kB / 458.4 MB, free: 26.67 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001574/0.3431, allocations: 313.3 kB / 458.7 MB, free: 26.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001846/0.3433, allocations: 239.6 kB / 459 MB, free: 26.24 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002327/0.3436, allocations: 119.7 kB / 459.1 MB, free: 26.18 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.3437, allocations: 376.3 kB / 459.5 MB, free: 25.84 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006887/0.3444, allocations: 430.2 kB / 459.9 MB, free: 25.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007176/0.3451, allocations: 492.5 kB / 460.4 MB, free: 25.46 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006851/0.3519, allocations: 2.311 MB / 462.7 MB, free: 24.7 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.022e-06/0.352, allocations: 0 / 462.7 MB, free: 24.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002566/0.3546, allocations: 1.356 MB / 464 MB, free: 24.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/0.3546, allocations: 4.188 kB / 464 MB, free: 24.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/0.3546, allocations: 0 / 464 MB, free: 24.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001052/0.3557, allocations: 367.2 kB / 464.4 MB, free: 23.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009628/0.3567, allocations: 197.6 kB / 464.6 MB, free: 23.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009016/0.3657, allocations: 14.29 MB / 478.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008602/0.3666, allocations: 64.33 kB / 478.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.476e-05/0.3667, allocations: 24.67 kB / 479 MB, free: 10.22 MB / 350.1 MB Warning: Assuming fixed start value for the following 1 variables: ev.lfrac:VARIABLE(start = ev.lfracstart fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (73): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (2,2,100.0%), (2,2,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006498/0.3673, allocations: 276.7 kB / 479.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001334/0.3675, allocations: 57.47 kB / 479.3 MB, free: 9.984 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002362/0.3698, allocations: 1.213 MB / 480.5 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.777e-06/0.3699, allocations: 5.5 kB / 480.5 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.3699, allocations: 3.406 kB / 480.5 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.095e-05/0.3699, allocations: 3.281 kB / 480.5 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001424/0.3713, allocations: 0.9727 MB / 481.5 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.3713, allocations: 0 / 481.5 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001129/0.3725, allocations: 193.6 kB / 481.7 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008363/0.3733, allocations: 325 kB / 482 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-05/0.3734, allocations: 39.73 kB / 482 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01035/0.3838, allocations: 13.86 MB / 495.9 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.3839, allocations: 1.672 kB / 495.9 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003793/0.3877, allocations: 1.696 MB / 497.6 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003341/0.388, allocations: 140.6 kB / 497.7 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001282/0.3882, allocations: 28.72 kB / 497.8 MB, free: 10.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000471/0.3886, allocations: 28.59 kB / 497.8 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003019/0.3889, allocations: 56.39 kB / 497.8 MB, free: 10.35 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.748e-05/0.389, allocations: 25.86 kB / 497.9 MB, free: 10.34 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004674/0.3895, allocations: 309.6 kB / 498.2 MB, free: 10.18 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3895, allocations: 0 / 498.2 MB, free: 10.18 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001437/0.3909, allocations: 297.3 kB / 498.5 MB, free: 10.12 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 21 (tube01.fluidStream.T[1],tube01.fluidStream.T[2],tube01.fluidStream.T[3],tube01.fluidStream.T[4],tube01.fluidStream.T[5],tube01.wall.wall.T[1,1],tube01.wall.wall.T[1,2],tube01.wall.wall.T[1,3],tube01.wall.wall.T[2,1],tube01.wall.wall.T[2,2],tube01.wall.wall.T[2,3],tube01.wall.wall.T[3,1],tube01.wall.wall.T[3,2],tube01.wall.wall.T[3,3],tube01.wall.wall.T[4,1],tube01.wall.wall.T[4,2],tube01.wall.wall.T[4,3],tube01.wall.wall.T[5,1],tube01.wall.wall.T[5,2],tube01.wall.wall.T[5,3],ev.lfrac) * 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 (50): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,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.003825/0.3948, allocations: 2.266 MB / 0.489 GB, free: 8.75 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003693/0.3985, allocations: 2.125 MB / 0.4911 GB, free: 7.074 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.3985, allocations: 0 / 0.4911 GB, free: 7.074 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002259/0.4008, allocations: 1.419 MB / 0.4924 GB, free: 5.648 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001017/0.4018, allocations: 170.9 kB / 0.4926 GB, free: 5.508 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01536/0.4172, allocations: 8.961 MB / 0.5014 GB, free: 12.51 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001301/0.4185, allocations: 1.009 MB / 0.5023 GB, free: 11.47 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007277/0.4193, allocations: 164.6 kB / 0.5025 GB, free: 11.31 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004282/0.4197, allocations: 255.3 kB / 0.5027 GB, free: 11.06 MB / 382.1 MB Notification: Performance of SimCode: time 1.072e-06/0.4197, allocations: 0 / 0.5027 GB, free: 11.06 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05828/0.478, allocations: 20.17 MB / 0.5224 GB, free: 7.148 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/12.11, allocations: 11.77 kB / 0.5224 GB, free: 7.137 MB / 398.1 MB (rm -f AES_AES.Devel_test_models.Test_expansion_vessel_isoT_001.pipe ; mkfifo AES_AES.Devel_test_models.Test_expansion_vessel_isoT_001.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_expansion_vessel_isoT_001.pipe >> ../files/AES_AES.Devel_test_models.Test_expansion_vessel_isoT_001.sim & python3 -m fmpy simulate --output-file AES_AES.Devel_test_models.Test_expansion_vessel_isoT_001_res.csv --start-time 0 --stop-time 80000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 8 AES_AES_Devel_test_models_Test_expansion_vessel_isoT_001.fmu > AES_AES.Devel_test_models.Test_expansion_vessel_isoT_001.pipe 2>&1)