Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_001.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.Coursework.ThermSys_Transport.Stratified_storage_tank_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_001") translateModel(AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_001") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/AES main/package.mo): time 0.07692/0.07692, allocations: 19.39 MB / 34.64 MB, free: 76 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.0009198/0.0009198, allocations: 180.7 kB / 40.29 MB, free: 6.508 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.632/1.632, allocations: 225.7 MB / 271.5 MB, free: 2.867 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.0007391/0.0007392, allocations: 91.52 kB / 327.4 MB, free: 13.86 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002792/0.0002794, allocations: 12 kB / 395.4 MB, free: 47.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08465/0.08496, allocations: 55.17 MB / 450.6 MB, free: 8.598 MB / 314.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_001): time 0.00329/0.0883, allocations: 2.888 MB / 453.4 MB, free: 5.695 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001956/0.09028, allocations: 1.086 MB / 454.5 MB, free: 4.566 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003505/0.09067, allocations: 8 kB / 454.5 MB, free: 4.559 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002349/0.09093, allocations: 47.61 kB / 454.6 MB, free: 4.512 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004179/0.09136, allocations: 143 kB / 454.7 MB, free: 4.371 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005493/0.09192, allocations: 175.7 kB / 454.9 MB, free: 4.199 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007939/0.09272, allocations: 0.7875 MB / 455.7 MB, free: 3.41 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006258/0.09336, allocations: 374 kB / 456.1 MB, free: 3.043 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004261/0.0938, allocations: 271.1 kB / 456.3 MB, free: 2.777 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005841/0.09439, allocations: 350.8 kB / 456.7 MB, free: 2.434 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001138/0.09452, allocations: 44 kB / 456.7 MB, free: 2.391 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000196/0.09473, allocations: 79.97 kB / 456.8 MB, free: 2.312 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000194/0.09493, allocations: 171.4 kB / 456.9 MB, free: 2.145 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003893/0.09533, allocations: 320.2 kB / 457.3 MB, free: 1.824 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007273/0.09606, allocations: 0.7474 MB / 458 MB, free: 1.074 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.09608, allocations: 0 / 458 MB, free: 1.074 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.09609, allocations: 0 / 458 MB, free: 1.074 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.745e-05/0.09612, allocations: 0 / 458 MB, free: 1.074 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.001638/0.09776, allocations: 0.7996 MB / 458.8 MB, free: 228 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.09781, allocations: 9.156 kB / 458.8 MB, free: 220 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001494/0.09796, allocations: 60.28 kB / 458.9 MB, free: 160 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005567/0.09853, allocations: 380.1 kB / 459.2 MB, free: 15.74 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001399/0.09868, allocations: 124.9 kB / 459.4 MB, free: 15.61 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001027/0.09879, allocations: 48.38 kB / 459.4 MB, free: 15.56 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001484/0.1003, allocations: 0.7053 MB / 460.1 MB, free: 14.85 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.1003, allocations: 4 kB / 460.1 MB, free: 14.85 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.677e-05/0.1004, allocations: 20 kB / 460.1 MB, free: 14.83 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.204e-05/0.1004, allocations: 16 kB / 460.2 MB, free: 14.81 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001376/0.1018, allocations: 0.6168 MB / 460.8 MB, free: 14.19 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005082/0.1069, allocations: 2.641 MB / 463.4 MB, free: 11.47 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001039/0.1079, allocations: 0.5465 MB / 464 MB, free: 10.92 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007746/0.1087, allocations: 405.3 kB / 464.4 MB, free: 10.52 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001442/0.1089, allocations: 94 kB / 464.5 MB, free: 10.41 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/0.1089, allocations: 38.94 kB / 464.5 MB, free: 10.36 MB / 330.7 MB Notification: Performance of pre-optimization done (n=45): time 2.154e-06/0.1089, allocations: 0 / 464.5 MB, free: 10.36 MB / 330.7 MB Notification: Performance of matching and sorting (n=49): time 0.005073/0.114, allocations: 2.269 MB / 466.8 MB, free: 8.035 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.349e-05/0.114, allocations: 55.84 kB / 466.8 MB, free: 7.969 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003633/0.1144, allocations: 365.6 kB / 467.2 MB, free: 7.605 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.406e-05/0.1145, allocations: 29.7 kB / 467.2 MB, free: 7.57 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001288/0.1146, allocations: 228.3 kB / 467.4 MB, free: 7.344 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001277/0.1147, allocations: 177.4 kB / 467.6 MB, free: 7.168 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.487e-05/0.1148, allocations: 8 kB / 467.6 MB, free: 7.16 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.1149, allocations: 362.7 kB / 468 MB, free: 6.797 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007568/0.1157, allocations: 385.8 kB / 468.3 MB, free: 6.418 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007898/0.1165, allocations: 432 kB / 468.8 MB, free: 5.973 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007816/0.1243, allocations: 2.162 MB / 470.9 MB, free: 3.793 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.1243, allocations: 4 kB / 470.9 MB, free: 3.789 MB / 330.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001802/0.1261, allocations: 0.881 MB / 471.8 MB, free: 2.898 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.1261, allocations: 4 kB / 471.8 MB, free: 2.895 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.1262, allocations: 0 / 471.8 MB, free: 2.895 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.1262, allocations: 4 kB / 471.8 MB, free: 2.891 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006355/0.1325, allocations: 1.288 MB / 473.1 MB, free: 1.602 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004081/0.133, allocations: 0.5899 MB / 473.7 MB, free: 0.9883 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005363/0.1335, allocations: 80.05 kB / 473.8 MB, free: 0.9102 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.249e-05/0.1336, allocations: 19.98 kB / 473.8 MB, free: 0.8906 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.0003339/0.1339, allocations: 203.3 kB / 474 MB, free: 0.6836 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.246e-05/0.134, allocations: 43.44 kB / 474 MB, free: 0.6406 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001825/0.1358, allocations: 0.8639 MB / 474.9 MB, free: 15.77 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.1359, allocations: 4 kB / 474.9 MB, free: 15.77 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.1359, allocations: 4 kB / 474.9 MB, free: 15.76 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.1359, allocations: 0 / 474.9 MB, free: 15.76 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003288/0.1392, allocations: 1.777 MB / 476.7 MB, free: 13.92 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.1392, allocations: 0 / 476.7 MB, free: 13.92 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006516/0.1457, allocations: 1.268 MB / 477.9 MB, free: 12.65 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-05/0.1457, allocations: 4 kB / 478 MB, free: 12.65 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.661e-05/0.1458, allocations: 19.92 kB / 478 MB, free: 12.63 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003374/0.1462, allocations: 0.5976 MB / 478.6 MB, free: 12.01 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.1462, allocations: 4.031 kB / 478.6 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002551/0.1487, allocations: 1.304 MB / 479.9 MB, free: 10.68 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001428/0.1489, allocations: 116.6 kB / 480 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.188e-05/0.149, allocations: 12 kB / 480 MB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004967/0.1495, allocations: 79.92 kB / 480.1 MB, free: 10.46 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000175/0.1497, allocations: 68.41 kB / 480.1 MB, free: 10.39 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.317e-05/0.1497, allocations: 15.94 kB / 480.2 MB, free: 10.38 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002605/0.15, allocations: 259.2 kB / 480.4 MB, free: 10.12 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.15, allocations: 0 / 480.4 MB, free: 10.12 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004798/0.1505, allocations: 140 kB / 480.6 MB, free: 9.984 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.0001794/0.1507, allocations: 127.8 kB / 480.7 MB, free: 9.852 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002907/0.1536, allocations: 0.9428 MB / 481.6 MB, free: 8.914 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.1536, allocations: 4 kB / 481.6 MB, free: 8.91 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00199/0.1556, allocations: 0.5453 MB / 482.2 MB, free: 8.367 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005909/0.1562, allocations: 105.5 kB / 482.3 MB, free: 8.262 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004186/0.1604, allocations: 2.235 MB / 484.5 MB, free: 6 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004188/0.1608, allocations: 0.8434 MB / 485.3 MB, free: 5.125 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000429/0.1613, allocations: 96.22 kB / 485.4 MB, free: 5.031 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002296/0.1615, allocations: 43.42 kB / 485.5 MB, free: 4.988 MB / 346.7 MB Notification: Performance of SimCode: time 3.41e-07/0.1615, allocations: 0 / 485.5 MB, free: 4.988 MB / 346.7 MB Notification: Performance of Templates: time 0.01282/0.1744, allocations: 7.401 MB / 492.9 MB, free: 13.6 MB / 362.7 MB make -j1 -f AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_001.makefile (rm -f AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_001.pipe ; mkfifo AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_001.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_001.pipe >> ../files/AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_001.sim & ./AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_001 -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_001.pipe 2>&1)