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.006653/0.006653, allocations: 96.23 kB / 15.73 MB, free: 6.496 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.001453/0.001453, allocations: 195.1 kB / 16.67 MB, free: 6.391 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.454/1.454, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1986/0.1986, allocations: 22.34 MB / 312.9 MB, free: 12.45 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 63.33 kB / 436.6 MB, free: 33.96 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09492/0.09616, allocations: 54.97 MB / 491.5 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_expansion_vessel_isoT_001): time 0.003641/0.09985, allocations: 3.326 MB / 494.9 MB, free: 14.38 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001579/0.1014, allocations: 0.9547 MB / 495.8 MB, free: 13.41 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001551/0.1016, allocations: 7.938 kB / 495.8 MB, free: 13.41 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002496/0.1019, allocations: 107.1 kB / 495.9 MB, free: 13.3 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004981/0.1024, allocations: 282.4 kB / 496.2 MB, free: 13.02 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004295/0.1028, allocations: 183.6 kB / 496.4 MB, free: 12.84 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001027/0.1039, allocations: 1.229 MB / 497.6 MB, free: 11.61 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008793/0.1048, allocations: 0.8632 MB / 498.5 MB, free: 10.73 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004583/0.1052, allocations: 494.7 kB / 499 MB, free: 10.25 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006452/0.1059, allocations: 0.5609 MB / 499.5 MB, free: 9.688 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001477/0.106, allocations: 132 kB / 499.7 MB, free: 9.559 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001659/0.1062, allocations: 136 kB / 499.8 MB, free: 9.426 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003028/0.1065, allocations: 391.1 kB / 0.4885 GB, free: 9.043 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004795/0.107, allocations: 0.5292 MB / 0.489 GB, free: 8.512 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001195/0.1082, allocations: 1.46 MB / 0.4904 GB, free: 7.047 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.1082, allocations: 0 / 0.4904 GB, free: 7.047 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.1082, allocations: 0 / 0.4904 GB, free: 7.047 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.988e-06/0.1082, allocations: 0 / 0.4904 GB, free: 7.047 MB / 366.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.002546/0.1108, allocations: 1.305 MB / 0.4917 GB, free: 5.691 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.1108, allocations: 8.031 kB / 0.4917 GB, free: 5.684 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001478/0.111, allocations: 118.6 kB / 0.4918 GB, free: 5.559 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000156/0.1112, allocations: 96.38 kB / 0.4919 GB, free: 5.465 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008684/0.112, allocations: 0.5702 MB / 0.4924 GB, free: 4.855 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.258e-05/0.1121, allocations: 54.36 kB / 0.4925 GB, free: 4.805 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001397/0.1122, allocations: 80.31 kB / 0.4926 GB, free: 4.727 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001448/0.1137, allocations: 0.8937 MB / 0.4934 GB, free: 3.824 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.1137, allocations: 0 / 0.4934 GB, free: 3.824 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.006e-05/0.1138, allocations: 28 kB / 0.4935 GB, free: 3.797 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.171e-05/0.1138, allocations: 16 kB / 0.4935 GB, free: 3.781 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001226/0.1151, allocations: 0.7769 MB / 0.4942 GB, free: 3.004 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004596/0.1197, allocations: 3.665 MB / 0.4978 GB, free: 15.01 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002664/0.1223, allocations: 1.032 MB / 0.4988 GB, free: 13.97 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006294/0.123, allocations: 442.4 kB / 0.4992 GB, free: 13.53 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.129e-05/0.123, allocations: 12.86 kB / 0.4993 GB, free: 13.52 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/0.1231, allocations: 39.12 kB / 0.4993 GB, free: 13.47 MB / 382.1 MB Notification: Performance of pre-optimization done (n=60): time 2.665e-06/0.1231, allocations: 4 kB / 0.4993 GB, free: 13.47 MB / 382.1 MB Notification: Performance of matching and sorting (n=60): time 0.00449/0.1276, allocations: 2.339 MB / 0.5016 GB, free: 10.95 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.235e-05/0.1276, allocations: 63.97 kB / 0.5016 GB, free: 10.88 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004964/0.1281, allocations: 425.9 kB / 0.5021 GB, free: 10.45 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.477e-05/0.1282, allocations: 37.7 kB / 0.5021 GB, free: 10.41 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002033/0.1284, allocations: 312.9 kB / 0.5024 GB, free: 10.1 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002137/0.1286, allocations: 249.8 kB / 0.5026 GB, free: 9.852 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002398/0.1289, allocations: 118.7 kB / 0.5027 GB, free: 9.727 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.129, allocations: 374.7 kB / 0.5031 GB, free: 9.352 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006507/0.1297, allocations: 433.8 kB / 0.5035 GB, free: 8.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006783/0.1304, allocations: 496.4 kB / 0.504 GB, free: 8.441 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006667/0.1371, allocations: 2.301 MB / 0.5062 GB, free: 6.137 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.1371, allocations: 0 / 0.5062 GB, free: 6.137 MB / 382.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002512/0.1396, allocations: 1.363 MB / 0.5076 GB, free: 4.738 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.1396, allocations: 6.812 kB / 0.5076 GB, free: 4.734 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.1397, allocations: 11.94 kB / 0.5076 GB, free: 4.723 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001085/0.1407, allocations: 350.6 kB / 0.5079 GB, free: 4.355 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009774/0.1417, allocations: 199.7 kB / 0.5081 GB, free: 4.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01086/0.1526, allocations: 14.3 MB / 0.5221 GB, free: 4.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006901/0.1533, allocations: 63.62 kB / 0.5221 GB, free: 4.508 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-05/0.1534, allocations: 27.98 kB / 0.5222 GB, free: 4.48 MB / 398.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.0004664/0.1539, allocations: 270.5 kB / 0.5224 GB, free: 4.207 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/0.154, allocations: 55.67 kB / 0.5225 GB, free: 4.152 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002254/0.1563, allocations: 1.219 MB / 0.5237 GB, free: 2.902 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.1563, allocations: 7.938 kB / 0.5237 GB, free: 2.895 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.1563, allocations: 4 kB / 0.5237 GB, free: 2.891 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.1563, allocations: 7.984 kB / 0.5237 GB, free: 2.883 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001125/0.1574, allocations: 0.9658 MB / 0.5246 GB, free: 1.863 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.1574, allocations: 4 kB / 0.5246 GB, free: 1.859 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001172/0.1586, allocations: 191.8 kB / 0.5248 GB, free: 1.672 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008738/0.1595, allocations: 326.6 kB / 0.5251 GB, free: 1.328 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.624e-05/0.1596, allocations: 31.98 kB / 0.5251 GB, free: 1.297 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01016/0.1698, allocations: 13.85 MB / 0.5387 GB, free: 2.191 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.1698, allocations: 64 / 0.5387 GB, free: 2.191 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002907/0.1727, allocations: 1.703 MB / 0.5403 GB, free: 460 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000172/0.1729, allocations: 144.6 kB / 0.5405 GB, free: 296 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001209/0.1731, allocations: 31.98 kB / 0.5405 GB, free: 264 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004413/0.1735, allocations: 31.95 kB / 0.5405 GB, free: 232 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001685/0.1737, allocations: 60.42 kB / 0.5406 GB, free: 172 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.525e-05/0.1737, allocations: 16.19 kB / 0.5406 GB, free: 156 kB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003896/0.1741, allocations: 311.1 kB / 0.5409 GB, free: 15.85 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1741, allocations: 0 / 0.5409 GB, free: 15.85 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009057/0.175, allocations: 295.6 kB / 0.5412 GB, free: 15.56 MB / 430.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.003153/0.1782, allocations: 2.274 MB / 0.5434 GB, free: 13.23 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002813/0.181, allocations: 1.933 MB / 0.5453 GB, free: 11.2 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.181, allocations: 0 / 0.5453 GB, free: 11.2 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001799/0.1829, allocations: 1.426 MB / 0.5467 GB, free: 9.664 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007578/0.1836, allocations: 181.3 kB / 0.5469 GB, free: 9.488 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0124/0.196, allocations: 8.816 MB / 0.5555 GB, free: 0.543 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000612/0.1967, allocations: 1.013 MB / 0.5565 GB, free: 15.5 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004596/0.1971, allocations: 168.6 kB / 0.5566 GB, free: 15.34 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003851/0.1975, allocations: 255.3 kB / 0.5569 GB, free: 15.09 MB / 446.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1975, allocations: 0 / 0.5569 GB, free: 15.09 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05842/0.256, allocations: 20.48 MB / 0.5769 GB, free: 10.84 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.42/12.68, allocations: 17.94 kB / 0.5769 GB, free: 10.83 MB / 462.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)