Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_liquid_circuit_004.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.001335/0.001335, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001478/0.001478, allocations: 215.5 kB / 22.25 MB, free: 5.113 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.473/1.473, allocations: 230.6 MB / 256 MB, free: 8.008 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.1096/0.1096, allocations: 24.13 MB / 336.6 MB, free: 11.44 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_004,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_004",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_liquid_circuit_004,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_004",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.003232/0.003232, allocations: 67.89 kB / 473.3 MB, free: 6.395 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3874/0.3907, allocations: 59.6 MB / 0.5204 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_004): time 0.005741/0.3964, allocations: 3.994 MB / 0.5243 GB, free: 7.273 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002978/0.3994, allocations: 1.202 MB / 0.5255 GB, free: 6.402 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004658/0.3999, allocations: 20.22 kB / 0.5255 GB, free: 6.391 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004047/0.4003, allocations: 157.5 kB / 0.5257 GB, free: 6.293 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007346/0.401, allocations: 396.1 kB / 0.526 GB, free: 6.047 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009195/0.4019, allocations: 279.2 kB / 0.5263 GB, free: 5.879 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002405/0.4043, allocations: 1.976 MB / 0.5282 GB, free: 4.898 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001459/0.4058, allocations: 1.048 MB / 0.5293 GB, free: 4.402 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001506/0.4073, allocations: 0.7561 MB / 0.53 GB, free: 4.047 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001717/0.409, allocations: 0.898 MB / 0.5309 GB, free: 3.648 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003657/0.4094, allocations: 215.3 kB / 0.5311 GB, free: 3.648 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004909/0.4099, allocations: 217.2 kB / 0.5313 GB, free: 3.648 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000835/0.4107, allocations: 0.6259 MB / 0.5319 GB, free: 3.352 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001238/0.4119, allocations: 0.8332 MB / 0.5327 GB, free: 2.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002979/0.4149, allocations: 2.367 MB / 0.535 GB, free: 2.004 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.397e-06/0.4149, allocations: 0.8438 kB / 0.535 GB, free: 2.004 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.026e-06/0.4149, allocations: 0 / 0.535 GB, free: 2.004 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.809e-05/0.415, allocations: 0 / 0.535 GB, free: 2.004 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: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.00512/0.4201, allocations: 1.803 MB / 0.5368 GB, free: 1.098 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/0.4202, allocations: 11.27 kB / 0.5368 GB, free: 1.098 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002613/0.4204, allocations: 159.9 kB / 0.537 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003143/0.4207, allocations: 137.5 kB / 0.5371 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001527/0.4223, allocations: 0.7413 MB / 0.5378 GB, free: 456 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.085e-05/0.4223, allocations: 75.31 kB / 0.5379 GB, free: 420 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002621/0.4226, allocations: 117.1 kB / 0.538 GB, free: 380 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002842/0.4254, allocations: 1.425 MB / 0.5394 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.471e-05/0.4255, allocations: 1.062 kB / 0.5394 GB, free: 15.64 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001458/0.4256, allocations: 47.67 kB / 0.5394 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.63e-05/0.4256, allocations: 25.31 kB / 0.5395 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002592/0.4282, allocations: 1.256 MB / 0.5407 GB, free: 14.95 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01121/0.4394, allocations: 6.095 MB / 0.5466 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004819/0.4443, allocations: 1.757 MB / 0.5484 GB, free: 9.344 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001436/0.4457, allocations: 0.6775 MB / 0.549 GB, free: 8.98 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001134/0.4458, allocations: 17.83 kB / 0.549 GB, free: 8.969 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.618e-05/0.4459, allocations: 51.98 kB / 0.5491 GB, free: 8.914 MB / 398.1 MB Notification: Performance of pre-optimization done (n=95): time 6.092e-06/0.4459, allocations: 0 / 0.5491 GB, free: 8.914 MB / 398.1 MB Notification: Performance of matching and sorting (n=98): time 0.01093/0.4568, allocations: 4.308 MB / 0.5533 GB, free: 6.523 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.424e-05/0.4569, allocations: 66.38 kB / 0.5533 GB, free: 6.453 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001102/0.458, allocations: 0.6078 MB / 0.5539 GB, free: 6.094 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001491/0.4581, allocations: 44.86 kB / 0.554 GB, free: 6.047 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003926/0.4585, allocations: 454.2 kB / 0.5544 GB, free: 5.648 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005595/0.4591, allocations: 407.1 kB / 0.5548 GB, free: 5.297 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004451/0.4595, allocations: 221.8 kB / 0.555 GB, free: 5.172 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002511/0.4598, allocations: 407.1 kB / 0.5554 GB, free: 4.789 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001293/0.4611, allocations: 0.7538 MB / 0.5561 GB, free: 4.402 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0014/0.4625, allocations: 0.9419 MB / 0.5571 GB, free: 3.809 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002854/0.4653, allocations: 1.789 MB / 0.5588 GB, free: 2.762 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.4653, allocations: 0 / 0.5588 GB, free: 2.762 MB / 398.1 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.004545/0.4699, allocations: 2.257 MB / 0.561 GB, free: 1.059 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.738e-05/0.4699, allocations: 7.938 kB / 0.561 GB, free: 1.051 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.499e-05/0.4699, allocations: 8 kB / 0.561 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00152/0.4715, allocations: 408.3 kB / 0.5614 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001948/0.4734, allocations: 403.5 kB / 0.5618 GB, free: 224 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01398/0.4874, allocations: 14.76 MB / 0.5762 GB, free: 264 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001353/0.4887, allocations: 79.83 kB / 0.5763 GB, free: 184 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00013/0.4889, allocations: 40 kB / 0.5763 GB, free: 144 kB / 414.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: 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 (150): * Single equations (assignments): 140 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 10 systems {(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): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008774/0.4897, allocations: 398.2 kB / 0.5767 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002074/0.4899, allocations: 83.48 kB / 0.5768 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003711/0.4937, allocations: 1.822 MB / 0.5786 GB, free: 13.8 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.161e-05/0.4937, allocations: 8 kB / 0.5786 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.4937, allocations: 4 kB / 0.5786 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/0.4937, allocations: 3.984 kB / 0.5786 GB, free: 13.79 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007/0.5007, allocations: 3.592 MB / 0.5821 GB, free: 10.1 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/0.5007, allocations: 4 kB / 0.5821 GB, free: 10.1 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002257/0.503, allocations: 355.7 kB / 0.5824 GB, free: 9.75 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00108/0.504, allocations: 340.3 kB / 0.5828 GB, free: 9.387 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001731/0.5042, allocations: 67.95 kB / 0.5828 GB, free: 9.32 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01248/0.5167, allocations: 13.88 MB / 0.5964 GB, free: 10.29 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.5167, allocations: 3.938 kB / 0.5964 GB, free: 10.29 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005223/0.5219, allocations: 2.499 MB / 0.5988 GB, free: 7.734 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003823/0.5223, allocations: 95.45 kB / 0.5989 GB, free: 7.641 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002209/0.5225, allocations: 59.98 kB / 0.599 GB, free: 7.582 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007324/0.5232, allocations: 51.92 kB / 0.599 GB, free: 7.531 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002864/0.5235, allocations: 92.77 kB / 0.5991 GB, free: 7.441 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.17e-05/0.5236, allocations: 31.94 kB / 0.5991 GB, free: 7.41 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006316/0.5243, allocations: 430.8 kB / 0.5995 GB, free: 6.988 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5243, allocations: 3.938 kB / 0.5996 GB, free: 6.984 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001594/0.5258, allocations: 400 kB / 0.5999 GB, free: 6.594 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (90): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 10 systems {(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): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005105/0.531, allocations: 3.103 MB / 0.603 GB, free: 3.422 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004518/0.5355, allocations: 2.727 MB / 0.6056 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.5355, allocations: 1.062 kB / 0.6056 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002536/0.538, allocations: 1.868 MB / 0.6075 GB, free: 14.57 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001433/0.5394, allocations: 284.9 kB / 0.6077 GB, free: 14.29 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02801/0.5675, allocations: 14.88 MB / 0.6223 GB, free: 15.1 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001045/0.5685, allocations: 1.195 MB / 0.6234 GB, free: 13.88 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001108/0.5696, allocations: 351 kB / 0.6238 GB, free: 13.53 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007589/0.5704, allocations: 419.3 kB / 0.6242 GB, free: 13.12 MB / 478.1 MB Notification: Performance of SimCode: time 1.072e-06/0.5704, allocations: 0 / 0.6242 GB, free: 13.12 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09711/0.6675, allocations: 33.05 MB / 0.6564 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.03/15.69, allocations: 2.922 kB / 0.6564 GB, free: 12.41 MB / 0.4981 GB " [Timeout remaining time 644] (rm -f AES_AES.Devel_test_models.Test_liquid_circuit_004.pipe ; mkfifo AES_AES.Devel_test_models.Test_liquid_circuit_004.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_liquid_circuit_004.pipe >> ../files/AES_AES.Devel_test_models.Test_liquid_circuit_004.sim & python3 -m fmpy simulate --output-file AES_AES.Devel_test_models.Test_liquid_circuit_004_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_004.fmu > AES_AES.Devel_test_models.Test_liquid_circuit_004.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.81610727199586] Failed to read output from testmodel.py, exit status != 0: 15.821071097998356 15.83404476 15.415954651 Calling exit ...