Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_liquid_circuit_005.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.001416/0.001416, allocations: 114.3 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.001642/0.001642, allocations: 214.2 kB / 22.25 MB, free: 5.082 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.49/1.49, 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.1085/0.1085, allocations: 24.13 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_005,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_005",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_liquid_circuit_005,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_005",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.002337/0.002337, allocations: 67.89 kB / 473.3 MB, free: 6.387 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3656/0.368, allocations: 59.59 MB / 0.5204 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_005): time 0.004408/0.3724, allocations: 4.058 MB / 0.5244 GB, free: 7.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002101/0.3745, allocations: 1.24 MB / 0.5256 GB, free: 6.281 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002688/0.3747, allocations: 19.25 kB / 0.5256 GB, free: 6.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003177/0.3751, allocations: 157.2 kB / 0.5258 GB, free: 6.172 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005744/0.3756, allocations: 403 kB / 0.5261 GB, free: 5.922 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000756/0.3764, allocations: 287.4 kB / 0.5264 GB, free: 5.75 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002211/0.3786, allocations: 2.008 MB / 0.5284 GB, free: 4.754 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00151/0.3801, allocations: 1.067 MB / 0.5294 GB, free: 4.238 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001103/0.3812, allocations: 0.7709 MB / 0.5302 GB, free: 3.875 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001387/0.3826, allocations: 0.9102 MB / 0.5311 GB, free: 3.473 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003377/0.3829, allocations: 217.4 kB / 0.5313 GB, free: 3.473 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003944/0.3833, allocations: 219.6 kB / 0.5315 GB, free: 3.473 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007727/0.3841, allocations: 0.6468 MB / 0.5321 GB, free: 3.156 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001051/0.3852, allocations: 0.8439 MB / 0.5329 GB, free: 2.637 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002645/0.3878, allocations: 2.395 MB / 0.5353 GB, free: 1.789 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3878, allocations: 1.031 kB / 0.5353 GB, free: 1.789 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.444e-06/0.3878, allocations: 4 kB / 0.5353 GB, free: 1.785 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.352e-05/0.3879, allocations: 0 / 0.5353 GB, free: 1.785 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: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.004544/0.3924, allocations: 1.831 MB / 0.5371 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.3924, allocations: 10.7 kB / 0.5371 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002319/0.3927, allocations: 164.7 kB / 0.5372 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003018/0.393, allocations: 140 kB / 0.5374 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001316/0.3943, allocations: 0.7541 MB / 0.5381 GB, free: 212 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.913e-05/0.3944, allocations: 76.78 kB / 0.5382 GB, free: 176 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002339/0.3946, allocations: 128.6 kB / 0.5383 GB, free: 124 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002781/0.3974, allocations: 1.428 MB / 0.5397 GB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.693e-05/0.3974, allocations: 0 / 0.5397 GB, free: 15.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001415/0.3975, allocations: 44.47 kB / 0.5397 GB, free: 15.3 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.952e-05/0.3976, allocations: 24.66 kB / 0.5398 GB, free: 15.3 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002446/0.4, allocations: 1.27 MB / 0.541 GB, free: 14.64 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0105/0.4105, allocations: 6.141 MB / 0.547 GB, free: 9.859 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004353/0.4149, allocations: 1.774 MB / 0.5487 GB, free: 8.992 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001149/0.416, allocations: 0.6873 MB / 0.5494 GB, free: 8.621 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.519e-05/0.4161, allocations: 10.62 kB / 0.5494 GB, free: 8.617 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.174e-05/0.4162, allocations: 47.72 kB / 0.5495 GB, free: 8.566 MB / 398.1 MB Notification: Performance of pre-optimization done (n=96): time 2.906e-06/0.4162, allocations: 0 / 0.5495 GB, free: 8.566 MB / 398.1 MB Notification: Performance of matching and sorting (n=104): time 0.01539/0.4315, allocations: 5.173 MB / 0.5545 GB, free: 5.711 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.184e-05/0.4316, allocations: 67.25 kB / 0.5546 GB, free: 5.641 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001117/0.4327, allocations: 0.6404 MB / 0.5552 GB, free: 5.258 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001394/0.4329, allocations: 41.2 kB / 0.5552 GB, free: 5.215 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004142/0.4333, allocations: 468.1 kB / 0.5557 GB, free: 4.805 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005747/0.4339, allocations: 438.7 kB / 0.5561 GB, free: 4.426 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004848/0.4343, allocations: 234.1 kB / 0.5563 GB, free: 4.293 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002723/0.4346, allocations: 409.4 kB / 0.5567 GB, free: 3.91 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001443/0.4361, allocations: 0.7892 MB / 0.5575 GB, free: 3.5 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001615/0.4377, allocations: 0.9848 MB / 0.5585 GB, free: 2.891 MB / 398.1 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.01494/0.4526, allocations: 4.55 MB / 0.5629 GB, free: 15.16 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.346e-06/0.4526, allocations: 0 / 0.5629 GB, free: 15.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.006191/0.4588, allocations: 2.536 MB / 0.5654 GB, free: 12.58 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.21e-05/0.4589, allocations: 7.984 kB / 0.5654 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.749e-05/0.4589, allocations: 4 kB / 0.5654 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002755/0.4616, allocations: 0.654 MB / 0.566 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001715/0.4633, allocations: 359.5 kB / 0.5664 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02081/0.4841, allocations: 18.78 MB / 0.5847 GB, free: 7.316 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001596/0.4857, allocations: 79.94 kB / 0.5848 GB, free: 7.238 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001409/0.4859, allocations: 55.98 kB / 0.5848 GB, free: 7.184 MB / 430.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: 19 * 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 (144): * Single equations (assignments): 132 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(1,6,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%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0009552/0.4868, allocations: 393.4 kB / 0.5852 GB, free: 6.789 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002345/0.4871, allocations: 95.38 kB / 0.5853 GB, free: 6.695 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005089/0.4922, allocations: 2.109 MB / 0.5874 GB, free: 4.531 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.762e-05/0.4922, allocations: 12 kB / 0.5874 GB, free: 4.52 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/0.4922, allocations: 4 kB / 0.5874 GB, free: 4.516 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.249e-05/0.4922, allocations: 3.984 kB / 0.5874 GB, free: 4.512 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008417/0.5006, allocations: 3.922 MB / 0.5912 GB, free: 0.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/0.5006, allocations: 7.938 kB / 0.5912 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001973/0.5026, allocations: 319.7 kB / 0.5915 GB, free: 184 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002041/0.5046, allocations: 0.537 MB / 0.592 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002403/0.5049, allocations: 63.95 kB / 0.5921 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01662/0.5215, allocations: 17.31 MB / 0.609 GB, free: 12.86 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.5215, allocations: 4.062 kB / 0.609 GB, free: 12.85 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005767/0.5273, allocations: 2.766 MB / 0.6117 GB, free: 10.03 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003415/0.5276, allocations: 99.34 kB / 0.6118 GB, free: 9.934 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000227/0.5278, allocations: 59.98 kB / 0.6119 GB, free: 9.875 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007855/0.5286, allocations: 51.92 kB / 0.6119 GB, free: 9.824 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003048/0.5289, allocations: 104.7 kB / 0.612 GB, free: 9.723 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.626e-05/0.529, allocations: 35.98 kB / 0.6121 GB, free: 9.688 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006608/0.5297, allocations: 451.1 kB / 0.6125 GB, free: 9.25 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5297, allocations: 0 / 0.6125 GB, free: 9.25 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001889/0.5316, allocations: 436 kB / 0.6129 GB, free: 8.824 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (89): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(1,4,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%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005938/0.5375, allocations: 3.362 MB / 0.6162 GB, free: 5.395 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005095/0.5426, allocations: 3.115 MB / 0.6192 GB, free: 2.125 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.5426, allocations: 0 / 0.6192 GB, free: 2.125 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003033/0.5457, allocations: 2.213 MB / 0.6214 GB, free: 15.75 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001316/0.547, allocations: 282.8 kB / 0.6217 GB, free: 15.48 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02729/0.5743, allocations: 15.26 MB / 0.6366 GB, free: 15.91 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001053/0.5753, allocations: 1.217 MB / 0.6377 GB, free: 14.67 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001015/0.5763, allocations: 355.3 kB / 0.6381 GB, free: 14.32 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007759/0.5771, allocations: 431.3 kB / 0.6385 GB, free: 13.89 MB / 494.1 MB Notification: Performance of SimCode: time 7.31e-07/0.5771, allocations: 0 / 0.6385 GB, free: 13.89 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1162/0.6933, allocations: 36.68 MB / 0.6743 GB, free: 9.566 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.58/16.28, allocations: 10.19 kB / 0.6743 GB, free: 9.562 MB / 0.5137 GB " [Timeout remaining time 644] (rm -f AES_AES.Devel_test_models.Test_liquid_circuit_005.pipe ; mkfifo AES_AES.Devel_test_models.Test_liquid_circuit_005.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_liquid_circuit_005.pipe >> ../files/AES_AES.Devel_test_models.Test_liquid_circuit_005.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_liquid_circuit_005_fmu --startTime=0 --stopTime=1000 --stepSize=0.1 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_liquid_circuit_005.fmu > AES_AES.Devel_test_models.Test_liquid_circuit_005.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.69707450317219] Failed to read output from testmodel.py, exit status != 0: 16.41359351295978 16.437037713 16.045028123 Calling exit ...