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.001306/0.001306, allocations: 104.3 kB / 19.72 MB, free: 1.914 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.001483/0.001483, allocations: 215.3 kB / 23.02 MB, free: 4.988 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.46/1.46, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.1078/0.1078, allocations: 24.04 MB / 337.2 MB, free: 11.35 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.002231/0.002231, allocations: 67.89 kB / 473.8 MB, free: 6.395 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3521/0.3543, allocations: 59.57 MB / 0.5209 GB, free: 10.08 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_005): time 0.004867/0.3592, allocations: 3.627 MB / 0.5245 GB, free: 7.617 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002669/0.3619, allocations: 1.184 MB / 0.5256 GB, free: 6.777 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003212/0.3622, allocations: 19.34 kB / 0.5256 GB, free: 6.766 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003201/0.3625, allocations: 158.3 kB / 0.5258 GB, free: 6.668 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006918/0.3632, allocations: 406.4 kB / 0.5262 GB, free: 6.414 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008045/0.364, allocations: 281.5 kB / 0.5264 GB, free: 6.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001833/0.3659, allocations: 2.012 MB / 0.5284 GB, free: 5.246 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001228/0.3671, allocations: 1.051 MB / 0.5294 GB, free: 4.746 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001047/0.3681, allocations: 0.7677 MB / 0.5302 GB, free: 4.387 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001277/0.3694, allocations: 0.8432 MB / 0.531 GB, free: 4.051 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003386/0.3697, allocations: 219.4 kB / 0.5312 GB, free: 4.051 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003816/0.3701, allocations: 222.3 kB / 0.5314 GB, free: 4.047 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006972/0.3708, allocations: 0.6396 MB / 0.532 GB, free: 3.738 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009246/0.3717, allocations: 0.715 MB / 0.5327 GB, free: 3.348 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00286/0.3746, allocations: 2.403 MB / 0.5351 GB, free: 2.504 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.3746, allocations: 1.219 kB / 0.5351 GB, free: 2.504 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.446e-06/0.3746, allocations: 0.6094 kB / 0.5351 GB, free: 2.504 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.663e-05/0.3747, allocations: 4 kB / 0.5351 GB, free: 2.5 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.004936/0.3796, allocations: 1.834 MB / 0.5369 GB, free: 1.582 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/0.3797, allocations: 10.98 kB / 0.5369 GB, free: 1.582 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002328/0.3799, allocations: 163.8 kB / 0.5371 GB, free: 1.477 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003026/0.3802, allocations: 145.4 kB / 0.5372 GB, free: 1.402 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001456/0.3816, allocations: 0.7477 MB / 0.5379 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.564e-05/0.3817, allocations: 76.59 kB / 0.538 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002634/0.382, allocations: 124 kB / 0.5381 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002695/0.3847, allocations: 1.483 MB / 0.5396 GB, free: 8 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.612e-05/0.3847, allocations: 4 kB / 0.5396 GB, free: 4 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001663/0.3849, allocations: 45.17 kB / 0.5396 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.655e-05/0.3849, allocations: 27.61 kB / 0.5396 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00241/0.3873, allocations: 1.267 MB / 0.5409 GB, free: 15.3 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01024/0.3975, allocations: 4.456 MB / 0.5452 GB, free: 12.5 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004573/0.4021, allocations: 1.758 MB / 0.5469 GB, free: 11.64 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001241/0.4034, allocations: 0.6911 MB / 0.5476 GB, free: 11.27 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.609e-05/0.4034, allocations: 10.62 kB / 0.5476 GB, free: 11.27 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.544e-05/0.4035, allocations: 53.78 kB / 0.5477 GB, free: 11.21 MB / 398.1 MB Notification: Performance of pre-optimization done (n=96): time 3.356e-06/0.4035, allocations: 9.031 kB / 0.5477 GB, free: 11.2 MB / 398.1 MB Notification: Performance of matching and sorting (n=104): time 0.01577/0.4193, allocations: 5.164 MB / 0.5527 GB, free: 8.359 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.359e-05/0.4193, allocations: 66.53 kB / 0.5528 GB, free: 8.289 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001131/0.4204, allocations: 0.6537 MB / 0.5534 GB, free: 7.895 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00017/0.4206, allocations: 41.83 kB / 0.5535 GB, free: 7.852 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004518/0.4211, allocations: 471.8 kB / 0.5539 GB, free: 7.438 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006344/0.4217, allocations: 432.6 kB / 0.5543 GB, free: 7.062 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005038/0.4222, allocations: 234.2 kB / 0.5546 GB, free: 6.93 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002659/0.4225, allocations: 409.6 kB / 0.5549 GB, free: 6.547 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001496/0.424, allocations: 0.7861 MB / 0.5557 GB, free: 6.141 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0016/0.4256, allocations: 0.9852 MB / 0.5567 GB, free: 5.531 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.01536/0.4409, allocations: 4.548 MB / 0.5611 GB, free: 1.719 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.526e-05/0.4409, allocations: 8 kB / 0.5611 GB, free: 1.711 MB / 398.1 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.006391/0.4473, allocations: 2.525 MB / 0.5636 GB, free: 15.14 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.531e-05/0.4474, allocations: 11.12 kB / 0.5636 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-05/0.4474, allocations: 7.938 kB / 0.5636 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002948/0.4503, allocations: 0.6579 MB / 0.5643 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001887/0.4522, allocations: 363.5 kB / 0.5646 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01976/0.472, allocations: 18.68 MB / 0.5828 GB, free: 9.969 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001453/0.4734, allocations: 67.89 kB / 0.5829 GB, free: 9.902 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001426/0.4736, allocations: 51.98 kB / 0.583 GB, free: 9.852 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.0008468/0.4744, allocations: 397.5 kB / 0.5833 GB, free: 9.453 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002083/0.4746, allocations: 91.38 kB / 0.5834 GB, free: 9.363 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005007/0.4796, allocations: 2.113 MB / 0.5855 GB, free: 7.195 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-05/0.4797, allocations: 8 kB / 0.5855 GB, free: 7.188 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/0.4797, allocations: 4 kB / 0.5855 GB, free: 7.184 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.329e-05/0.4797, allocations: 7.969 kB / 0.5855 GB, free: 7.176 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008278/0.488, allocations: 3.646 MB / 0.5891 GB, free: 3.438 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/0.488, allocations: 3.938 kB / 0.5891 GB, free: 3.434 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001883/0.4899, allocations: 327.6 kB / 0.5894 GB, free: 3.113 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002017/0.4919, allocations: 0.5331 MB / 0.5899 GB, free: 2.543 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001787/0.492, allocations: 72.02 kB / 0.59 GB, free: 2.473 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01698/0.509, allocations: 17.22 MB / 0.6068 GB, free: 15.88 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.509, allocations: 160 / 0.6068 GB, free: 15.88 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005971/0.515, allocations: 2.755 MB / 0.6095 GB, free: 13.07 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000489/0.5155, allocations: 107.2 kB / 0.6096 GB, free: 12.97 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002214/0.5157, allocations: 59.97 kB / 0.6096 GB, free: 12.91 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007447/0.5165, allocations: 55.88 kB / 0.6097 GB, free: 12.86 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003817/0.5168, allocations: 96.8 kB / 0.6098 GB, free: 12.76 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001004/0.5169, allocations: 35.98 kB / 0.6098 GB, free: 12.73 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007216/0.5177, allocations: 463 kB / 0.6103 GB, free: 12.28 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5177, allocations: 0 / 0.6103 GB, free: 12.28 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002011/0.5197, allocations: 436 kB / 0.6107 GB, free: 11.85 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.005739/0.5254, allocations: 3.37 MB / 0.614 GB, free: 8.414 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005262/0.5307, allocations: 3.115 MB / 0.617 GB, free: 5.141 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.481e-06/0.5307, allocations: 0 / 0.617 GB, free: 5.141 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003094/0.5338, allocations: 2.193 MB / 0.6191 GB, free: 2.793 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001464/0.5352, allocations: 298.8 kB / 0.6194 GB, free: 2.504 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02843/0.5637, allocations: 15.2 MB / 0.6343 GB, free: 2.996 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009105/0.5646, allocations: 0.6236 MB / 0.6349 GB, free: 2.34 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001151/0.5657, allocations: 355.3 kB / 0.6352 GB, free: 1.988 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008171/0.5665, allocations: 435.3 kB / 0.6356 GB, free: 1.562 MB / 478.1 MB Notification: Performance of SimCode: time 7.31e-07/0.5665, allocations: 0 / 0.6356 GB, free: 1.562 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1148/0.6813, allocations: 37.75 MB / 0.6725 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.76/15.44, allocations: 0 / 0.6725 GB, free: 12.25 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: 18.82969665620476] Failed to read output from testmodel.py, exit status != 0: 15.587494520936161 15.611151562 15.23195064 Calling exit ...