Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_stank_002.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.001325/0.001325, allocations: 110.4 kB / 18.94 MB, free: 2.957 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.001512/0.001512, allocations: 215.2 kB / 22.26 MB, free: 5.133 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 MB, free: 7.996 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.1102/0.1102, allocations: 24.12 MB / 336.6 MB, free: 11.46 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_stank_002,fileNamePrefix="AES_AES_Devel_test_models_Test_stank_002",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_stank_002,fileNamePrefix="AES_AES_Devel_test_models_Test_stank_002",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.003085/0.003085, allocations: 67.89 kB / 473.3 MB, free: 6.41 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3674/0.3705, allocations: 59.6 MB / 0.5204 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_stank_002): time 0.004926/0.3754, allocations: 3.244 MB / 0.5236 GB, free: 7.875 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001753/0.3772, allocations: 0.9585 MB / 0.5245 GB, free: 7.184 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001638/0.3773, allocations: 8.25 kB / 0.5245 GB, free: 7.18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002109/0.3775, allocations: 66.33 kB / 0.5246 GB, free: 7.141 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000337/0.3779, allocations: 168.3 kB / 0.5248 GB, free: 7.027 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005697/0.3784, allocations: 203.8 kB / 0.525 GB, free: 6.914 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007755/0.3792, allocations: 0.7488 MB / 0.5257 GB, free: 6.547 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007256/0.3799, allocations: 358.8 kB / 0.526 GB, free: 6.387 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006101/0.3806, allocations: 316 kB / 0.5263 GB, free: 6.246 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007082/0.3813, allocations: 398.8 kB / 0.5267 GB, free: 6.059 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001602/0.3814, allocations: 76.88 kB / 0.5268 GB, free: 6.059 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001679/0.3816, allocations: 76.88 kB / 0.5269 GB, free: 6.059 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002307/0.3818, allocations: 208.6 kB / 0.5271 GB, free: 5.941 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003671/0.3822, allocations: 337.4 kB / 0.5274 GB, free: 5.742 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009475/0.3831, allocations: 0.7953 MB / 0.5282 GB, free: 5.441 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.3831, allocations: 0 / 0.5282 GB, free: 5.441 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.766e-06/0.3831, allocations: 4 kB / 0.5282 GB, free: 5.438 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.394e-05/0.3832, allocations: 0.8438 kB / 0.5282 GB, free: 5.438 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.002169/0.3853, allocations: 0.8378 MB / 0.529 GB, free: 4.902 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.67e-05/0.3854, allocations: 10.7 kB / 0.529 GB, free: 4.902 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001311/0.3855, allocations: 91.62 kB / 0.5291 GB, free: 4.832 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001369/0.3857, allocations: 69.42 kB / 0.5291 GB, free: 4.797 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005868/0.3862, allocations: 331.4 kB / 0.5295 GB, free: 4.547 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001337/0.3864, allocations: 110.9 kB / 0.5296 GB, free: 4.465 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001027/0.3865, allocations: 49.47 kB / 0.5296 GB, free: 4.449 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001567/0.388, allocations: 0.6907 MB / 0.5303 GB, free: 4.199 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.436e-05/0.3881, allocations: 0.6094 kB / 0.5303 GB, free: 4.199 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.018e-05/0.3881, allocations: 21.03 kB / 0.5303 GB, free: 4.184 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.852e-05/0.3882, allocations: 10.97 kB / 0.5303 GB, free: 4.184 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001474/0.3896, allocations: 0.599 MB / 0.5309 GB, free: 3.996 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005343/0.395, allocations: 2.539 MB / 0.5334 GB, free: 2.641 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00118/0.3961, allocations: 0.5169 MB / 0.5339 GB, free: 2.438 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008638/0.397, allocations: 393.4 kB / 0.5343 GB, free: 2.293 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.551e-05/0.3971, allocations: 9.25 kB / 0.5343 GB, free: 2.289 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.201e-05/0.3971, allocations: 37.19 kB / 0.5343 GB, free: 2.246 MB / 382.1 MB Notification: Performance of pre-optimization done (n=46): time 3.547e-06/0.3971, allocations: 4 kB / 0.5343 GB, free: 2.242 MB / 382.1 MB Notification: Performance of matching and sorting (n=52): time 0.005887/0.403, allocations: 2.193 MB / 0.5364 GB, free: 1.375 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.705e-05/0.403, allocations: 55.84 kB / 0.5365 GB, free: 1.309 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004019/0.4034, allocations: 355.7 kB / 0.5368 GB, free: 1.121 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.672e-05/0.4035, allocations: 35.89 kB / 0.5369 GB, free: 1.082 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001324/0.4036, allocations: 238.9 kB / 0.5371 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001403/0.4037, allocations: 200.9 kB / 0.5373 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001821/0.4039, allocations: 98.86 kB / 0.5374 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.726e-05/0.404, allocations: 363.1 kB / 0.5377 GB, free: 344 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008076/0.4048, allocations: 373.1 kB / 0.5381 GB, free: 208 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008651/0.4057, allocations: 428 kB / 0.5385 GB, free: 16 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006954/0.4126, allocations: 2.003 MB / 0.5405 GB, free: 15.37 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.4126, allocations: 0 / 0.5405 GB, free: 15.37 MB / 398.1 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002048/0.4147, allocations: 0.8472 MB / 0.5413 GB, free: 14.94 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.872e-05/0.4147, allocations: 11.83 kB / 0.5413 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.4147, allocations: 2.75 kB / 0.5413 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.159e-05/0.4147, allocations: 4.125 kB / 0.5413 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005385/0.4201, allocations: 0.8985 MB / 0.5422 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.056e-05/0.4202, allocations: 4.469 kB / 0.5422 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006249/0.4208, allocations: 61.17 kB / 0.5422 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.344e-05/0.4208, allocations: 22.28 kB / 0.5423 GB, free: 14.58 MB / 398.1 MB Warning: Assuming fixed start value for the following 5 variables: H.Ec:VARIABLE(flow=false fixed = true ) type: Real stank.lcold:VARIABLE(start = stank.lcoldstart unit = \"m\" fixed = true stateSelect=StateSelect.prefer ) \"cold height\" type: Real stank.Thot:VARIABLE(min = 0.0 start = stank.Thotstart unit = \"K\" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) type: Real stank.Tcold:VARIABLE(min = 0.0 start = stank.Tcoldstart unit = \"K\" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) 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.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (68): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004337/0.4213, allocations: 210.7 kB / 0.5425 GB, free: 14.4 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/0.4214, allocations: 45.06 kB / 0.5425 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001979/0.4234, allocations: 0.8353 MB / 0.5433 GB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/0.4234, allocations: 9.047 kB / 0.5433 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.4234, allocations: 1.344 kB / 0.5433 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-06/0.4234, allocations: 0 / 0.5433 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003905/0.4273, allocations: 1.764 MB / 0.5451 GB, free: 12.69 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.4273, allocations: 1.125 kB / 0.5451 GB, free: 12.69 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005539/0.4328, allocations: 0.8861 MB / 0.5459 GB, free: 12.38 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.184e-05/0.4328, allocations: 3.406 kB / 0.5459 GB, free: 12.38 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.839e-05/0.4329, allocations: 18.11 kB / 0.5459 GB, free: 12.37 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.095e-06/0.4329, allocations: 6.125 kB / 0.5459 GB, free: 12.36 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/0.4329, allocations: 10.3 kB / 0.546 GB, free: 12.36 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003123/0.4361, allocations: 1.272 MB / 0.5472 GB, free: 11.63 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001774/0.4362, allocations: 43.95 kB / 0.5472 GB, free: 11.6 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.77e-05/0.4363, allocations: 17.05 kB / 0.5473 GB, free: 11.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005203/0.4369, allocations: 59.75 kB / 0.5473 GB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001966/0.4371, allocations: 76.61 kB / 0.5474 GB, free: 11.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.059e-05/0.4371, allocations: 19.86 kB / 0.5474 GB, free: 11.49 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003107/0.4374, allocations: 264.1 kB / 0.5477 GB, free: 11.32 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4374, allocations: 192 / 0.5477 GB, free: 11.32 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005879/0.438, allocations: 145.8 kB / 0.5478 GB, free: 11.31 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (stank.lcold,stank.Thot,stank.Tcold,H.Tfo,H.Ec,tube.T[1],tube.T[2],tube.T[3],tube.T[4],tube.T[5]) * 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 (53): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003148/0.4412, allocations: 1.833 MB / 0.5496 GB, free: 10.03 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001971/0.4431, allocations: 0.7507 MB / 0.5503 GB, free: 9.68 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.4431, allocations: 0 / 0.5503 GB, free: 9.68 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009446/0.4441, allocations: 409.2 kB / 0.5507 GB, free: 9.484 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000662/0.4447, allocations: 99.39 kB / 0.5508 GB, free: 9.434 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01197/0.4567, allocations: 6.158 MB / 0.5568 GB, free: 5.477 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005567/0.4573, allocations: 0.8558 MB / 0.5577 GB, free: 4.707 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004747/0.4577, allocations: 101 kB / 0.5578 GB, free: 4.609 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000414/0.4582, allocations: 183.4 kB / 0.5579 GB, free: 4.43 MB / 398.1 MB Notification: Performance of SimCode: time 7.01e-07/0.4582, allocations: 4 kB / 0.5579 GB, free: 4.426 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04728/0.5054, allocations: 13.38 MB / 0.571 GB, free: 7.238 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.29/12.79, allocations: 9.766 kB / 0.571 GB, free: 7.234 MB / 414.1 MB " [Timeout remaining time 647] (rm -f AES_AES.Devel_test_models.Test_stank_002.pipe ; mkfifo AES_AES.Devel_test_models.Test_stank_002.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_stank_002.pipe >> ../files/AES_AES.Devel_test_models.Test_stank_002.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_stank_002_fmu --startTime=0 --stopTime=10000 --stepSize=1 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_stank_002.fmu > AES_AES.Devel_test_models.Test_stank_002.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.778160918969661] Failed to read output from testmodel.py, exit status != 0: 12.909538015024737 12.927088973 12.540440739 Calling exit ...