Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_liquid_circuit_003.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.001705/0.001705, allocations: 108.3 kB / 19.73 MB, free: 1.898 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.002096/0.002096, allocations: 210.1 kB / 23.01 MB, free: 4.992 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.453/1.453, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.1098/0.1098, allocations: 24.04 MB / 337.2 MB, free: 11.43 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_003,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_003",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_liquid_circuit_003,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_003",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.002898/0.002898, allocations: 67.91 kB / 473.8 MB, free: 6.375 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3871/0.39, allocations: 59.58 MB / 0.5209 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_003): time 0.003988/0.394, allocations: 3.105 MB / 0.524 GB, free: 7.98 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001734/0.3958, allocations: 0.941 MB / 0.5249 GB, free: 7.316 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000223/0.396, allocations: 13.5 kB / 0.5249 GB, free: 7.309 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002662/0.3963, allocations: 99.83 kB / 0.525 GB, free: 7.246 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004902/0.3967, allocations: 252.2 kB / 0.5252 GB, free: 7.086 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004704/0.3972, allocations: 185.5 kB / 0.5254 GB, free: 6.977 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001033/0.3982, allocations: 1.17 MB / 0.5265 GB, free: 6.391 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007763/0.399, allocations: 0.6003 MB / 0.5271 GB, free: 6.109 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006159/0.3996, allocations: 463.3 kB / 0.5276 GB, free: 5.895 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007117/0.4004, allocations: 0.4898 MB / 0.528 GB, free: 5.691 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000194/0.4005, allocations: 122.5 kB / 0.5282 GB, free: 5.691 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002338/0.4008, allocations: 122.5 kB / 0.5283 GB, free: 5.691 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003118/0.4011, allocations: 360 kB / 0.5286 GB, free: 5.516 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005486/0.4016, allocations: 432.8 kB / 0.529 GB, free: 5.285 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001814/0.4035, allocations: 1.368 MB / 0.5304 GB, free: 4.797 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.205e-06/0.4035, allocations: 9.094 kB / 0.5304 GB, free: 4.789 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.4035, allocations: 0 / 0.5304 GB, free: 4.789 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.697e-05/0.4035, allocations: 0 / 0.5304 GB, free: 4.789 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: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.003133/0.4066, allocations: 1.17 MB / 0.5315 GB, free: 4.129 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.4067, allocations: 14.77 kB / 0.5315 GB, free: 4.125 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001343/0.4068, allocations: 111.4 kB / 0.5316 GB, free: 4.047 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001817/0.407, allocations: 87.2 kB / 0.5317 GB, free: 4.004 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008929/0.4079, allocations: 490.7 kB / 0.5322 GB, free: 3.672 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.976e-05/0.408, allocations: 75.16 kB / 0.5323 GB, free: 3.617 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001724/0.4081, allocations: 76.22 kB / 0.5323 GB, free: 3.59 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001627/0.4098, allocations: 0.8532 MB / 0.5332 GB, free: 3.227 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.406e-05/0.4098, allocations: 0 / 0.5332 GB, free: 3.227 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.657e-05/0.4099, allocations: 29.66 kB / 0.5332 GB, free: 3.203 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.901e-05/0.4099, allocations: 15.41 kB / 0.5332 GB, free: 3.203 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001229/0.4111, allocations: 0.7273 MB / 0.5339 GB, free: 2.926 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00504/0.4162, allocations: 2.573 MB / 0.5364 GB, free: 1.641 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002144/0.4183, allocations: 0.8826 MB / 0.5373 GB, free: 1.324 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000537/0.4188, allocations: 368.1 kB / 0.5377 GB, free: 1.16 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.474e-05/0.4189, allocations: 6.344 kB / 0.5377 GB, free: 1.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.448e-05/0.4189, allocations: 41.88 kB / 0.5377 GB, free: 1.113 MB / 382.1 MB Notification: Performance of pre-optimization done (n=56): time 2.766e-06/0.4189, allocations: 1.406 kB / 0.5377 GB, free: 1.113 MB / 382.1 MB Notification: Performance of matching and sorting (n=58): time 0.004948/0.4239, allocations: 2.376 MB / 0.54 GB, free: 15.98 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.432e-05/0.4239, allocations: 57.41 kB / 0.5401 GB, free: 15.91 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006297/0.4245, allocations: 490.3 kB / 0.5405 GB, free: 15.67 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.156e-05/0.4246, allocations: 35.33 kB / 0.5406 GB, free: 15.63 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002616/0.4249, allocations: 356.7 kB / 0.5409 GB, free: 15.34 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002582/0.4251, allocations: 239 kB / 0.5411 GB, free: 15.16 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002713/0.4254, allocations: 153.5 kB / 0.5413 GB, free: 15.08 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002007/0.4256, allocations: 374.9 kB / 0.5416 GB, free: 14.74 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007414/0.4263, allocations: 464.1 kB / 0.5421 GB, free: 14.55 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008355/0.4272, allocations: 0.597 MB / 0.5427 GB, free: 14.15 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007125/0.4343, allocations: 2.432 MB / 0.545 GB, free: 12.8 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.708e-06/0.4343, allocations: 1.531 kB / 0.545 GB, free: 12.8 MB / 398.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.002537/0.4368, allocations: 1.311 MB / 0.5463 GB, free: 12.09 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.594e-05/0.4369, allocations: 6.156 kB / 0.5463 GB, free: 12.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.825e-05/0.4369, allocations: 5.594 kB / 0.5463 GB, free: 12.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007815/0.4377, allocations: 216.8 kB / 0.5465 GB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001273/0.4389, allocations: 263.2 kB / 0.5468 GB, free: 11.9 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006997/0.4459, allocations: 7.352 MB / 0.554 GB, free: 4.699 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009177/0.4469, allocations: 52.41 kB / 0.554 GB, free: 4.668 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-05/0.4469, allocations: 32.44 kB / 0.5541 GB, free: 4.66 MB / 398.1 MB Warning: Assuming fixed start value for the following 2 variables: H.Ec:VARIABLE(flow=false fixed = true ) type: Real H.Tfo:VARIABLE(min = 0.0 start = H.Tstart unit = \"K\" fixed = true nominal = 300.0 ) \"outlet fluid temp\" type: Real 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: 24 * Number of states: 0 () * Number of discrete variables: 1 (Hon.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(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): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006709/0.4476, allocations: 273.2 kB / 0.5543 GB, free: 4.445 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001454/0.4478, allocations: 66.73 kB / 0.5544 GB, free: 4.406 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002038/0.4498, allocations: 0.984 MB / 0.5553 GB, free: 3.816 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.4498, allocations: 6.312 kB / 0.5553 GB, free: 3.816 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.4498, allocations: 1.219 kB / 0.5553 GB, free: 3.816 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.088e-05/0.4498, allocations: 5.359 kB / 0.5554 GB, free: 3.812 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003998/0.4538, allocations: 1.884 MB / 0.5572 GB, free: 2.578 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.4538, allocations: 0 / 0.5572 GB, free: 2.578 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001497/0.4553, allocations: 219.8 kB / 0.5574 GB, free: 2.531 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006202/0.4559, allocations: 173.7 kB / 0.5576 GB, free: 2.422 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001062/0.456, allocations: 34.27 kB / 0.5576 GB, free: 2.402 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006363/0.4624, allocations: 6.902 MB / 0.5643 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/0.4624, allocations: 5.359 kB / 0.5643 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002687/0.4651, allocations: 1.399 MB / 0.5657 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002699/0.4654, allocations: 61.95 kB / 0.5658 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000136/0.4655, allocations: 42.14 kB / 0.5658 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004444/0.4659, allocations: 27.78 kB / 0.5658 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000171/0.4661, allocations: 56.2 kB / 0.5659 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.123e-05/0.4662, allocations: 15.91 kB / 0.5659 GB, free: 10.57 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004589/0.4666, allocations: 327.3 kB / 0.5662 GB, free: 10.38 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4666, allocations: 0 / 0.5662 GB, free: 10.38 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009468/0.4676, allocations: 232.3 kB / 0.5664 GB, free: 10.35 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 22 (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],H.Tfo,H.Ec) * Number of discrete variables: 1 (Hon.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(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): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002794/0.4704, allocations: 1.979 MB / 0.5684 GB, free: 8.914 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002263/0.4726, allocations: 1.454 MB / 0.5698 GB, free: 7.395 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.4726, allocations: 0 / 0.5698 GB, free: 7.395 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001218/0.4739, allocations: 0.9571 MB / 0.5707 GB, free: 6.375 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007914/0.4746, allocations: 178 kB / 0.5709 GB, free: 6.199 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01482/0.4895, allocations: 8.897 MB / 0.5796 GB, free: 13.04 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004762/0.4899, allocations: 392.1 kB / 0.58 GB, free: 12.63 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0007116/0.4907, allocations: 213 kB / 0.5802 GB, free: 12.42 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004671/0.4911, allocations: 263.3 kB / 0.5804 GB, free: 12.16 MB / 430.1 MB Notification: Performance of SimCode: time 1.153e-06/0.4911, allocations: 0 / 0.5804 GB, free: 12.16 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06765/0.5588, allocations: 20.28 MB / 0.6002 GB, free: 8.207 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.55/13.11, allocations: 6.438 kB / 0.6002 GB, free: 8.203 MB / 446.1 MB " [Timeout remaining time 647] (rm -f AES_AES.Devel_test_models.Test_liquid_circuit_003.pipe ; mkfifo AES_AES.Devel_test_models.Test_liquid_circuit_003.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_liquid_circuit_003.pipe >> ../files/AES_AES.Devel_test_models.Test_liquid_circuit_003.sim & python3 -m fmpy simulate --output-file AES_AES.Devel_test_models.Test_liquid_circuit_003_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_003.fmu > AES_AES.Devel_test_models.Test_liquid_circuit_003.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.19855450419709] Failed to read output from testmodel.py, exit status != 0: 13.228110066615045 13.24296733 12.836425517 Calling exit ...