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.001703/0.001703, allocations: 93.92 kB / 19.73 MB, free: 2.129 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.002435/0.002435, allocations: 214 kB / 23.03 MB, free: 4.953 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.495/1.495, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.1431/0.1431, allocations: 22.93 MB / 336.1 MB, free: 12.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="cs",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="cs",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.002024/0.002024, allocations: 67.91 kB / 472.2 MB, free: 7.871 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3961/0.3981, allocations: 59.29 MB / 0.519 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_003): time 0.004474/0.4026, allocations: 3.103 MB / 0.522 GB, free: 8.582 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002012/0.4046, allocations: 0.9329 MB / 0.523 GB, free: 7.926 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003348/0.4049, allocations: 17.47 kB / 0.523 GB, free: 7.914 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002677/0.4052, allocations: 101.3 kB / 0.5231 GB, free: 7.852 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005801/0.4058, allocations: 251.1 kB / 0.5233 GB, free: 7.691 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005241/0.4063, allocations: 185.2 kB / 0.5235 GB, free: 7.582 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001327/0.4076, allocations: 1.171 MB / 0.5246 GB, free: 6.996 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008279/0.4085, allocations: 0.6043 MB / 0.5252 GB, free: 6.711 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007509/0.4092, allocations: 473.2 kB / 0.5257 GB, free: 6.488 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007389/0.4099, allocations: 0.5245 MB / 0.5262 GB, free: 6.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002169/0.4102, allocations: 122.6 kB / 0.5263 GB, free: 6.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002517/0.4104, allocations: 122.3 kB / 0.5264 GB, free: 6.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003204/0.4107, allocations: 366.3 kB / 0.5268 GB, free: 6.066 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005769/0.4113, allocations: 429.2 kB / 0.5272 GB, free: 5.84 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001581/0.4129, allocations: 1.372 MB / 0.5285 GB, free: 5.348 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.4129, allocations: 0 / 0.5285 GB, free: 5.348 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.4129, allocations: 0 / 0.5285 GB, free: 5.348 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.626e-05/0.4129, allocations: 0 / 0.5285 GB, free: 5.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: 165 * Number of variables: 165 Notification: Performance of Generate backend data structure: time 0.003255/0.4162, allocations: 1.173 MB / 0.5297 GB, free: 4.684 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.4162, allocations: 10.7 kB / 0.5297 GB, free: 4.684 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.537e-05/0.4163, allocations: 17.25 kB / 0.5297 GB, free: 4.684 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001609/0.4164, allocations: 111.2 kB / 0.5298 GB, free: 4.605 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000223/0.4167, allocations: 90.89 kB / 0.5299 GB, free: 4.559 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000884/0.4175, allocations: 496.3 kB / 0.5304 GB, free: 4.219 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.549e-05/0.4176, allocations: 74.86 kB / 0.5304 GB, free: 4.168 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001677/0.4178, allocations: 79.55 kB / 0.5305 GB, free: 4.137 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001628/0.4194, allocations: 0.8538 MB / 0.5313 GB, free: 3.773 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.49e-05/0.4194, allocations: 0 / 0.5313 GB, free: 3.773 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.281e-05/0.4195, allocations: 25.31 kB / 0.5314 GB, free: 3.754 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.082e-05/0.4195, allocations: 16.25 kB / 0.5314 GB, free: 3.754 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001455/0.421, allocations: 0.7266 MB / 0.5321 GB, free: 3.477 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005145/0.4261, allocations: 2.577 MB / 0.5346 GB, free: 2.195 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002272/0.4284, allocations: 0.8872 MB / 0.5355 GB, free: 1.879 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005877/0.429, allocations: 367.8 kB / 0.5358 GB, free: 1.715 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.726e-05/0.4291, allocations: 6.188 kB / 0.5358 GB, free: 1.715 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.4291, allocations: 38.97 kB / 0.5359 GB, free: 1.672 MB / 382.1 MB Notification: Performance of pre-optimization done (n=56): time 3.497e-06/0.4291, allocations: 0 / 0.5359 GB, free: 1.672 MB / 382.1 MB Notification: Performance of matching and sorting (n=58): time 0.005463/0.4345, allocations: 2.387 MB / 0.5382 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.539e-05/0.4346, allocations: 57.12 kB / 0.5383 GB, free: 472 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006375/0.4352, allocations: 483.1 kB / 0.5387 GB, free: 228 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.239e-05/0.4353, allocations: 36.02 kB / 0.5387 GB, free: 188 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002596/0.4355, allocations: 349.7 kB / 0.5391 GB, free: 15.9 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000286/0.4358, allocations: 239.9 kB / 0.5393 GB, free: 15.72 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003053/0.4361, allocations: 148.6 kB / 0.5394 GB, free: 15.64 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002101/0.4363, allocations: 374.6 kB / 0.5398 GB, free: 15.3 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008178/0.4371, allocations: 460 kB / 0.5402 GB, free: 15.12 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009689/0.4381, allocations: 0.6022 MB / 0.5408 GB, free: 14.74 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007694/0.4458, allocations: 2.427 MB / 0.5432 GB, free: 13.54 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.229e-05/0.4458, allocations: 5.375 kB / 0.5432 GB, free: 13.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.002684/0.4485, allocations: 1.305 MB / 0.5445 GB, free: 12.84 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.45e-05/0.4485, allocations: 8.312 kB / 0.5445 GB, free: 12.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.658e-05/0.4485, allocations: 5.375 kB / 0.5445 GB, free: 12.84 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008369/0.4494, allocations: 211.5 kB / 0.5447 GB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001338/0.4507, allocations: 267.4 kB / 0.545 GB, free: 12.65 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007564/0.4583, allocations: 7.366 MB / 0.5521 GB, free: 5.434 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001044/0.4593, allocations: 42.36 kB / 0.5522 GB, free: 5.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.913e-05/0.4594, allocations: 42.05 kB / 0.5522 GB, free: 5.395 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.0006316/0.4601, allocations: 279.6 kB / 0.5525 GB, free: 5.176 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001397/0.4602, allocations: 62.84 kB / 0.5526 GB, free: 5.141 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002155/0.4624, allocations: 0.9877 MB / 0.5535 GB, free: 4.547 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-05/0.4624, allocations: 6.719 kB / 0.5535 GB, free: 4.547 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.4624, allocations: 1.25 kB / 0.5535 GB, free: 4.547 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.939e-06/0.4624, allocations: 0 / 0.5535 GB, free: 4.547 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00377/0.4662, allocations: 1.877 MB / 0.5554 GB, free: 3.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.4662, allocations: 0 / 0.5554 GB, free: 3.32 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001501/0.4677, allocations: 227.1 kB / 0.5556 GB, free: 3.266 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005929/0.4683, allocations: 166.7 kB / 0.5557 GB, free: 3.164 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001092/0.4684, allocations: 33.83 kB / 0.5558 GB, free: 3.145 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006215/0.4746, allocations: 6.914 MB / 0.5625 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.4746, allocations: 1.219 kB / 0.5625 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002788/0.4774, allocations: 1.395 MB / 0.5639 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002539/0.4776, allocations: 62.58 kB / 0.5639 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001369/0.4778, allocations: 30.5 kB / 0.564 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005644/0.4783, allocations: 30.77 kB / 0.564 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002141/0.4785, allocations: 53.12 kB / 0.5641 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.123e-05/0.4786, allocations: 19.78 kB / 0.5641 GB, free: 11.32 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005213/0.4791, allocations: 335.7 kB / 0.5644 GB, free: 11.11 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4791, allocations: 0 / 0.5644 GB, free: 11.11 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001157/0.4803, allocations: 231.3 kB / 0.5646 GB, free: 11.09 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.003192/0.4835, allocations: 1.976 MB / 0.5665 GB, free: 9.695 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002528/0.486, allocations: 1.451 MB / 0.568 GB, free: 8.676 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/0.486, allocations: 1.875 kB / 0.568 GB, free: 8.676 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001292/0.4873, allocations: 0.9609 MB / 0.5689 GB, free: 7.887 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009789/0.4883, allocations: 176.6 kB / 0.5691 GB, free: 7.793 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01632/0.5046, allocations: 8.899 MB / 0.5778 GB, free: 14.74 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004946/0.5051, allocations: 392.1 kB / 0.5781 GB, free: 14.34 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0007303/0.5058, allocations: 209 kB / 0.5783 GB, free: 14.13 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004855/0.5063, allocations: 263.3 kB / 0.5786 GB, free: 13.87 MB / 430.1 MB Notification: Performance of SimCode: time 1.092e-06/0.5063, allocations: 0 / 0.5786 GB, free: 13.87 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0882/0.5945, allocations: 20.14 MB / 0.5982 GB, free: 10.1 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.61/14.21, allocations: 7.812 kB / 0.5983 GB, free: 10.1 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_liquid_circuit_003_fmu --startTime=0 --stopTime=1000 --stepSize=0.1 --timeout=50 --tolerance=1e-06 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.519603176042438] Failed to read output from testmodel.py, exit status != 0: 14.38864871300757 14.415721104 13.997709907 Calling exit ...