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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001934/0.001934, allocations: 109.2 kB / 16.4 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002148/0.002148, allocations: 192.5 kB / 19.35 MB, free: 3.734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 222.9 MB / 245.1 MB, free: 15.01 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.09913/0.09913, allocations: 22.33 MB / 319.6 MB, free: 6.762 MB / 254.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.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001992/0.001992, allocations: 63.91 kB / 445.3 MB, free: 8.609 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1292, allocations: 54.96 MB / 0.4885 GB, free: 1.602 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_expansion_vessel_isoT_001): time 0.004662/0.1339, allocations: 3.329 MB / 0.4918 GB, free: 14.25 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001878/0.1359, allocations: 0.9585 MB / 0.4927 GB, free: 13.29 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000225/0.1361, allocations: 4 kB / 0.4927 GB, free: 13.28 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002689/0.1364, allocations: 103.1 kB / 0.4928 GB, free: 13.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005663/0.137, allocations: 270.3 kB / 0.493 GB, free: 12.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005054/0.1375, allocations: 183.7 kB / 0.4932 GB, free: 12.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001441/0.139, allocations: 1.229 MB / 0.4944 GB, free: 11.5 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001187/0.1402, allocations: 0.8746 MB / 0.4953 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006882/0.1409, allocations: 490.7 kB / 0.4957 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008353/0.1417, allocations: 0.5647 MB / 0.4963 GB, free: 9.566 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002054/0.1419, allocations: 132 kB / 0.4964 GB, free: 9.438 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002264/0.1422, allocations: 132 kB / 0.4965 GB, free: 9.309 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003932/0.1426, allocations: 395.1 kB / 0.4969 GB, free: 8.922 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006334/0.1432, allocations: 0.5252 MB / 0.4974 GB, free: 8.395 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001563/0.1448, allocations: 1.46 MB / 0.4989 GB, free: 6.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1448, allocations: 0 / 0.4989 GB, free: 6.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1448, allocations: 0 / 0.4989 GB, free: 6.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.457e-05/0.1448, allocations: 4 kB / 0.4989 GB, free: 6.926 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.002944/0.1478, allocations: 1.305 MB / 0.5001 GB, free: 5.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.1478, allocations: 12.03 kB / 0.5002 GB, free: 5.559 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001635/0.148, allocations: 114.7 kB / 0.5003 GB, free: 5.438 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000185/0.1482, allocations: 88.42 kB / 0.5003 GB, free: 5.352 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008539/0.1491, allocations: 0.5663 MB / 0.5009 GB, free: 4.746 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.198e-05/0.1491, allocations: 54.36 kB / 0.501 GB, free: 4.695 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001475/0.1493, allocations: 76.33 kB / 0.501 GB, free: 4.621 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001702/0.151, allocations: 0.8976 MB / 0.5019 GB, free: 3.715 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.94e-05/0.151, allocations: 0 / 0.5019 GB, free: 3.715 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.136e-05/0.1511, allocations: 28 kB / 0.5019 GB, free: 3.688 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.65e-05/0.1512, allocations: 16 kB / 0.5019 GB, free: 3.672 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001409/0.1526, allocations: 0.7809 MB / 0.5027 GB, free: 2.891 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2341/0.3866, allocations: 3.656 MB / 0.5063 GB, free: 19.58 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002437/0.3891, allocations: 1.028 MB / 0.5073 GB, free: 19.55 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006195/0.3898, allocations: 447.5 kB / 0.5077 GB, free: 19.54 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.43e-05/0.3898, allocations: 9.75 kB / 0.5077 GB, free: 19.54 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.3898, allocations: 42.84 kB / 0.5078 GB, free: 19.5 MB / 382.1 MB Notification: Performance of pre-optimization done (n=60): time 2.204e-06/0.3899, allocations: 2.156 kB / 0.5078 GB, free: 19.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=66): time 0.008157/0.398, allocations: 3.889 MB / 0.5116 GB, free: 18.33 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00156/0.3996, allocations: 1.779 MB / 0.5133 GB, free: 16.79 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006181/0.4003, allocations: 426.4 kB / 0.5137 GB, free: 16.68 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001306/0.4004, allocations: 36.58 kB / 0.5137 GB, free: 16.65 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002006/0.4006, allocations: 320.5 kB / 0.514 GB, free: 16.51 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002866/0.4009, allocations: 265.5 kB / 0.5143 GB, free: 16.37 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002754/0.4012, allocations: 129.5 kB / 0.5144 GB, free: 16.36 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.4013, allocations: 379.4 kB / 0.5148 GB, free: 16.04 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007776/0.4021, allocations: 467.6 kB / 0.5152 GB, free: 16.04 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000865/0.403, allocations: 0.5097 MB / 0.5157 GB, free: 16.01 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001526/0.4045, allocations: 0.9851 MB / 0.5167 GB, free: 15.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.289e-06/0.4045, allocations: 0.625 kB / 0.5167 GB, free: 15.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003365/0.4079, allocations: 1.523 MB / 0.5182 GB, free: 15.82 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.476e-05/0.4079, allocations: 7.625 kB / 0.5182 GB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.879e-06/0.408, allocations: 0.5156 kB / 0.5182 GB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001771/0.4097, allocations: 486.3 kB / 0.5186 GB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000877/0.4106, allocations: 172 kB / 0.5188 GB, free: 15.74 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01021/0.4209, allocations: 14.84 MB / 0.5333 GB, free: 3.285 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007989/0.4217, allocations: 33.33 kB / 0.5333 GB, free: 3.277 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.745e-05/0.4218, allocations: 26.73 kB / 0.5334 GB, free: 3.27 MB / 382.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.0005301/0.4223, allocations: 275.7 kB / 0.5336 GB, free: 3.078 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001463/0.4225, allocations: 58.83 kB / 0.5337 GB, free: 3.047 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002871/0.4254, allocations: 1.331 MB / 0.535 GB, free: 2.438 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.945e-05/0.4254, allocations: 10.94 kB / 0.535 GB, free: 2.434 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.605e-05/0.4254, allocations: 3.859 kB / 0.535 GB, free: 2.434 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.394e-05/0.4255, allocations: 7.719 kB / 0.535 GB, free: 2.43 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001909/0.4274, allocations: 0.9948 MB / 0.536 GB, free: 1.934 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/0.4274, allocations: 3.5 kB / 0.536 GB, free: 1.934 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001125/0.4285, allocations: 186.2 kB / 0.5362 GB, free: 1.922 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001203/0.4298, allocations: 398.6 kB / 0.5365 GB, free: 1.762 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001393/0.4299, allocations: 36.2 kB / 0.5366 GB, free: 1.746 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01381/0.4437, allocations: 14.12 MB / 0.5504 GB, free: 4.348 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002276/0.4461, allocations: 1.726 MB / 0.552 GB, free: 2.723 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004338/0.4504, allocations: 1.843 MB / 0.5538 GB, free: 1.82 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003001/0.4508, allocations: 139.8 kB / 0.554 GB, free: 1.688 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001724/0.4509, allocations: 33.03 kB / 0.554 GB, free: 1.672 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005298/0.4515, allocations: 32.28 kB / 0.554 GB, free: 1.664 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002859/0.4518, allocations: 64.91 kB / 0.5541 GB, free: 1.648 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.168e-05/0.4519, allocations: 18.89 kB / 0.5541 GB, free: 1.645 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004739/0.4523, allocations: 300 kB / 0.5544 GB, free: 1.492 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4523, allocations: 7.938 kB / 0.5544 GB, free: 1.484 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001286/0.4536, allocations: 292.1 kB / 0.5547 GB, free: 1.457 MB / 398.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.004248/0.4579, allocations: 2.426 MB / 0.5571 GB, free: 15.85 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003927/0.4619, allocations: 2.148 MB / 0.5592 GB, free: 14.24 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.4619, allocations: 0 / 0.5592 GB, free: 14.24 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002489/0.4644, allocations: 1.602 MB / 0.5607 GB, free: 12.87 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009755/0.4654, allocations: 180.4 kB / 0.5609 GB, free: 12.78 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01608/0.4815, allocations: 9.426 MB / 0.5701 GB, free: 5.5 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008544/0.4824, allocations: 1.024 MB / 0.5711 GB, free: 4.453 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0006302/0.4831, allocations: 168.8 kB / 0.5713 GB, free: 4.289 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004719/0.4835, allocations: 267.3 kB / 0.5715 GB, free: 4.027 MB / 414.1 MB Notification: Performance of SimCode: time 9.42e-07/0.4836, allocations: 0 / 0.5715 GB, free: 4.027 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08514/0.5687, allocations: 22.74 MB / 0.5937 GB, free: 13.58 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.05/14.62, allocations: 7.766 kB / 0.5937 GB, free: 13.57 MB / 446.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: 17.835728242062032] Failed to read output from testmodel.py, exit status != 0: 14.725525639019907 14.747781249 14.599016229 Calling exit ...