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.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.001386/0.001386, allocations: 110 kB / 16.4 MB, free: 6.441 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.001358/0.001358, allocations: 191.7 kB / 19.35 MB, free: 3.711 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.493/1.493, allocations: 222.9 MB / 245.1 MB, free: 14.99 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.0992/0.0992, allocations: 22.34 MB / 319.6 MB, free: 6.758 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_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: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 67.89 kB / 445.3 MB, free: 8.602 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1145, allocations: 54.95 MB / 0.4885 GB, free: 1.598 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_003): time 0.004672/0.1192, allocations: 3.391 MB / 0.4918 GB, free: 14.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002016/0.1213, allocations: 0.9352 MB / 0.4927 GB, free: 13.24 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003025/0.1216, allocations: 7.938 kB / 0.4927 GB, free: 13.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002813/0.1219, allocations: 91.16 kB / 0.4928 GB, free: 13.14 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006056/0.1226, allocations: 242.5 kB / 0.493 GB, free: 12.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005417/0.1231, allocations: 191.6 kB / 0.4932 GB, free: 12.72 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00127/0.1244, allocations: 1.155 MB / 0.4944 GB, free: 11.56 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00107/0.1255, allocations: 0.8108 MB / 0.4952 GB, free: 10.74 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000558/0.126, allocations: 454.8 kB / 0.4956 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007214/0.1268, allocations: 0.5179 MB / 0.4961 GB, free: 9.773 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001754/0.127, allocations: 124 kB / 0.4962 GB, free: 9.652 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002045/0.1272, allocations: 120 kB / 0.4963 GB, free: 9.535 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003236/0.1275, allocations: 359.1 kB / 0.4967 GB, free: 9.184 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00054/0.1281, allocations: 0.4903 MB / 0.4971 GB, free: 8.691 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001445/0.1295, allocations: 1.367 MB / 0.4985 GB, free: 7.32 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.1295, allocations: 0 / 0.4985 GB, free: 7.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1295, allocations: 4 kB / 0.4985 GB, free: 7.316 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.619e-05/0.1296, allocations: 0 / 0.4985 GB, free: 7.316 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.00276/0.1323, allocations: 1.25 MB / 0.4997 GB, free: 6.016 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.1324, allocations: 8.031 kB / 0.4997 GB, free: 6.008 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001716/0.1326, allocations: 110.7 kB / 0.4998 GB, free: 5.891 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001673/0.1327, allocations: 88.42 kB / 0.4999 GB, free: 5.805 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000825/0.1336, allocations: 0.5462 MB / 0.5004 GB, free: 5.219 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.594e-05/0.1337, allocations: 75.58 kB / 0.5005 GB, free: 5.137 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001278/0.1338, allocations: 76.31 kB / 0.5006 GB, free: 5.062 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001454/0.1353, allocations: 0.8263 MB / 0.5014 GB, free: 4.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.115e-05/0.1353, allocations: 0 / 0.5014 GB, free: 4.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.591e-05/0.1354, allocations: 32 kB / 0.5014 GB, free: 4.199 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.64e-05/0.1354, allocations: 16 kB / 0.5014 GB, free: 4.184 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001283/0.1367, allocations: 0.7234 MB / 0.5021 GB, free: 3.461 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2482/0.3849, allocations: 3.731 MB / 0.5058 GB, free: 19.4 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002071/0.387, allocations: 0.9159 MB / 0.5067 GB, free: 19.37 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005085/0.3875, allocations: 374.9 kB / 0.507 GB, free: 19.36 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.083e-05/0.3876, allocations: 11.48 kB / 0.507 GB, free: 19.36 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.441e-05/0.3876, allocations: 39.84 kB / 0.5071 GB, free: 19.32 MB / 382.1 MB Notification: Performance of pre-optimization done (n=56): time 2.315e-06/0.3876, allocations: 0 / 0.5071 GB, free: 19.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=58): time 0.004723/0.3924, allocations: 2.832 MB / 0.5098 GB, free: 18.48 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.363e-05/0.3924, allocations: 60.78 kB / 0.5099 GB, free: 18.41 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000516/0.3929, allocations: 474.7 kB / 0.5104 GB, free: 18.3 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.311e-05/0.393, allocations: 35.52 kB / 0.5104 GB, free: 18.27 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002009/0.3932, allocations: 354.1 kB / 0.5107 GB, free: 18.09 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001655/0.3934, allocations: 249.3 kB / 0.511 GB, free: 17.97 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002324/0.3936, allocations: 148.1 kB / 0.5111 GB, free: 17.95 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.906e-05/0.3937, allocations: 375 kB / 0.5115 GB, free: 17.64 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00066/0.3944, allocations: 457.2 kB / 0.5119 GB, free: 17.62 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007061/0.3951, allocations: 0.6022 MB / 0.5125 GB, free: 17.43 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006702/0.4018, allocations: 2.506 MB / 0.5149 GB, free: 17.11 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/0.4018, allocations: 2.438 kB / 0.5149 GB, free: 17.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.002246/0.4041, allocations: 1.312 MB / 0.5162 GB, free: 16.97 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.4041, allocations: 11.72 kB / 0.5162 GB, free: 16.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.4041, allocations: 5.469 kB / 0.5162 GB, free: 16.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007452/0.4049, allocations: 207.9 kB / 0.5164 GB, free: 16.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001205/0.4061, allocations: 272.2 kB / 0.5167 GB, free: 16.92 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004453/0.4105, allocations: 7.896 MB / 0.5244 GB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000636/0.4112, allocations: 61.34 kB / 0.5245 GB, free: 10 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.646e-05/0.4113, allocations: 30.05 kB / 0.5245 GB, free: 10 MB / 382.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.0004226/0.4117, allocations: 284.6 kB / 0.5248 GB, free: 9.871 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.854e-05/0.4118, allocations: 54.89 kB / 0.5248 GB, free: 9.844 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001749/0.4136, allocations: 0.9914 MB / 0.5258 GB, free: 9.738 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.4136, allocations: 8.062 kB / 0.5258 GB, free: 9.738 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.4136, allocations: 2.125 kB / 0.5258 GB, free: 9.738 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.4136, allocations: 7.031 kB / 0.5258 GB, free: 9.734 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002818/0.4164, allocations: 2.047 MB / 0.5278 GB, free: 9.352 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.4165, allocations: 1.094 kB / 0.5278 GB, free: 9.352 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001355/0.4178, allocations: 217.6 kB / 0.528 GB, free: 9.348 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005156/0.4183, allocations: 177.1 kB / 0.5282 GB, free: 9.297 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.878e-05/0.4184, allocations: 37.92 kB / 0.5282 GB, free: 9.293 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003925/0.4224, allocations: 7.451 MB / 0.5355 GB, free: 2 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.4224, allocations: 1.188 kB / 0.5355 GB, free: 2 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002237/0.4246, allocations: 1.4 MB / 0.5369 GB, free: 1.289 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001494/0.4248, allocations: 141.8 kB / 0.537 GB, free: 1.152 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001044/0.4249, allocations: 35.44 kB / 0.537 GB, free: 1.137 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004223/0.4253, allocations: 32.58 kB / 0.5371 GB, free: 1.125 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001653/0.4255, allocations: 52.61 kB / 0.5371 GB, free: 1.113 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.856e-05/0.4256, allocations: 17.33 kB / 0.5371 GB, free: 1.109 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003582/0.4259, allocations: 329.3 kB / 0.5374 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4259, allocations: 0 / 0.5374 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008518/0.4268, allocations: 232.8 kB / 0.5377 GB, free: 0.9297 MB / 382.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.002504/0.4293, allocations: 1.976 MB / 0.5396 GB, free: 15.66 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002542/0.4319, allocations: 1.499 MB / 0.5411 GB, free: 14.74 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.4319, allocations: 0 / 0.5411 GB, free: 14.74 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001445/0.4333, allocations: 0.9657 MB / 0.542 GB, free: 14.02 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008627/0.4342, allocations: 176.3 kB / 0.5422 GB, free: 13.96 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01489/0.4491, allocations: 8.905 MB / 0.5509 GB, free: 8.938 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008132/0.45, allocations: 0.982 MB / 0.5518 GB, free: 8.098 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0007143/0.4507, allocations: 213 kB / 0.552 GB, free: 8.012 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004318/0.4511, allocations: 259.7 kB / 0.5523 GB, free: 7.797 MB / 398.1 MB Notification: Performance of SimCode: time 1.313e-06/0.4511, allocations: 0 / 0.5523 GB, free: 7.797 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05968/0.5108, allocations: 18.65 MB / 0.5705 GB, free: 6.758 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/12.09, allocations: 8.047 kB / 0.5705 GB, free: 6.75 MB / 414.1 MB " [Timeout remaining time 648] (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: 15.152670386014506] Failed to read output from testmodel.py, exit status != 0: 12.187874130089767 12.212938845 12.079329653 Calling exit ...