Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_liquid_circuit_002.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.00139/0.00139, allocations: 110.2 kB / 16.41 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.001399/0.001399, allocations: 191.7 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.466/1.466, allocations: 222.9 MB / 245.1 MB, free: 15.02 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.1034/0.1034, allocations: 22.34 MB / 319.6 MB, free: 6.766 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_liquid_circuit_002,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_002",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_liquid_circuit_002,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_002",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00201/0.00201, allocations: 67.89 kB / 445.3 MB, free: 8.605 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.127, allocations: 54.96 MB / 0.4885 GB, free: 1.598 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_002): time 0.005013/0.1321, allocations: 3.107 MB / 0.4915 GB, free: 14.47 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001893/0.134, allocations: 0.8809 MB / 0.4924 GB, free: 13.58 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001758/0.1342, allocations: 11.94 kB / 0.4924 GB, free: 13.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002521/0.1344, allocations: 83.22 kB / 0.4925 GB, free: 13.49 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005033/0.135, allocations: 230.6 kB / 0.4927 GB, free: 13.26 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004894/0.1355, allocations: 167.7 kB / 0.4929 GB, free: 13.1 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001256/0.1367, allocations: 1.084 MB / 0.4939 GB, free: 12.01 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00113/0.1379, allocations: 0.7745 MB / 0.4947 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005808/0.1385, allocations: 434.9 kB / 0.4951 GB, free: 10.8 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008134/0.1393, allocations: 498.5 kB / 0.4956 GB, free: 10.31 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001683/0.1395, allocations: 116 kB / 0.4957 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002541/0.1397, allocations: 116 kB / 0.4958 GB, free: 10.08 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003557/0.1401, allocations: 347.1 kB / 0.4961 GB, free: 9.742 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006075/0.1407, allocations: 474.1 kB / 0.4966 GB, free: 9.277 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001385/0.1421, allocations: 1.289 MB / 0.4978 GB, free: 7.984 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.1421, allocations: 0 / 0.4978 GB, free: 7.984 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1421, allocations: 0 / 0.4978 GB, free: 7.984 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.319e-05/0.1422, allocations: 0 / 0.4978 GB, free: 7.984 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002647/0.1448, allocations: 1.204 MB / 0.499 GB, free: 6.73 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.1449, allocations: 8.031 kB / 0.499 GB, free: 6.723 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001478/0.145, allocations: 110.7 kB / 0.4991 GB, free: 6.605 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001562/0.1452, allocations: 80.42 kB / 0.4992 GB, free: 6.527 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008589/0.1461, allocations: 0.5345 MB / 0.4997 GB, free: 5.949 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.625e-05/0.1461, allocations: 41.69 kB / 0.4998 GB, free: 5.91 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001199/0.1462, allocations: 64.38 kB / 0.4998 GB, free: 5.848 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001451/0.1477, allocations: 0.7757 MB / 0.5006 GB, free: 5.062 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/0.1477, allocations: 3.938 kB / 0.5006 GB, free: 5.059 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.382e-05/0.1478, allocations: 24 kB / 0.5006 GB, free: 5.035 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.551e-05/0.1478, allocations: 16 kB / 0.5006 GB, free: 5.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001288/0.1491, allocations: 0.6883 MB / 0.5013 GB, free: 4.332 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005646/0.1548, allocations: 3.566 MB / 0.5048 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2309/0.3857, allocations: 0.8645 MB / 0.5056 GB, free: 20.36 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006319/0.3864, allocations: 366.4 kB / 0.506 GB, free: 20.36 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.149e-05/0.3864, allocations: 10.7 kB / 0.506 GB, free: 20.36 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/0.3865, allocations: 37.88 kB / 0.506 GB, free: 20.32 MB / 382.1 MB Notification: Performance of pre-optimization done (n=51): time 2.835e-06/0.3865, allocations: 0 / 0.506 GB, free: 20.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=56): time 0.009281/0.3958, allocations: 3.345 MB / 0.5093 GB, free: 19.46 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.981e-05/0.3958, allocations: 56.44 kB / 0.5093 GB, free: 19.39 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005313/0.3964, allocations: 468.2 kB / 0.5098 GB, free: 19.28 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.471e-05/0.3964, allocations: 35.7 kB / 0.5098 GB, free: 19.25 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001575/0.3966, allocations: 332.5 kB / 0.5101 GB, free: 19.09 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002068/0.3968, allocations: 231.5 kB / 0.5104 GB, free: 18.97 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000238/0.3971, allocations: 149.3 kB / 0.5105 GB, free: 18.95 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.327e-05/0.3972, allocations: 374 kB / 0.5109 GB, free: 18.64 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007322/0.3979, allocations: 433.1 kB / 0.5113 GB, free: 18.63 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007798/0.3987, allocations: 0.595 MB / 0.5119 GB, free: 18.47 MB / 382.1 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.007988/0.4067, allocations: 2.479 MB / 0.5143 GB, free: 18.25 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-05/0.4067, allocations: 1.375 kB / 0.5143 GB, free: 18.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.00354/0.4103, allocations: 1.447 MB / 0.5157 GB, free: 18.09 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.4103, allocations: 4.875 kB / 0.5157 GB, free: 18.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/0.4103, allocations: 4.406 kB / 0.5157 GB, free: 18.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00165/0.412, allocations: 360.4 kB / 0.516 GB, free: 18.03 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009736/0.413, allocations: 218 kB / 0.5162 GB, free: 18.03 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008474/0.4215, allocations: 11.16 MB / 0.5271 GB, free: 8.391 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008382/0.4223, allocations: 51.05 kB / 0.5272 GB, free: 8.387 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.87e-05/0.4224, allocations: 32.25 kB / 0.5272 GB, free: 8.387 MB / 382.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $DER.tube.fluidStream.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (88): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,3,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 {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0004327/0.4229, allocations: 267.1 kB / 0.5275 GB, free: 8.258 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/0.423, allocations: 58.7 kB / 0.5275 GB, free: 8.227 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002584/0.4256, allocations: 1.156 MB / 0.5287 GB, free: 8.09 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.4256, allocations: 5.781 kB / 0.5287 GB, free: 8.09 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.4256, allocations: 3.25 kB / 0.5287 GB, free: 8.09 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.4256, allocations: 8.406 kB / 0.5287 GB, free: 8.086 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003614/0.4292, allocations: 2.111 MB / 0.5307 GB, free: 7.508 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.608e-06/0.4292, allocations: 0.6562 kB / 0.5307 GB, free: 7.508 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001074/0.4303, allocations: 176.9 kB / 0.5309 GB, free: 7.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001355/0.4317, allocations: 309.1 kB / 0.5312 GB, free: 7.379 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.894e-05/0.4318, allocations: 35.67 kB / 0.5312 GB, free: 7.363 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007789/0.4396, allocations: 10.62 MB / 0.5416 GB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.4396, allocations: 0 / 0.5416 GB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00364/0.4433, allocations: 1.569 MB / 0.5431 GB, free: 12.3 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002649/0.4436, allocations: 136 kB / 0.5433 GB, free: 12.16 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001187/0.4437, allocations: 36.8 kB / 0.5433 GB, free: 12.14 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005499/0.4443, allocations: 33.84 kB / 0.5433 GB, free: 12.14 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000226/0.4445, allocations: 58.77 kB / 0.5434 GB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.633e-05/0.4446, allocations: 18.42 kB / 0.5434 GB, free: 12.12 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004951/0.4451, allocations: 326.1 kB / 0.5437 GB, free: 11.96 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4451, allocations: 0 / 0.5437 GB, free: 11.96 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001003/0.4461, allocations: 245.8 kB / 0.544 GB, free: 11.93 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 20 (tube.fluidStream.T[1],tube.fluidStream.T[2],tube.fluidStream.T[3],tube.fluidStream.T[4],tube.fluidStream.T[5],tube.wall.wall.T[1,1],tube.wall.wall.T[1,2],tube.wall.wall.T[1,3],tube.wall.wall.T[2,1],tube.wall.wall.T[2,2],tube.wall.wall.T[2,3],tube.wall.wall.T[3,1],tube.wall.wall.T[3,2],tube.wall.wall.T[3,3],tube.wall.wall.T[4,1],tube.wall.wall.T[4,2],tube.wall.wall.T[4,3],tube.wall.wall.T[5,1],tube.wall.wall.T[5,2],tube.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 (49): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,2,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 {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003965/0.4501, allocations: 2.141 MB / 0.546 GB, free: 10.63 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003164/0.4532, allocations: 1.789 MB / 0.5478 GB, free: 9.457 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.4533, allocations: 1.688 kB / 0.5478 GB, free: 9.457 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001775/0.455, allocations: 1.239 MB / 0.549 GB, free: 8.492 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000872/0.4559, allocations: 176.7 kB / 0.5492 GB, free: 8.43 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0167/0.4726, allocations: 8.813 MB / 0.5578 GB, free: 2.766 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000708/0.4734, allocations: 0.9671 MB / 0.5587 GB, free: 1.938 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006553/0.4741, allocations: 210.8 kB / 0.5589 GB, free: 1.852 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003975/0.4745, allocations: 238.8 kB / 0.5592 GB, free: 1.652 MB / 398.1 MB Notification: Performance of SimCode: time 7.62e-07/0.4745, allocations: 0 / 0.5592 GB, free: 1.652 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07158/0.5461, allocations: 19.95 MB / 0.5786 GB, free: 14.05 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.29/13.84, allocations: 15.78 kB / 0.5787 GB, free: 14.04 MB / 430.1 MB " [Timeout remaining time 646] (rm -f AES_AES.Devel_test_models.Test_liquid_circuit_002.pipe ; mkfifo AES_AES.Devel_test_models.Test_liquid_circuit_002.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_liquid_circuit_002.pipe >> ../files/AES_AES.Devel_test_models.Test_liquid_circuit_002.sim & python3 -m fmpy simulate --output-file AES_AES.Devel_test_models.Test_liquid_circuit_002_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_002.fmu > AES_AES.Devel_test_models.Test_liquid_circuit_002.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.904124743072316] Failed to read output from testmodel.py, exit status != 0: 13.942848387989216 13.968943238 13.822252408 Calling exit ...