Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Devel_test_models.Test_stank_002.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/AES main/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package AES with version (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/AES main/package.mo) Running command: translateModel(AES.Devel_test_models.Test_stank_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_stank_002") translateModel(AES.Devel_test_models.Test_stank_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_stank_002") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/AES main/package.mo): time 0.1127/0.1127, allocations: 19.39 MB / 34.65 MB, free: 276 kB / 24.77 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 180 kB / 40.28 MB, free: 6.543 MB / 33.03 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.502/1.502, allocations: 225.7 MB / 271.5 MB, free: 3.285 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007804/0.0007804, allocations: 83.77 kB / 327.4 MB, free: 14.29 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004297/0.0004299, allocations: 8 kB / 395.4 MB, free: 47.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1196, allocations: 55.18 MB / 450.6 MB, free: 8.684 MB / 314.7 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_stank_002): time 0.004592/0.1242, allocations: 2.892 MB / 453.5 MB, free: 5.777 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00255/0.1268, allocations: 1.094 MB / 454.5 MB, free: 4.641 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002114/0.127, allocations: 7.938 kB / 454.6 MB, free: 4.633 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002187/0.1273, allocations: 43.61 kB / 454.6 MB, free: 4.59 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004334/0.1277, allocations: 155 kB / 454.8 MB, free: 4.438 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00063/0.1284, allocations: 167.8 kB / 454.9 MB, free: 4.273 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009877/0.1294, allocations: 0.7875 MB / 455.7 MB, free: 3.484 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005931/0.13, allocations: 379.7 kB / 456.1 MB, free: 3.113 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003319/0.1303, allocations: 267.1 kB / 456.3 MB, free: 2.852 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004762/0.1308, allocations: 358.7 kB / 456.7 MB, free: 2.5 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 9.349e-05/0.1309, allocations: 44 kB / 456.7 MB, free: 2.457 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001898/0.1311, allocations: 75.95 kB / 456.8 MB, free: 2.383 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001761/0.1313, allocations: 159.5 kB / 457 MB, free: 2.227 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003362/0.1317, allocations: 328.2 kB / 457.3 MB, free: 1.898 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007403/0.1324, allocations: 0.7396 MB / 458 MB, free: 1.156 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1324, allocations: 0 / 458 MB, free: 1.156 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1324, allocations: 0 / 458 MB, free: 1.156 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.193e-06/0.1324, allocations: 4 kB / 458 MB, free: 1.152 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001855/0.1343, allocations: 0.7952 MB / 458.8 MB, free: 312 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.1343, allocations: 13.14 kB / 458.8 MB, free: 300 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001029/0.1345, allocations: 60.28 kB / 458.9 MB, free: 240 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004934/0.135, allocations: 388.3 kB / 459.3 MB, free: 15.81 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001382/0.1351, allocations: 112.7 kB / 459.4 MB, free: 15.69 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.611e-05/0.1352, allocations: 56.36 kB / 459.4 MB, free: 15.64 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001499/0.1367, allocations: 0.7092 MB / 460.1 MB, free: 14.92 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.1367, allocations: 4 kB / 460.1 MB, free: 14.92 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.32e-05/0.1368, allocations: 16 kB / 460.2 MB, free: 14.9 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.1368, allocations: 12 kB / 460.2 MB, free: 14.89 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00139/0.1382, allocations: 0.6207 MB / 460.8 MB, free: 14.27 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004962/0.1432, allocations: 2.633 MB / 463.4 MB, free: 11.55 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001072/0.1443, allocations: 0.5503 MB / 464 MB, free: 11 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008126/0.1451, allocations: 405.4 kB / 464.4 MB, free: 10.6 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001463/0.1453, allocations: 89.47 kB / 464.5 MB, free: 10.49 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/0.1453, allocations: 34.94 kB / 464.5 MB, free: 10.45 MB / 330.7 MB Notification: Performance of pre-optimization done (n=45): time 2.034e-06/0.1453, allocations: 0 / 464.5 MB, free: 10.45 MB / 330.7 MB Notification: Performance of matching and sorting (n=49): time 0.00531/0.1506, allocations: 2.277 MB / 466.8 MB, free: 8.113 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.185e-05/0.1507, allocations: 59.84 kB / 466.8 MB, free: 8.043 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003713/0.1511, allocations: 353.6 kB / 467.2 MB, free: 7.691 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.244e-05/0.1511, allocations: 33.7 kB / 467.2 MB, free: 7.652 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001367/0.1513, allocations: 228.4 kB / 467.4 MB, free: 7.426 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001426/0.1514, allocations: 181.9 kB / 467.6 MB, free: 7.246 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.472e-05/0.1515, allocations: 8 kB / 467.6 MB, free: 7.238 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.1516, allocations: 354.8 kB / 468 MB, free: 6.883 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008258/0.1524, allocations: 385.8 kB / 468.3 MB, free: 6.504 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009005/0.1533, allocations: 439.9 kB / 468.8 MB, free: 6.051 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008269/0.1616, allocations: 2.158 MB / 470.9 MB, free: 3.875 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.1616, allocations: 4 kB / 470.9 MB, free: 3.871 MB / 330.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002177/0.1638, allocations: 0.8848 MB / 471.8 MB, free: 2.977 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.1639, allocations: 8 kB / 471.8 MB, free: 2.969 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.1639, allocations: 4.094 kB / 471.8 MB, free: 2.965 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.1639, allocations: 4 kB / 471.8 MB, free: 2.961 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007352/0.1713, allocations: 1.276 MB / 473.1 MB, free: 1.684 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003869/0.1717, allocations: 0.5938 MB / 473.7 MB, free: 1.066 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005631/0.1722, allocations: 76.05 kB / 473.8 MB, free: 0.9922 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.029e-05/0.1723, allocations: 20 kB / 473.8 MB, free: 0.9727 MB / 330.7 MB Warning: Assuming fixed start value for the following 5 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 stank.Tcold:VARIABLE(min = 0.0 start = stank.Tcoldstart unit = "K" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) type: Real stank.Thot:VARIABLE(min = 0.0 start = stank.Thotstart unit = "K" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) type: Real stank.lcold:VARIABLE(start = stank.lcoldstart unit = "m" fixed = true stateSelect=StateSelect.prefer ) "cold height" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (65): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003277/0.1726, allocations: 201.1 kB / 474 MB, free: 0.7695 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.19e-05/0.1727, allocations: 47.44 kB / 474 MB, free: 0.7227 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001906/0.1746, allocations: 0.8562 MB / 474.9 MB, free: 15.86 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.736e-06/0.1747, allocations: 11.98 kB / 474.9 MB, free: 15.85 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1747, allocations: 0 / 474.9 MB, free: 15.85 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.1747, allocations: 0 / 474.9 MB, free: 15.85 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003309/0.178, allocations: 1.785 MB / 476.7 MB, free: 14 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.178, allocations: 0 / 476.7 MB, free: 14 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006954/0.185, allocations: 1.276 MB / 478 MB, free: 12.72 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-05/0.185, allocations: 4 kB / 478 MB, free: 12.72 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.782e-05/0.1851, allocations: 23.92 kB / 478 MB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003613/0.1855, allocations: 0.5938 MB / 478.6 MB, free: 12.08 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.1855, allocations: 0 / 478.6 MB, free: 12.08 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002623/0.1881, allocations: 1.316 MB / 479.9 MB, free: 10.74 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001162/0.1883, allocations: 112.6 kB / 480 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.406e-05/0.1884, allocations: 12 kB / 480 MB, free: 10.6 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005034/0.1889, allocations: 71.92 kB / 480.1 MB, free: 10.53 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001986/0.1891, allocations: 72.31 kB / 480.2 MB, free: 10.46 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-05/0.1891, allocations: 16 kB / 480.2 MB, free: 10.45 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002815/0.1894, allocations: 251.2 kB / 480.4 MB, free: 10.2 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1894, allocations: 0 / 480.4 MB, free: 10.2 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004511/0.1899, allocations: 140 kB / 480.6 MB, free: 10.06 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (49): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001764/0.1901, allocations: 123.3 kB / 480.7 MB, free: 9.934 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003066/0.1931, allocations: 0.9545 MB / 481.6 MB, free: 8.984 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.1932, allocations: 0 / 481.6 MB, free: 8.984 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002033/0.1952, allocations: 0.5453 MB / 482.2 MB, free: 8.441 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005875/0.1958, allocations: 109.4 kB / 482.3 MB, free: 8.332 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00422/0.2, allocations: 2.225 MB / 484.5 MB, free: 6.078 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003956/0.2004, allocations: 0.8434 MB / 485.4 MB, free: 5.203 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0004275/0.2009, allocations: 96.22 kB / 485.5 MB, free: 5.109 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002441/0.2011, allocations: 47.42 kB / 485.5 MB, free: 5.062 MB / 346.7 MB Notification: Performance of SimCode: time 5.91e-07/0.2011, allocations: 4 kB / 485.5 MB, free: 5.059 MB / 346.7 MB Notification: Performance of Templates: time 0.01246/0.2136, allocations: 7.387 MB / 492.9 MB, free: 13.68 MB / 362.7 MB make -j1 -f AES_AES.Devel_test_models.Test_stank_002.makefile (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 & ./AES_AES.Devel_test_models.Test_stank_002 -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > AES_AES.Devel_test_models.Test_stank_002.pipe 2>&1)