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.001463/0.001463, allocations: 104.3 kB / 19.72 MB, free: 1.926 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.002193/0.002193, allocations: 209.5 kB / 23.01 MB, free: 4.98 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.503/1.503, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.1082/0.1082, allocations: 24.04 MB / 337.2 MB, free: 11.33 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.002108/0.002108, allocations: 71.91 kB / 473.8 MB, free: 6.371 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3325/0.3346, allocations: 59.57 MB / 0.5209 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_circuit_003): time 0.004193/0.3388, allocations: 3.106 MB / 0.5239 GB, free: 8.012 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001693/0.3405, allocations: 0.9364 MB / 0.5249 GB, free: 7.352 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001855/0.3407, allocations: 17.31 kB / 0.5249 GB, free: 7.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002468/0.341, allocations: 100.1 kB / 0.525 GB, free: 7.277 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004688/0.3414, allocations: 252 kB / 0.5252 GB, free: 7.117 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004295/0.3419, allocations: 178.1 kB / 0.5254 GB, free: 7.016 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001125/0.343, allocations: 1.174 MB / 0.5265 GB, free: 6.426 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000791/0.3438, allocations: 0.6037 MB / 0.5271 GB, free: 6.141 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005709/0.3444, allocations: 467.8 kB / 0.5276 GB, free: 5.922 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006574/0.345, allocations: 492.9 kB / 0.528 GB, free: 5.727 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001756/0.3452, allocations: 123.4 kB / 0.5282 GB, free: 5.727 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000209/0.3454, allocations: 122.7 kB / 0.5283 GB, free: 5.727 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002947/0.3457, allocations: 366.7 kB / 0.5286 GB, free: 5.543 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004497/0.3461, allocations: 429.2 kB / 0.529 GB, free: 5.316 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001447/0.3476, allocations: 1.369 MB / 0.5304 GB, free: 4.828 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.3476, allocations: 0.5156 kB / 0.5304 GB, free: 4.828 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3476, allocations: 0 / 0.5304 GB, free: 4.828 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.033e-05/0.3476, allocations: 5.094 kB / 0.5304 GB, free: 4.824 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.002527/0.3501, allocations: 1.171 MB / 0.5315 GB, free: 4.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.3502, allocations: 11.58 kB / 0.5315 GB, free: 4.16 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001304/0.3503, allocations: 110.9 kB / 0.5316 GB, free: 4.082 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001673/0.3505, allocations: 91.45 kB / 0.5317 GB, free: 4.035 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000908/0.3514, allocations: 490.9 kB / 0.5322 GB, free: 3.703 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.36e-05/0.3515, allocations: 76.38 kB / 0.5323 GB, free: 3.648 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001803/0.3517, allocations: 75.72 kB / 0.5323 GB, free: 3.621 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001645/0.3533, allocations: 0.8525 MB / 0.5332 GB, free: 3.258 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.302e-05/0.3533, allocations: 3.938 kB / 0.5332 GB, free: 3.254 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.762e-05/0.3534, allocations: 26.47 kB / 0.5332 GB, free: 3.234 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.027e-05/0.3534, allocations: 15.52 kB / 0.5332 GB, free: 3.234 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001336/0.3548, allocations: 0.7274 MB / 0.5339 GB, free: 2.957 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005223/0.36, allocations: 2.577 MB / 0.5364 GB, free: 1.668 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002254/0.3622, allocations: 0.8822 MB / 0.5373 GB, free: 1.352 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005787/0.3628, allocations: 367.6 kB / 0.5377 GB, free: 1.188 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.935e-05/0.3629, allocations: 7 kB / 0.5377 GB, free: 1.188 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/0.3629, allocations: 40.52 kB / 0.5377 GB, free: 1.145 MB / 382.1 MB Notification: Performance of pre-optimization done (n=56): time 2.575e-06/0.3629, allocations: 0 / 0.5377 GB, free: 1.145 MB / 382.1 MB Notification: Performance of matching and sorting (n=58): time 0.005341/0.3682, allocations: 2.382 MB / 0.54 GB, free: 4 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.376e-05/0.3683, allocations: 59.53 kB / 0.5401 GB, free: 15.94 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000813/0.3691, allocations: 483 kB / 0.5405 GB, free: 15.7 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.369e-05/0.3692, allocations: 35.7 kB / 0.5406 GB, free: 15.66 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003795/0.3696, allocations: 357.8 kB / 0.5409 GB, free: 15.38 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000317/0.3699, allocations: 237.9 kB / 0.5411 GB, free: 15.19 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003119/0.3702, allocations: 150 kB / 0.5413 GB, free: 15.12 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000241/0.3705, allocations: 378.8 kB / 0.5416 GB, free: 14.77 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008666/0.3713, allocations: 464.4 kB / 0.5421 GB, free: 14.59 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001045/0.3724, allocations: 0.6033 MB / 0.5427 GB, free: 14.16 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007613/0.38, allocations: 2.431 MB / 0.5451 GB, free: 12.81 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-05/0.38, allocations: 2.656 kB / 0.5451 GB, free: 12.81 MB / 398.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.002904/0.3829, allocations: 1.304 MB / 0.5463 GB, free: 12.11 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.686e-05/0.3829, allocations: 10.09 kB / 0.5463 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.058e-05/0.383, allocations: 5.906 kB / 0.5463 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008847/0.3838, allocations: 212.3 kB / 0.5465 GB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001452/0.3853, allocations: 267.6 kB / 0.5468 GB, free: 11.92 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007472/0.3928, allocations: 7.348 MB / 0.554 GB, free: 4.723 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001122/0.3939, allocations: 48.41 kB / 0.554 GB, free: 4.695 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001106/0.394, allocations: 40.14 kB / 0.5541 GB, free: 4.68 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.0007037/0.3947, allocations: 276.2 kB / 0.5543 GB, free: 4.465 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001785/0.3949, allocations: 62.83 kB / 0.5544 GB, free: 4.43 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002173/0.3971, allocations: 0.9882 MB / 0.5554 GB, free: 3.836 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.679e-06/0.3971, allocations: 5.594 kB / 0.5554 GB, free: 3.836 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.3971, allocations: 1.125 kB / 0.5554 GB, free: 3.836 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.267e-05/0.3971, allocations: 4.984 kB / 0.5554 GB, free: 3.832 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003891/0.401, allocations: 1.877 MB / 0.5572 GB, free: 2.605 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.762e-06/0.401, allocations: 1.344 kB / 0.5572 GB, free: 2.605 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001429/0.4024, allocations: 230.6 kB / 0.5574 GB, free: 2.547 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005817/0.403, allocations: 166.6 kB / 0.5576 GB, free: 2.445 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.943e-05/0.4031, allocations: 33.95 kB / 0.5576 GB, free: 2.426 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006167/0.4092, allocations: 6.91 MB / 0.5644 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.4092, allocations: 0 / 0.5644 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002656/0.4119, allocations: 1.404 MB / 0.5657 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002047/0.4121, allocations: 61.7 kB / 0.5658 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001347/0.4122, allocations: 34.27 kB / 0.5658 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004403/0.4127, allocations: 27.16 kB / 0.5658 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001867/0.4129, allocations: 53.97 kB / 0.5659 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.498e-05/0.4129, allocations: 18.98 kB / 0.5659 GB, free: 10.6 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004431/0.4134, allocations: 326.7 kB / 0.5662 GB, free: 10.4 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4134, allocations: 1.594 kB / 0.5662 GB, free: 10.4 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009139/0.4143, allocations: 230.7 kB / 0.5664 GB, free: 10.38 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.002795/0.4171, allocations: 1.98 MB / 0.5684 GB, free: 8.914 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002333/0.4194, allocations: 1.45 MB / 0.5698 GB, free: 7.398 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.4194, allocations: 384 / 0.5698 GB, free: 7.398 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001281/0.4207, allocations: 0.961 MB / 0.5707 GB, free: 6.375 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009182/0.4216, allocations: 177.9 kB / 0.5709 GB, free: 6.199 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01534/0.437, allocations: 8.896 MB / 0.5796 GB, free: 13.04 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004649/0.4374, allocations: 388.1 kB / 0.58 GB, free: 12.64 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006618/0.4381, allocations: 220.9 kB / 0.5802 GB, free: 12.42 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004476/0.4385, allocations: 255.4 kB / 0.5804 GB, free: 12.17 MB / 430.1 MB Notification: Performance of SimCode: time 1.132e-06/0.4385, allocations: 0 / 0.5804 GB, free: 12.17 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06744/0.506, allocations: 20.29 MB / 0.6002 GB, free: 8.199 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.54/13.04, allocations: 3.938 kB / 0.6002 GB, free: 8.195 MB / 446.1 MB " [Timeout remaining time 647] (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: 16.098900123964995] Failed to read output from testmodel.py, exit status != 0: 13.168267195578665 13.196515873 12.843398453 Calling exit ...