Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_liquid_circuit_005.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.001217/0.001217, allocations: 100.3 kB / 19.72 MB, free: 1.785 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.001357/0.001357, allocations: 206.8 kB / 23.01 MB, free: 4.621 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.513/1.513, allocations: 230.6 MB / 256.8 MB, free: 7.738 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.1097/0.1097, allocations: 24.02 MB / 337.2 MB, free: 11.32 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_005,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_005",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_liquid_circuit_005,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_005",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.003161/0.003161, allocations: 67.89 kB / 473.8 MB, free: 6.363 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4241/0.4272, allocations: 59.58 MB / 0.5209 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_005): time 0.006827/0.4341, allocations: 3.623 MB / 0.5245 GB, free: 7.637 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002658/0.4367, allocations: 1.2 MB / 0.5256 GB, free: 6.781 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003011/0.437, allocations: 20.28 kB / 0.5256 GB, free: 6.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003283/0.4373, allocations: 154.4 kB / 0.5258 GB, free: 6.672 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006793/0.438, allocations: 397.1 kB / 0.5262 GB, free: 6.43 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008941/0.4389, allocations: 296.9 kB / 0.5265 GB, free: 6.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002746/0.4417, allocations: 2.005 MB / 0.5284 GB, free: 5.254 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001524/0.4432, allocations: 1.052 MB / 0.5294 GB, free: 4.754 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001291/0.4445, allocations: 0.7632 MB / 0.5302 GB, free: 4.398 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001483/0.446, allocations: 0.8434 MB / 0.531 GB, free: 4.062 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003729/0.4463, allocations: 219.5 kB / 0.5312 GB, free: 4.062 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005205/0.4469, allocations: 218.9 kB / 0.5314 GB, free: 4.062 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007187/0.4476, allocations: 0.6468 MB / 0.5321 GB, free: 3.746 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001049/0.4486, allocations: 0.7164 MB / 0.5328 GB, free: 3.355 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002969/0.4516, allocations: 2.407 MB / 0.5351 GB, free: 2.508 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.4516, allocations: 0 / 0.5351 GB, free: 2.508 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4516, allocations: 0 / 0.5351 GB, free: 2.508 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.781e-05/0.4517, allocations: 1.188 kB / 0.5351 GB, free: 2.508 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: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.006503/0.4582, allocations: 1.838 MB / 0.5369 GB, free: 1.586 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.51e-05/0.4582, allocations: 10.33 kB / 0.5369 GB, free: 1.586 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002723/0.4585, allocations: 160.8 kB / 0.5371 GB, free: 1.484 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003724/0.4589, allocations: 139.7 kB / 0.5372 GB, free: 1.414 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001566/0.4604, allocations: 0.7556 MB / 0.5379 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.96e-05/0.4605, allocations: 79.72 kB / 0.538 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002898/0.4608, allocations: 121.4 kB / 0.5381 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002526/0.4633, allocations: 1.485 MB / 0.5396 GB, free: 0 / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.46e-05/0.4634, allocations: 0 / 0.5396 GB, free: 0 / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001589/0.4635, allocations: 40.98 kB / 0.5396 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.762e-05/0.4635, allocations: 24.91 kB / 0.5396 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002403/0.4659, allocations: 1.267 MB / 0.5409 GB, free: 15.3 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01048/0.4764, allocations: 4.456 MB / 0.5452 GB, free: 12.5 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0046/0.481, allocations: 1.764 MB / 0.547 GB, free: 11.64 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001227/0.4823, allocations: 0.6922 MB / 0.5476 GB, free: 11.27 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.822e-05/0.4823, allocations: 10.25 kB / 0.5476 GB, free: 11.27 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.518e-05/0.4824, allocations: 51.59 kB / 0.5477 GB, free: 11.21 MB / 398.1 MB Notification: Performance of pre-optimization done (n=96): time 3.587e-06/0.4824, allocations: 0 / 0.5477 GB, free: 11.21 MB / 398.1 MB Notification: Performance of matching and sorting (n=104): time 0.01643/0.4988, allocations: 5.169 MB / 0.5527 GB, free: 8.363 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.605e-05/0.4989, allocations: 66.31 kB / 0.5528 GB, free: 8.293 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00189/0.5008, allocations: 0.6499 MB / 0.5534 GB, free: 7.902 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001851/0.501, allocations: 42.42 kB / 0.5535 GB, free: 7.859 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005707/0.5016, allocations: 471 kB / 0.5539 GB, free: 7.445 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008215/0.5024, allocations: 437.3 kB / 0.5543 GB, free: 7.066 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000819/0.5032, allocations: 234 kB / 0.5546 GB, free: 6.934 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0003401/0.5035, allocations: 408.7 kB / 0.555 GB, free: 6.551 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001705/0.5052, allocations: 0.7866 MB / 0.5557 GB, free: 6.145 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001746/0.507, allocations: 0.986 MB / 0.5567 GB, free: 5.535 MB / 398.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.01544/0.5224, allocations: 4.55 MB / 0.5611 GB, free: 1.691 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.5e-05/0.5225, allocations: 0 / 0.5611 GB, free: 1.691 MB / 398.1 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.007127/0.5296, allocations: 2.529 MB / 0.5636 GB, free: 15.12 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.737e-05/0.5296, allocations: 8 kB / 0.5636 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.416e-05/0.5296, allocations: 4 kB / 0.5636 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003758/0.5334, allocations: 0.6618 MB / 0.5643 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002899/0.5363, allocations: 359.5 kB / 0.5646 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02101/0.5573, allocations: 18.67 MB / 0.5828 GB, free: 9.953 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001586/0.5589, allocations: 79.94 kB / 0.5829 GB, free: 9.875 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003987/0.5593, allocations: 47.98 kB / 0.583 GB, free: 9.828 MB / 430.1 MB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: $DER.tubeH.fluidStream.w = 0.0 $DER.tubeC.fluidStream.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (144): * Single equations (assignments): 132 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(1,6,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%), (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,6)} Notification: Performance of prepare postOptimizeDAE: time 0.001369/0.5607, allocations: 401.5 kB / 0.5833 GB, free: 9.426 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000481/0.5611, allocations: 95.38 kB / 0.5834 GB, free: 9.332 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005298/0.5664, allocations: 2.097 MB / 0.5855 GB, free: 7.18 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.171e-05/0.5665, allocations: 12 kB / 0.5855 GB, free: 7.168 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.928e-05/0.5665, allocations: 8.047 kB / 0.5855 GB, free: 7.16 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.434e-05/0.5665, allocations: 7.984 kB / 0.5855 GB, free: 7.152 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008477/0.575, allocations: 3.661 MB / 0.5891 GB, free: 3.398 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.575, allocations: 0 / 0.5891 GB, free: 3.398 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001844/0.5768, allocations: 323.6 kB / 0.5894 GB, free: 3.082 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001947/0.5788, allocations: 0.5292 MB / 0.5899 GB, free: 2.516 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001951/0.579, allocations: 63.95 kB / 0.59 GB, free: 2.453 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01631/0.5953, allocations: 17.21 MB / 0.6068 GB, free: 15.87 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.5953, allocations: 0 / 0.6068 GB, free: 15.87 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008024/0.6033, allocations: 2.77 MB / 0.6095 GB, free: 13.05 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006505/0.6039, allocations: 99.31 kB / 0.6096 GB, free: 12.95 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005589/0.6045, allocations: 56.16 kB / 0.6096 GB, free: 12.89 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001562/0.6061, allocations: 59.94 kB / 0.6097 GB, free: 12.84 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005451/0.6066, allocations: 104.7 kB / 0.6098 GB, free: 12.73 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002081/0.6068, allocations: 31.97 kB / 0.6098 GB, free: 12.7 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001173/0.608, allocations: 459 kB / 0.6103 GB, free: 12.26 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.608, allocations: 0 / 0.6103 GB, free: 12.26 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003038/0.611, allocations: 440 kB / 0.6107 GB, free: 11.83 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 40 (tubeH.fluidStream.T[1],tubeH.fluidStream.T[2],tubeH.fluidStream.T[3],tubeH.fluidStream.T[4],tubeH.fluidStream.T[5],tubeH.wall.wall.T[1,1],tubeH.wall.wall.T[1,2],tubeH.wall.wall.T[1,3],tubeH.wall.wall.T[2,1],tubeH.wall.wall.T[2,2],tubeH.wall.wall.T[2,3],tubeH.wall.wall.T[3,1],tubeH.wall.wall.T[3,2],tubeH.wall.wall.T[3,3],tubeH.wall.wall.T[4,1],tubeH.wall.wall.T[4,2],tubeH.wall.wall.T[4,3],tubeH.wall.wall.T[5,1],tubeH.wall.wall.T[5,2],tubeH.wall.wall.T[5,3],tubeC.fluidStream.T[1],tubeC.fluidStream.T[2],tubeC.fluidStream.T[3],tubeC.fluidStream.T[4],tubeC.fluidStream.T[5],tubeC.wall.wall.T[1,1],tubeC.wall.wall.T[1,2],tubeC.wall.wall.T[1,3],tubeC.wall.wall.T[2,1],tubeC.wall.wall.T[2,2],tubeC.wall.wall.T[2,3],tubeC.wall.wall.T[3,1],tubeC.wall.wall.T[3,2],tubeC.wall.wall.T[3,3],tubeC.wall.wall.T[4,1],tubeC.wall.wall.T[4,2],tubeC.wall.wall.T[4,3],tubeC.wall.wall.T[5,1],tubeC.wall.wall.T[5,2],tubeC.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 (89): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(1,4,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%), (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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008411/0.6194, allocations: 3.362 MB / 0.614 GB, free: 8.395 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005439/0.6249, allocations: 3.115 MB / 0.617 GB, free: 5.121 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.6249, allocations: 0 / 0.617 GB, free: 5.121 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003307/0.6282, allocations: 2.202 MB / 0.6191 GB, free: 2.766 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001636/0.6298, allocations: 290.8 kB / 0.6194 GB, free: 2.484 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03166/0.6615, allocations: 15.2 MB / 0.6343 GB, free: 2.98 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001042/0.6625, allocations: 0.6299 MB / 0.6349 GB, free: 2.316 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001242/0.6638, allocations: 359.3 kB / 0.6352 GB, free: 1.961 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00091/0.6647, allocations: 431.3 kB / 0.6356 GB, free: 1.539 MB / 478.1 MB Notification: Performance of SimCode: time 9.02e-07/0.6647, allocations: 0 / 0.6356 GB, free: 1.539 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1376/0.8022, allocations: 37.74 MB / 0.6725 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.64/15.44, allocations: 3.984 kB / 0.6725 GB, free: 12.23 MB / 0.5137 GB " [Timeout remaining time 644] (rm -f AES_AES.Devel_test_models.Test_liquid_circuit_005.pipe ; mkfifo AES_AES.Devel_test_models.Test_liquid_circuit_005.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_liquid_circuit_005.pipe >> ../files/AES_AES.Devel_test_models.Test_liquid_circuit_005.sim & python3 -m fmpy simulate --output-file AES_AES.Devel_test_models.Test_liquid_circuit_005_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_005.fmu > AES_AES.Devel_test_models.Test_liquid_circuit_005.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.652226730249822] Failed to read output from testmodel.py, exit status != 0: 15.582557584159076 15.596588323 15.141792281 Calling exit ...