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.001732/0.001732, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.002034/0.002034, allocations: 209.5 kB / 20.13 MB, free: 3.035 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.545/1.545, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.1111/0.1111, allocations: 22.93 MB / 332.5 MB, free: 2.629 MB / 254.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_stank_002,fileNamePrefix="AES_AES_Devel_test_models_Test_stank_002",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.001998/0.001998, allocations: 69.06 kB / 466.8 MB, free: 32.36 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1146, allocations: 59.26 MB / 0.5137 GB, free: 14 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_stank_002): time 0.004697/0.1193, allocations: 3.236 MB / 0.5168 GB, free: 10.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001744/0.1211, allocations: 0.943 MB / 0.5178 GB, free: 9.785 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000179/0.1212, allocations: 4 kB / 0.5178 GB, free: 9.781 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002351/0.1215, allocations: 71.3 kB / 0.5178 GB, free: 9.711 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003786/0.1218, allocations: 178.7 kB / 0.518 GB, free: 9.535 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005804/0.1224, allocations: 191.7 kB / 0.5182 GB, free: 9.348 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008069/0.1232, allocations: 0.7523 MB / 0.5189 GB, free: 8.594 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005364/0.1238, allocations: 373.8 kB / 0.5193 GB, free: 8.227 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000434/0.1242, allocations: 315.1 kB / 0.5196 GB, free: 7.918 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005215/0.1247, allocations: 398.7 kB / 0.52 GB, free: 7.527 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001138/0.1248, allocations: 76 kB / 0.52 GB, free: 7.453 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001175/0.125, allocations: 76 kB / 0.5201 GB, free: 7.379 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002264/0.1252, allocations: 203.4 kB / 0.5203 GB, free: 7.18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003288/0.1255, allocations: 338.5 kB / 0.5206 GB, free: 6.848 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008592/0.1264, allocations: 0.8056 MB / 0.5214 GB, free: 6.039 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.1264, allocations: 0 / 0.5214 GB, free: 6.039 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1264, allocations: 0 / 0.5214 GB, free: 6.039 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.157e-06/0.1264, allocations: 0 / 0.5214 GB, free: 6.039 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.002042/0.1284, allocations: 0.9155 MB / 0.5223 GB, free: 5.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.1285, allocations: 8.625 kB / 0.5223 GB, free: 5.062 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.89e-05/0.1285, allocations: 17.12 kB / 0.5223 GB, free: 5.047 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001188/0.1286, allocations: 90.7 kB / 0.5224 GB, free: 4.949 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001333/0.1288, allocations: 68.56 kB / 0.5225 GB, free: 4.883 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000605/0.1294, allocations: 388.4 kB / 0.5229 GB, free: 4.465 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001614/0.1295, allocations: 116.9 kB / 0.523 GB, free: 4.336 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001118/0.1296, allocations: 52.12 kB / 0.523 GB, free: 4.285 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001662/0.1313, allocations: 0.6856 MB / 0.5237 GB, free: 3.598 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/0.1313, allocations: 0 / 0.5237 GB, free: 3.598 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.943e-05/0.1314, allocations: 20 kB / 0.5237 GB, free: 3.578 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.1314, allocations: 12 kB / 0.5237 GB, free: 3.566 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001577/0.133, allocations: 0.5972 MB / 0.5243 GB, free: 2.969 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005688/0.1387, allocations: 2.583 MB / 0.5268 GB, free: 320 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001273/0.1399, allocations: 0.5229 MB / 0.5273 GB, free: 15.78 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009479/0.1409, allocations: 397.4 kB / 0.5277 GB, free: 15.39 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.287e-05/0.1409, allocations: 12.91 kB / 0.5277 GB, free: 15.38 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.694e-05/0.141, allocations: 42.91 kB / 0.5278 GB, free: 15.33 MB / 398.1 MB Notification: Performance of pre-optimization done (n=46): time 2.405e-06/0.141, allocations: 0 / 0.5278 GB, free: 15.33 MB / 398.1 MB Notification: Performance of matching and sorting (n=52): time 0.006714/0.1477, allocations: 2.258 MB / 0.53 GB, free: 13.03 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.798e-05/0.1477, allocations: 59.84 kB / 0.53 GB, free: 12.96 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004625/0.1482, allocations: 353.7 kB / 0.5304 GB, free: 12.61 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.289e-05/0.1483, allocations: 41.64 kB / 0.5304 GB, free: 12.56 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002121/0.1485, allocations: 240.7 kB / 0.5306 GB, free: 12.32 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001976/0.1487, allocations: 190.3 kB / 0.5308 GB, free: 12.13 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002185/0.1489, allocations: 102.2 kB / 0.5309 GB, free: 12.03 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001947/0.1491, allocations: 362.7 kB / 0.5313 GB, free: 11.66 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009049/0.15, allocations: 371 kB / 0.5316 GB, free: 11.3 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009481/0.1509, allocations: 424.8 kB / 0.532 GB, free: 10.86 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007427/0.1584, allocations: 2.077 MB / 0.534 GB, free: 8.73 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.1584, allocations: 0 / 0.534 GB, free: 8.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002134/0.1605, allocations: 0.8539 MB / 0.5349 GB, free: 7.867 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.642e-05/0.1605, allocations: 8 kB / 0.5349 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.1605, allocations: 4 kB / 0.5349 GB, free: 7.855 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.531e-05/0.1606, allocations: 4 kB / 0.5349 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006132/0.1667, allocations: 0.9051 MB / 0.5358 GB, free: 6.945 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.884e-05/0.1667, allocations: 7.938 kB / 0.5358 GB, free: 6.938 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006462/0.1674, allocations: 55.94 kB / 0.5358 GB, free: 6.883 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.865e-05/0.1674, allocations: 23.98 kB / 0.5359 GB, free: 6.859 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.000467/0.1679, allocations: 217.2 kB / 0.5361 GB, free: 6.645 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/0.168, allocations: 43.72 kB / 0.5361 GB, free: 6.602 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002122/0.1701, allocations: 0.8249 MB / 0.5369 GB, free: 5.77 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/0.1701, allocations: 8 kB / 0.5369 GB, free: 5.762 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.1701, allocations: 0 / 0.5369 GB, free: 5.762 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.736e-06/0.1702, allocations: 7.984 kB / 0.5369 GB, free: 5.754 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003896/0.174, allocations: 1.784 MB / 0.5387 GB, free: 3.906 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/0.1741, allocations: 12.08 kB / 0.5387 GB, free: 3.895 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006183/0.1802, allocations: 0.8817 MB / 0.5395 GB, free: 3.012 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.168e-05/0.1803, allocations: 3.938 kB / 0.5395 GB, free: 3.008 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001103/0.1804, allocations: 31.86 kB / 0.5396 GB, free: 2.977 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.01e-05/0.1804, allocations: 4 kB / 0.5396 GB, free: 2.973 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.1804, allocations: 3.938 kB / 0.5396 GB, free: 2.969 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003299/0.1837, allocations: 1.273 MB / 0.5408 GB, free: 1.668 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001754/0.1839, allocations: 120.8 kB / 0.5409 GB, free: 1.531 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.934e-05/0.1839, allocations: 19.92 kB / 0.541 GB, free: 1.512 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005498/0.1845, allocations: 55.94 kB / 0.541 GB, free: 1.457 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002064/0.1847, allocations: 68.33 kB / 0.5411 GB, free: 1.391 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-05/0.1848, allocations: 19.98 kB / 0.5411 GB, free: 1.371 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003311/0.1851, allocations: 259.2 kB / 0.5413 GB, free: 1.121 MB / 398.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1851, allocations: 0 / 0.5413 GB, free: 1.121 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005662/0.1857, allocations: 144 kB / 0.5415 GB, free: 0.9805 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.003283/0.1889, allocations: 1.836 MB / 0.5433 GB, free: 15.11 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001972/0.1909, allocations: 0.7435 MB / 0.544 GB, free: 14.36 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.1909, allocations: 0 / 0.544 GB, free: 14.36 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009939/0.1919, allocations: 410.8 kB / 0.5444 GB, free: 13.96 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007062/0.1926, allocations: 105.7 kB / 0.5445 GB, free: 13.86 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0121/0.2047, allocations: 6.165 MB / 0.5505 GB, free: 7.551 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005411/0.2053, allocations: 0.8547 MB / 0.5514 GB, free: 6.672 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004251/0.2057, allocations: 100.3 kB / 0.5514 GB, free: 6.57 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000417/0.2061, allocations: 187.4 kB / 0.5516 GB, free: 6.387 MB / 414.1 MB Notification: Performance of SimCode: time 8.62e-07/0.2061, allocations: 0 / 0.5516 GB, free: 6.387 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03451/0.2406, allocations: 12.88 MB / 0.5642 GB, free: 9.664 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.43/9.671, allocations: 8.047 kB / 0.5642 GB, free: 9.656 MB / 430.1 MB " [Timeout remaining time 650] (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: 12.853278056019917] Failed to read output from testmodel.py, exit status != 0: 9.809184774989262 9.833154841 9.70221264 Calling exit ...