Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_liquid_circuit_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.001747/0.001747, allocations: 103.7 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.002202/0.002202, 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.488/1.488, allocations: 230.6 MB / 252.8 MB, free: 9.137 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.1101/0.1101, allocations: 24.11 MB / 333 MB, free: 12.63 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_liquid_circuit_001,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_001",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_liquid_circuit_001,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_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.003445/0.003445, allocations: 75.89 kB / 467.9 MB, free: 9.047 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3945/0.3979, allocations: 59.56 MB / 0.5151 GB, free: 9.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_001): time 0.003325/0.4012, allocations: 2.645 MB / 0.5177 GB, free: 7.844 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001412/0.4027, allocations: 0.8556 MB / 0.5185 GB, free: 7.238 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001455/0.4028, allocations: 7.625 kB / 0.5185 GB, free: 7.234 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001848/0.403, allocations: 45.52 kB / 0.5186 GB, free: 7.207 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003262/0.4033, allocations: 138.4 kB / 0.5187 GB, free: 7.113 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004416/0.4038, allocations: 134.1 kB / 0.5188 GB, free: 7.039 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005307/0.4043, allocations: 481.2 kB / 0.5193 GB, free: 6.816 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004363/0.4047, allocations: 291.2 kB / 0.5195 GB, free: 6.699 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003093/0.405, allocations: 236.6 kB / 0.5198 GB, free: 6.594 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004135/0.4054, allocations: 301.6 kB / 0.5201 GB, free: 6.465 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.454e-05/0.4055, allocations: 49.38 kB / 0.5201 GB, free: 6.465 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001612/0.4057, allocations: 76.73 kB / 0.5202 GB, free: 6.461 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001538/0.4058, allocations: 162.2 kB / 0.5203 GB, free: 6.375 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002123/0.4061, allocations: 237.8 kB / 0.5206 GB, free: 6.238 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006794/0.4067, allocations: 0.5777 MB / 0.5211 GB, free: 6.027 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.4067, allocations: 0 / 0.5211 GB, free: 6.027 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.4067, allocations: 4 kB / 0.5211 GB, free: 6.023 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.067e-06/0.4068, allocations: 1.094 kB / 0.5211 GB, free: 6.023 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001491/0.4082, allocations: 0.742 MB / 0.5219 GB, free: 5.465 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.303e-05/0.4083, allocations: 10.78 kB / 0.5219 GB, free: 5.465 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.732e-05/0.4084, allocations: 70.8 kB / 0.5219 GB, free: 5.406 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.947e-05/0.4085, allocations: 41.42 kB / 0.522 GB, free: 5.387 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000372/0.4089, allocations: 342.4 kB / 0.5223 GB, free: 5.098 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.847e-05/0.4089, allocations: 21.69 kB / 0.5223 GB, free: 5.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.82e-05/0.409, allocations: 41.11 kB / 0.5224 GB, free: 5.074 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007739/0.4097, allocations: 421.8 kB / 0.5228 GB, free: 4.902 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.4097, allocations: 0 / 0.5228 GB, free: 4.902 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.292e-05/0.4098, allocations: 10.19 kB / 0.5228 GB, free: 4.895 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.202e-05/0.4098, allocations: 7.781 kB / 0.5228 GB, free: 4.895 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007884/0.4106, allocations: 403.5 kB / 0.5232 GB, free: 4.754 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002671/0.4133, allocations: 1.306 MB / 0.5244 GB, free: 4.031 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000576/0.4138, allocations: 288.6 kB / 0.5247 GB, free: 3.902 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003695/0.4142, allocations: 199 kB / 0.5249 GB, free: 3.82 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.072e-05/0.4142, allocations: 4.859 kB / 0.5249 GB, free: 3.82 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/0.4143, allocations: 36.31 kB / 0.5249 GB, free: 3.777 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004277/0.4147, allocations: 83.09 kB / 0.525 GB, free: 3.746 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 1.894e-06/0.4147, allocations: 0 / 0.525 GB, free: 3.746 MB / 382.1 MB Notification: Performance of matching and sorting (n=35): time 0.005374/0.4201, allocations: 1.61 MB / 0.5266 GB, free: 2.973 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.117e-05/0.4201, allocations: 58.64 kB / 0.5267 GB, free: 2.906 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003603/0.4205, allocations: 317.4 kB / 0.527 GB, free: 2.738 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.505e-05/0.4205, allocations: 35.05 kB / 0.527 GB, free: 2.699 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/0.4206, allocations: 208.7 kB / 0.5272 GB, free: 2.523 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001037/0.4207, allocations: 134.2 kB / 0.5273 GB, free: 2.418 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001586/0.4209, allocations: 84.5 kB / 0.5274 GB, free: 2.375 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.807e-05/0.421, allocations: 351.6 kB / 0.5277 GB, free: 2.043 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004109/0.4214, allocations: 188.5 kB / 0.5279 GB, free: 1.977 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004437/0.4218, allocations: 259.4 kB / 0.5282 GB, free: 1.84 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.009881/0.4317, allocations: 1.798 MB / 0.5299 GB, free: 1.426 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.4317, allocations: 0 / 0.5299 GB, free: 1.426 MB / 382.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001723/0.4334, allocations: 0.6507 MB / 0.5305 GB, free: 1.148 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.4334, allocations: 6.297 kB / 0.5306 GB, free: 1.148 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.4335, allocations: 1.156 kB / 0.5306 GB, free: 1.148 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001375/0.4348, allocations: 203.6 kB / 0.5308 GB, free: 1.102 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000615/0.4354, allocations: 100.4 kB / 0.5308 GB, free: 1.098 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008634/0.4363, allocations: 1.172 MB / 0.532 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004439/0.4368, allocations: 19.42 kB / 0.532 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.08e-05/0.4368, allocations: 16.33 kB / 0.532 GB, free: 15.98 MB / 398.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.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (44): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0003389/0.4371, allocations: 168.5 kB / 0.5322 GB, free: 15.83 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/0.4372, allocations: 41.2 kB / 0.5322 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001992/0.4392, allocations: 0.6466 MB / 0.5329 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.065e-05/0.4392, allocations: 5.641 kB / 0.5329 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.4393, allocations: 1.188 kB / 0.5329 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.432e-05/0.4393, allocations: 6.422 kB / 0.5329 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002803/0.4421, allocations: 1.175 MB / 0.534 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.4421, allocations: 5.031 kB / 0.534 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005539/0.4426, allocations: 84.92 kB / 0.5341 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001043/0.4437, allocations: 166.8 kB / 0.5343 GB, free: 14.8 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.778e-05/0.4437, allocations: 16.05 kB / 0.5343 GB, free: 14.79 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001284/0.445, allocations: 1.168 MB / 0.5354 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.594e-06/0.445, allocations: 0 / 0.5354 GB, free: 13.68 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002361/0.4474, allocations: 0.8935 MB / 0.5363 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002117/0.4476, allocations: 118 kB / 0.5364 GB, free: 13.09 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.318e-05/0.4477, allocations: 9 kB / 0.5364 GB, free: 13.08 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003093/0.448, allocations: 16.7 kB / 0.5364 GB, free: 13.07 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000134/0.4481, allocations: 29.2 kB / 0.5365 GB, free: 13.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.624e-05/0.4481, allocations: 9.766 kB / 0.5365 GB, free: 13.07 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003466/0.4485, allocations: 241.2 kB / 0.5367 GB, free: 12.94 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4485, allocations: 0 / 0.5367 GB, free: 12.94 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006063/0.4491, allocations: 108.2 kB / 0.5368 GB, free: 12.93 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (tube.T[1],tube.T[2],tube.T[3],tube.T[4],tube.T[5]) * 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 (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002681/0.4518, allocations: 1.461 MB / 0.5382 GB, free: 11.91 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001381/0.4532, allocations: 484.7 kB / 0.5387 GB, free: 11.76 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.4532, allocations: 5.344 kB / 0.5387 GB, free: 11.76 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006964/0.4539, allocations: 259.8 kB / 0.5389 GB, free: 11.68 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005192/0.4544, allocations: 86.08 kB / 0.539 GB, free: 11.64 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007748/0.4621, allocations: 4.446 MB / 0.5434 GB, free: 8.777 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004704/0.4626, allocations: 0.8148 MB / 0.5442 GB, free: 8.023 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003097/0.4629, allocations: 77.17 kB / 0.5442 GB, free: 7.992 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002706/0.4632, allocations: 141 kB / 0.5444 GB, free: 7.879 MB / 398.1 MB Notification: Performance of SimCode: time 9.72e-07/0.4632, allocations: 0 / 0.5444 GB, free: 7.879 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04492/0.5081, allocations: 10.77 MB / 0.5549 GB, free: 2.621 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.59/13.09, allocations: 5.25 kB / 0.5549 GB, free: 2.617 MB / 398.1 MB " [Timeout remaining time 647] (rm -f AES_AES.Devel_test_models.Test_liquid_circuit_001.pipe ; mkfifo AES_AES.Devel_test_models.Test_liquid_circuit_001.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_liquid_circuit_001.pipe >> ../files/AES_AES.Devel_test_models.Test_liquid_circuit_001.sim & python3 -m fmpy simulate --output-file AES_AES.Devel_test_models.Test_liquid_circuit_001_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_001.fmu > AES_AES.Devel_test_models.Test_liquid_circuit_001.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.869713047053665] Failed to read output from testmodel.py, exit status != 0: 13.197238479973748 13.215874731 12.806123775 Calling exit ...