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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 103.9 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 210.4 kB / 19.43 MB, free: 3.637 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.517/1.517, allocations: 230.6 MB / 252.8 MB, free: 9.141 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.109/0.109, allocations: 24.11 MB / 333 MB, free: 12.64 MB / 270.1 MB " [Timeout remaining time 180] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003636/0.003636, allocations: 69.91 kB / 467.9 MB, free: 9.059 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4233/0.4269, allocations: 59.56 MB / 0.5151 GB, free: 9.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_expansion_vessel_isoT_001): time 0.004507/0.4314, allocations: 3.374 MB / 0.5184 GB, free: 7.305 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002333/0.4338, allocations: 0.9971 MB / 0.5193 GB, free: 6.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004058/0.4342, allocations: 9.594 kB / 0.5193 GB, free: 6.586 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003091/0.4345, allocations: 106.2 kB / 0.5195 GB, free: 6.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007154/0.4352, allocations: 281.6 kB / 0.5197 GB, free: 6.344 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005858/0.4358, allocations: 181.7 kB / 0.5199 GB, free: 6.234 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001563/0.4373, allocations: 1.229 MB / 0.5211 GB, free: 5.633 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001185/0.4385, allocations: 0.7329 MB / 0.5218 GB, free: 5.316 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001072/0.4396, allocations: 0.489 MB / 0.5223 GB, free: 5.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009338/0.4405, allocations: 0.5764 MB / 0.5228 GB, free: 4.836 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002625/0.4408, allocations: 134.2 kB / 0.523 GB, free: 4.832 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002733/0.4411, allocations: 131.8 kB / 0.5231 GB, free: 4.832 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003489/0.4414, allocations: 406.1 kB / 0.5235 GB, free: 4.637 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000595/0.442, allocations: 0.5239 MB / 0.524 GB, free: 4.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001892/0.4439, allocations: 1.456 MB / 0.5254 GB, free: 3.805 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.4439, allocations: 1.25 kB / 0.5254 GB, free: 3.805 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.4439, allocations: 0 / 0.5254 GB, free: 3.805 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.71e-05/0.4439, allocations: 0 / 0.5254 GB, free: 3.805 MB / 382.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.003631/0.4476, allocations: 1.315 MB / 0.5267 GB, free: 3.02 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/0.4476, allocations: 14.25 kB / 0.5267 GB, free: 3.016 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002047/0.4478, allocations: 115.2 kB / 0.5268 GB, free: 2.938 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002709/0.4481, allocations: 93.55 kB / 0.5269 GB, free: 2.891 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001004/0.4491, allocations: 0.567 MB / 0.5275 GB, free: 2.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.636e-05/0.4491, allocations: 49.12 kB / 0.5275 GB, free: 2.461 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001615/0.4493, allocations: 85.16 kB / 0.5276 GB, free: 2.426 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001864/0.4512, allocations: 0.8976 MB / 0.5285 GB, free: 2.062 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.029e-05/0.4512, allocations: 0 / 0.5285 GB, free: 2.062 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.199e-05/0.4513, allocations: 29.05 kB / 0.5285 GB, free: 2.043 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.076e-05/0.4513, allocations: 16.66 kB / 0.5285 GB, free: 2.043 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001678/0.453, allocations: 0.775 MB / 0.5293 GB, free: 1.738 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006074/0.4591, allocations: 3.664 MB / 0.5329 GB, free: 15.12 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003085/0.4621, allocations: 1.009 MB / 0.5338 GB, free: 14.78 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008888/0.463, allocations: 435.6 kB / 0.5343 GB, free: 14.59 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.691e-05/0.4631, allocations: 9.844 kB / 0.5343 GB, free: 14.59 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.335e-05/0.4631, allocations: 38.23 kB / 0.5343 GB, free: 14.55 MB / 398.1 MB Notification: Performance of pre-optimization done (n=60): time 3.036e-06/0.4631, allocations: 0 / 0.5343 GB, free: 14.55 MB / 398.1 MB Notification: Performance of matching and sorting (n=66): time 0.01076/0.4739, allocations: 3.878 MB / 0.5381 GB, free: 12.3 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002647/0.4765, allocations: 1.783 MB / 0.5398 GB, free: 10.59 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000912/0.4775, allocations: 434.6 kB / 0.5402 GB, free: 10.32 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002857/0.4777, allocations: 36.05 kB / 0.5403 GB, free: 10.28 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003239/0.4781, allocations: 317.2 kB / 0.5406 GB, free: 10 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005454/0.4786, allocations: 264.4 kB / 0.5408 GB, free: 9.77 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000435/0.479, allocations: 132.7 kB / 0.541 GB, free: 9.688 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002694/0.4793, allocations: 366.8 kB / 0.5413 GB, free: 9.336 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00105/0.4804, allocations: 465.2 kB / 0.5418 GB, free: 9.102 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001051/0.4814, allocations: 0.512 MB / 0.5423 GB, free: 8.832 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002001/0.4834, allocations: 0.9901 MB / 0.5432 GB, free: 8.309 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.4834, allocations: 0 / 0.5432 GB, free: 8.309 MB / 398.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.004202/0.4876, allocations: 1.516 MB / 0.5447 GB, free: 7.457 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.484e-05/0.4877, allocations: 9.875 kB / 0.5447 GB, free: 7.453 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.4877, allocations: 0 / 0.5447 GB, free: 7.453 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002065/0.4897, allocations: 0.4902 MB / 0.5452 GB, free: 7.164 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001064/0.4908, allocations: 174 kB / 0.5454 GB, free: 7.121 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01646/0.5072, allocations: 14.81 MB / 0.5598 GB, free: 8.664 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001074/0.5083, allocations: 39.17 kB / 0.5599 GB, free: 8.641 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002323/0.5086, allocations: 26.94 kB / 0.5599 GB, free: 8.629 MB / 414.1 MB 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): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 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): 1 system {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0008174/0.5094, allocations: 279.7 kB / 0.5601 GB, free: 8.41 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002682/0.5096, allocations: 53.52 kB / 0.5602 GB, free: 8.383 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003396/0.513, allocations: 1.333 MB / 0.5615 GB, free: 7.562 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/0.513, allocations: 10.97 kB / 0.5615 GB, free: 7.559 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.572e-05/0.5131, allocations: 3.375 kB / 0.5615 GB, free: 7.559 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.153e-05/0.5131, allocations: 3.984 kB / 0.5615 GB, free: 7.555 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002034/0.5151, allocations: 0.9917 MB / 0.5625 GB, free: 6.805 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.063e-05/0.5151, allocations: 1 kB / 0.5625 GB, free: 6.805 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001243/0.5164, allocations: 186.1 kB / 0.5627 GB, free: 6.758 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001463/0.5178, allocations: 406.4 kB / 0.5631 GB, free: 6.516 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001451/0.518, allocations: 33.67 kB / 0.5631 GB, free: 6.496 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01418/0.5322, allocations: 14.12 MB / 0.5769 GB, free: 8.52 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0022/0.5343, allocations: 1.721 MB / 0.5786 GB, free: 6.828 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004639/0.539, allocations: 1.84 MB / 0.5804 GB, free: 5.738 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004009/0.5394, allocations: 142.5 kB / 0.5805 GB, free: 5.594 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002935/0.5397, allocations: 29.08 kB / 0.5805 GB, free: 5.578 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007026/0.5404, allocations: 33.94 kB / 0.5805 GB, free: 5.559 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003052/0.5407, allocations: 65.94 kB / 0.5806 GB, free: 5.516 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.642e-05/0.5408, allocations: 19.86 kB / 0.5806 GB, free: 5.508 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005073/0.5413, allocations: 308.8 kB / 0.5809 GB, free: 5.211 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5413, allocations: 0 / 0.5809 GB, free: 5.211 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00159/0.5429, allocations: 292 kB / 0.5812 GB, free: 4.926 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 21 ($STATESET1.x,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]) * 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 (52): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 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): 1 system {(2,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004421/0.5473, allocations: 2.411 MB / 0.5836 GB, free: 2.469 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003901/0.5512, allocations: 2.111 MB / 0.5856 GB, free: 244 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.5512, allocations: 0 / 0.5856 GB, free: 244 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002715/0.5539, allocations: 1.589 MB / 0.5872 GB, free: 14.53 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001217/0.5551, allocations: 177.4 kB / 0.5873 GB, free: 14.36 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02111/0.5762, allocations: 9.4 MB / 0.5965 GB, free: 4.809 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001116/0.5773, allocations: 1.021 MB / 0.5975 GB, free: 3.762 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007688/0.5781, allocations: 168.8 kB / 0.5977 GB, free: 3.598 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006497/0.5788, allocations: 263.3 kB / 0.5979 GB, free: 3.34 MB / 446.1 MB Notification: Performance of SimCode: time 1.623e-06/0.5788, allocations: 0 / 0.5979 GB, free: 3.34 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08816/0.6669, allocations: 22.92 MB / 0.6203 GB, free: 12.7 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.22/14.89, allocations: 3.938 kB / 0.6203 GB, free: 12.69 MB / 478.1 MB " [Timeout remaining time 645] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.14153955806978] Failed to read output from testmodel.py, exit status != 0: 15.000053345924243 15.013881109 14.566742247 Calling exit ...