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.001366/0.001366, allocations: 113 kB / 18.94 MB, free: 2.934 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.002012/0.002012, allocations: 209.5 kB / 22.25 MB, free: 5.086 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.492/1.492, allocations: 230.6 MB / 256 MB, free: 8.016 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.1072/0.1072, allocations: 24.12 MB / 336.6 MB, free: 11.45 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.001986/0.001986, allocations: 71.84 kB / 473.3 MB, free: 6.383 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3114/0.3134, allocations: 59.6 MB / 0.5204 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_003): time 0.004006/0.3174, allocations: 3.424 MB / 0.5238 GB, free: 7.676 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001652/0.3191, allocations: 0.9912 MB / 0.5247 GB, free: 6.957 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000255/0.3193, allocations: 9.688 kB / 0.5247 GB, free: 6.953 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002862/0.3196, allocations: 104 kB / 0.5248 GB, free: 6.887 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005357/0.3202, allocations: 252.2 kB / 0.5251 GB, free: 6.727 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004521/0.3206, allocations: 183.2 kB / 0.5253 GB, free: 6.617 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001086/0.3217, allocations: 1.177 MB / 0.5264 GB, free: 6.027 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007707/0.3225, allocations: 0.604 MB / 0.527 GB, free: 5.742 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00061/0.3231, allocations: 463.2 kB / 0.5274 GB, free: 5.527 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007558/0.3238, allocations: 0.5297 MB / 0.528 GB, free: 5.285 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001573/0.324, allocations: 122.6 kB / 0.5281 GB, free: 5.285 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001859/0.3242, allocations: 122.3 kB / 0.5282 GB, free: 5.285 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002975/0.3245, allocations: 368.5 kB / 0.5285 GB, free: 5.102 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004167/0.3249, allocations: 0.4957 MB / 0.529 GB, free: 4.797 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001414/0.3263, allocations: 1.36 MB / 0.5304 GB, free: 4.309 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.3263, allocations: 0 / 0.5304 GB, free: 4.309 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3263, allocations: 5.219 kB / 0.5304 GB, free: 4.305 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.221e-05/0.3263, allocations: 0 / 0.5304 GB, free: 4.305 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.002682/0.329, allocations: 1.172 MB / 0.5315 GB, free: 3.641 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.3291, allocations: 13.55 kB / 0.5315 GB, free: 3.637 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001363/0.3292, allocations: 111.7 kB / 0.5316 GB, free: 3.559 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001771/0.3294, allocations: 86.67 kB / 0.5317 GB, free: 3.516 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008498/0.3302, allocations: 500 kB / 0.5322 GB, free: 3.176 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.656e-05/0.3303, allocations: 76.55 kB / 0.5323 GB, free: 3.121 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001591/0.3305, allocations: 75.11 kB / 0.5323 GB, free: 3.094 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001585/0.3321, allocations: 0.8262 MB / 0.5331 GB, free: 2.762 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.346e-05/0.3321, allocations: 2.688 kB / 0.5331 GB, free: 2.762 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.434e-05/0.3322, allocations: 26.09 kB / 0.5332 GB, free: 2.742 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.054e-05/0.3322, allocations: 17.91 kB / 0.5332 GB, free: 2.738 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001242/0.3334, allocations: 0.7251 MB / 0.5339 GB, free: 2.465 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005213/0.3386, allocations: 3.689 MB / 0.5375 GB, free: 8 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002413/0.341, allocations: 0.9082 MB / 0.5384 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006497/0.3417, allocations: 366.8 kB / 0.5387 GB, free: 15.52 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.929e-05/0.3417, allocations: 10.78 kB / 0.5387 GB, free: 15.51 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.553e-05/0.3418, allocations: 38.83 kB / 0.5388 GB, free: 15.47 MB / 398.1 MB Notification: Performance of pre-optimization done (n=56): time 2.494e-06/0.3418, allocations: 0 / 0.5388 GB, free: 15.47 MB / 398.1 MB Notification: Performance of matching and sorting (n=58): time 0.005953/0.3477, allocations: 2.37 MB / 0.5411 GB, free: 14.34 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.973e-05/0.3478, allocations: 57.75 kB / 0.5411 GB, free: 14.27 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007072/0.3485, allocations: 479.2 kB / 0.5416 GB, free: 14.04 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.718e-05/0.3486, allocations: 36.36 kB / 0.5416 GB, free: 14 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002815/0.3489, allocations: 357.6 kB / 0.542 GB, free: 13.7 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002854/0.3492, allocations: 240.2 kB / 0.5422 GB, free: 13.5 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000279/0.3494, allocations: 148.6 kB / 0.5424 GB, free: 13.41 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000213/0.3496, allocations: 377.8 kB / 0.5427 GB, free: 13.05 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007644/0.3504, allocations: 467.1 kB / 0.5432 GB, free: 12.8 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008759/0.3513, allocations: 0.5978 MB / 0.5437 GB, free: 12.36 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007576/0.3589, allocations: 2.439 MB / 0.5461 GB, free: 11 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.127e-05/0.3589, allocations: 1.375 kB / 0.5461 GB, free: 11 MB / 398.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.002754/0.3616, allocations: 1.305 MB / 0.5474 GB, free: 10.3 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.718e-05/0.3617, allocations: 12 kB / 0.5474 GB, free: 10.29 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.555e-05/0.3617, allocations: 4.531 kB / 0.5474 GB, free: 10.29 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000801/0.3625, allocations: 207.6 kB / 0.5476 GB, free: 10.17 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001327/0.3638, allocations: 263.2 kB / 0.5479 GB, free: 10.11 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006959/0.3708, allocations: 7.394 MB / 0.5551 GB, free: 2.855 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009923/0.3717, allocations: 48.19 kB / 0.5551 GB, free: 2.828 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001098/0.3719, allocations: 36.8 kB / 0.5552 GB, free: 2.816 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.0006326/0.3725, allocations: 284.1 kB / 0.5554 GB, free: 2.594 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001481/0.3726, allocations: 58.52 kB / 0.5555 GB, free: 2.562 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002033/0.3747, allocations: 0.9874 MB / 0.5565 GB, free: 1.969 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.3747, allocations: 5.438 kB / 0.5565 GB, free: 1.969 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.3747, allocations: 2.156 kB / 0.5565 GB, free: 1.969 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/0.3747, allocations: 7.984 kB / 0.5565 GB, free: 1.961 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003694/0.3784, allocations: 2.016 MB / 0.5584 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.3784, allocations: 1.438 kB / 0.5584 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001463/0.3799, allocations: 217.9 kB / 0.5586 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005631/0.3804, allocations: 170.4 kB / 0.5588 GB, free: 452 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.174e-05/0.3805, allocations: 38 kB / 0.5588 GB, free: 428 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006283/0.3868, allocations: 6.944 MB / 0.5656 GB, free: 9.508 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.3868, allocations: 1.125 kB / 0.5656 GB, free: 9.508 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002738/0.3895, allocations: 1.401 MB / 0.567 GB, free: 8.668 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002518/0.3898, allocations: 57.7 kB / 0.5671 GB, free: 8.625 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001452/0.3899, allocations: 33.92 kB / 0.5671 GB, free: 8.605 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004777/0.3904, allocations: 31.33 kB / 0.5671 GB, free: 8.586 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001753/0.3906, allocations: 53.16 kB / 0.5672 GB, free: 8.551 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.158e-05/0.3906, allocations: 15.97 kB / 0.5672 GB, free: 8.547 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004973/0.3911, allocations: 326.2 kB / 0.5675 GB, free: 8.348 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3911, allocations: 0 / 0.5675 GB, free: 8.348 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009843/0.3921, allocations: 231.9 kB / 0.5677 GB, free: 8.324 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.003034/0.3952, allocations: 1.979 MB / 0.5696 GB, free: 6.93 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002498/0.3976, allocations: 1.457 MB / 0.5711 GB, free: 5.461 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/0.3977, allocations: 3.938 kB / 0.5711 GB, free: 5.457 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001302/0.399, allocations: 0.9612 MB / 0.572 GB, free: 4.434 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009409/0.3999, allocations: 173.8 kB / 0.5722 GB, free: 4.262 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01556/0.4155, allocations: 8.901 MB / 0.5809 GB, free: 11.1 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007131/0.4162, allocations: 0.993 MB / 0.5818 GB, free: 10.08 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006786/0.4169, allocations: 213 kB / 0.582 GB, free: 9.867 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004582/0.4173, allocations: 259.3 kB / 0.5823 GB, free: 9.613 MB / 430.1 MB Notification: Performance of SimCode: time 1.233e-06/0.4173, allocations: 0 / 0.5823 GB, free: 9.613 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06518/0.4825, allocations: 19.46 MB / 0.6013 GB, free: 6.41 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.55/14.03, allocations: 10.31 kB / 0.6013 GB, free: 6.406 MB / 446.1 MB " [Timeout remaining time 646] (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: 17.15211416999955] Failed to read output from testmodel.py, exit status != 0: 14.150745892999112 14.169175302 13.839265482 Calling exit ...