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.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.001468/0.001468, allocations: 108.1 kB / 16.41 MB, free: 6.5 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.001405/0.001405, allocations: 191.7 kB / 19.36 MB, free: 3.75 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.48/1.48, allocations: 222.9 MB / 245.1 MB, free: 15.01 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.1028/0.1028, allocations: 22.34 MB / 319.6 MB, free: 6.762 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_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: Performance of FrontEnd - loaded program: time 0.003094/0.003094, allocations: 71.89 kB / 445.3 MB, free: 8.613 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1326, allocations: 54.95 MB / 0.4885 GB, free: 1.617 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_004): time 0.005883/0.1386, allocations: 3.951 MB / 0.4924 GB, free: 13.64 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002753/0.1414, allocations: 1.169 MB / 0.4935 GB, free: 12.47 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005926/0.142, allocations: 15.88 kB / 0.4935 GB, free: 12.45 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004964/0.1425, allocations: 146.7 kB / 0.4937 GB, free: 12.31 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001069/0.1436, allocations: 381.8 kB / 0.494 GB, free: 11.93 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008942/0.1446, allocations: 267.6 kB / 0.4943 GB, free: 11.67 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002426/0.147, allocations: 1.951 MB / 0.4962 GB, free: 9.719 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002028/0.149, allocations: 1.444 MB / 0.4976 GB, free: 8.238 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001152/0.1502, allocations: 0.7404 MB / 0.4983 GB, free: 7.496 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001352/0.1516, allocations: 0.8726 MB / 0.4992 GB, free: 6.621 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003028/0.1519, allocations: 220 kB / 0.4994 GB, free: 6.406 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000342/0.1522, allocations: 220 kB / 0.4996 GB, free: 6.191 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006633/0.1529, allocations: 0.6391 MB / 0.5002 GB, free: 5.551 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001028/0.1539, allocations: 0.825 MB / 0.501 GB, free: 4.723 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002812/0.1567, allocations: 2.368 MB / 0.5033 GB, free: 2.348 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/0.1568, allocations: 0 / 0.5033 GB, free: 2.348 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1568, allocations: 0 / 0.5033 GB, free: 2.348 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.011e-05/0.1568, allocations: 0 / 0.5033 GB, free: 2.348 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.004521/0.1613, allocations: 1.873 MB / 0.5052 GB, free: 428 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.1614, allocations: 8.031 kB / 0.5052 GB, free: 420 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002342/0.1616, allocations: 164.6 kB / 0.5053 GB, free: 248 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003129/0.162, allocations: 140.1 kB / 0.5055 GB, free: 108 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2415/0.4035, allocations: 0.798 MB / 0.5062 GB, free: 19.67 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.136e-05/0.4036, allocations: 74.59 kB / 0.5063 GB, free: 19.67 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004229/0.404, allocations: 123.7 kB / 0.5064 GB, free: 19.66 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002969/0.407, allocations: 1.419 MB / 0.5078 GB, free: 19.58 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.577e-05/0.4071, allocations: 0.5625 kB / 0.5078 GB, free: 19.58 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001291/0.4072, allocations: 45.91 kB / 0.5079 GB, free: 19.58 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.446e-05/0.4072, allocations: 25.34 kB / 0.5079 GB, free: 19.58 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002065/0.4093, allocations: 1.261 MB / 0.5091 GB, free: 19.56 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009141/0.4184, allocations: 6.137 MB / 0.5151 GB, free: 17.53 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004298/0.4228, allocations: 1.779 MB / 0.5168 GB, free: 17.5 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001181/0.424, allocations: 0.695 MB / 0.5175 GB, free: 17.48 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.882e-05/0.4241, allocations: 18.48 kB / 0.5175 GB, free: 17.48 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/0.4241, allocations: 40.88 kB / 0.5176 GB, free: 17.45 MB / 382.1 MB Notification: Performance of pre-optimization done (n=95): time 3.277e-06/0.4241, allocations: 3.891 kB / 0.5176 GB, free: 17.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=98): time 0.01013/0.4343, allocations: 5.148 MB / 0.5226 GB, free: 15.43 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.474e-05/0.4343, allocations: 71.66 kB / 0.5227 GB, free: 15.37 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001352/0.4357, allocations: 0.6056 MB / 0.5233 GB, free: 15.09 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001129/0.4358, allocations: 42.23 kB / 0.5233 GB, free: 15.04 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003273/0.4362, allocations: 453.8 kB / 0.5237 GB, free: 14.7 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004891/0.4367, allocations: 412.5 kB / 0.5241 GB, free: 14.38 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004891/0.4372, allocations: 226 kB / 0.5243 GB, free: 14.27 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.4373, allocations: 401.2 kB / 0.5247 GB, free: 13.93 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001498/0.4388, allocations: 0.7556 MB / 0.5255 GB, free: 13.62 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001756/0.4406, allocations: 0.9469 MB / 0.5264 GB, free: 13.13 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003026/0.4436, allocations: 1.932 MB / 0.5283 GB, free: 12.06 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.572e-05/0.4437, allocations: 1.312 kB / 0.5283 GB, free: 12.06 MB / 382.1 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.004624/0.4483, allocations: 2.251 MB / 0.5305 GB, free: 11.08 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.719e-05/0.4483, allocations: 7.125 kB / 0.5305 GB, free: 11.08 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.689e-05/0.4484, allocations: 7.078 kB / 0.5305 GB, free: 11.08 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001566/0.4499, allocations: 414.6 kB / 0.5309 GB, free: 10.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00209/0.4521, allocations: 402.8 kB / 0.5313 GB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01135/0.4634, allocations: 15.78 MB / 0.5467 GB, free: 11.53 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001277/0.4647, allocations: 84.27 kB / 0.5468 GB, free: 11.47 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002643/0.465, allocations: 43.94 kB / 0.5468 GB, free: 11.46 MB / 398.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.0009515/0.466, allocations: 388.6 kB / 0.5472 GB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003653/0.4663, allocations: 83.27 kB / 0.5473 GB, free: 11.13 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003848/0.4702, allocations: 1.811 MB / 0.549 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-05/0.4702, allocations: 18.64 kB / 0.549 GB, free: 10.03 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.288e-05/0.4702, allocations: 6.75 kB / 0.549 GB, free: 10.03 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.326e-05/0.4703, allocations: 3.984 kB / 0.549 GB, free: 10.02 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007359/0.4776, allocations: 3.618 MB / 0.5526 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.165e-06/0.4777, allocations: 5.531 kB / 0.5526 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002047/0.4797, allocations: 353.4 kB / 0.5529 GB, free: 7.621 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001117/0.4809, allocations: 353.8 kB / 0.5533 GB, free: 7.395 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002114/0.4811, allocations: 59.56 kB / 0.5533 GB, free: 7.363 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0132/0.4943, allocations: 14.89 MB / 0.5679 GB, free: 7.398 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.96e-06/0.4943, allocations: 4.656 kB / 0.5679 GB, free: 7.395 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005261/0.4996, allocations: 2.508 MB / 0.5703 GB, free: 4.828 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003811/0.5, allocations: 176.5 kB / 0.5705 GB, free: 4.637 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003197/0.5004, allocations: 59.97 kB / 0.5705 GB, free: 4.578 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008244/0.5012, allocations: 47.94 kB / 0.5706 GB, free: 4.531 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002796/0.5015, allocations: 89.19 kB / 0.5707 GB, free: 4.445 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.062e-05/0.5016, allocations: 23.98 kB / 0.5707 GB, free: 4.422 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006635/0.5023, allocations: 430.8 kB / 0.5711 GB, free: 4 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5023, allocations: 4 kB / 0.5711 GB, free: 3.996 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001581/0.5039, allocations: 396 kB / 0.5715 GB, free: 3.609 MB / 414.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.005216/0.5091, allocations: 3.116 MB / 0.5745 GB, free: 444 kB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004642/0.5138, allocations: 2.802 MB / 0.5773 GB, free: 13.5 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.5138, allocations: 0 / 0.5773 GB, free: 13.5 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002791/0.5166, allocations: 1.884 MB / 0.5791 GB, free: 11.49 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001549/0.5182, allocations: 286.7 kB / 0.5794 GB, free: 11.21 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03116/0.5493, allocations: 14.86 MB / 0.5939 GB, free: 12.06 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001392/0.5508, allocations: 1.195 MB / 0.5951 GB, free: 10.84 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001358/0.5522, allocations: 355 kB / 0.5954 GB, free: 10.48 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009187/0.5531, allocations: 415.3 kB / 0.5958 GB, free: 10.08 MB / 446.1 MB Notification: Performance of SimCode: time 2.544e-06/0.5531, allocations: 0 / 0.5958 GB, free: 10.08 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1372/0.6903, allocations: 31.77 MB / 0.6268 GB, free: 10.63 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.17/13.86, allocations: 18.3 kB / 0.6268 GB, free: 10.62 MB / 478.1 MB " [Timeout remaining time 646] (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: 16.886150619015098] Failed to read output from testmodel.py, exit status != 0: 13.962171885999851 13.9875094 13.825948508 Calling exit ...