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_003.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_003,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_003") translateModel(AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_003,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_003") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/AES main/package.mo): time 0.078/0.078, allocations: 19.39 MB / 34.65 MB, free: 204 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.0009392/0.0009393, allocations: 172.7 kB / 40.28 MB, free: 6.539 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.324/1.324, allocations: 225.7 MB / 271.5 MB, free: 3.293 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.0008776/0.0008778, allocations: 87.55 kB / 327.4 MB, free: 14.27 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003243/0.0003243, allocations: 8 kB / 395.4 MB, free: 47.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08013/0.08047, allocations: 55.18 MB / 450.6 MB, free: 8.66 MB / 314.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_003): time 0.00311/0.08362, allocations: 2.888 MB / 453.4 MB, free: 5.758 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001657/0.0853, allocations: 1.105 MB / 454.6 MB, free: 4.609 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001649/0.08548, allocations: 4 kB / 454.6 MB, free: 4.605 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001639/0.08566, allocations: 47.61 kB / 454.6 MB, free: 4.559 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002894/0.08595, allocations: 143 kB / 454.7 MB, free: 4.418 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004751/0.08644, allocations: 171.8 kB / 454.9 MB, free: 4.25 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006107/0.08706, allocations: 0.7914 MB / 455.7 MB, free: 3.457 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004591/0.08753, allocations: 381.9 kB / 456.1 MB, free: 3.082 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000264/0.0878, allocations: 267.1 kB / 456.3 MB, free: 2.82 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004027/0.08821, allocations: 358.7 kB / 456.7 MB, free: 2.469 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 7.409e-05/0.0883, allocations: 44 kB / 456.7 MB, free: 2.426 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001534/0.08846, allocations: 75.97 kB / 456.8 MB, free: 2.352 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001491/0.08861, allocations: 171.4 kB / 457 MB, free: 2.184 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002706/0.08889, allocations: 328.2 kB / 457.3 MB, free: 1.855 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006267/0.08953, allocations: 0.7435 MB / 458 MB, free: 1.109 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.08954, allocations: 0 / 458 MB, free: 1.109 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.08955, allocations: 0 / 458 MB, free: 1.109 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.645e-06/0.08956, allocations: 0 / 458 MB, free: 1.109 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001561/0.09113, allocations: 0.7918 MB / 458.8 MB, free: 272 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.09118, allocations: 17.09 kB / 458.8 MB, free: 256 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001151/0.0913, allocations: 64.22 kB / 458.9 MB, free: 192 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004834/0.09179, allocations: 384.1 kB / 459.3 MB, free: 15.77 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001261/0.09193, allocations: 112.9 kB / 459.4 MB, free: 15.65 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.012e-05/0.09203, allocations: 56.38 kB / 459.4 MB, free: 15.59 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001452/0.09349, allocations: 0.717 MB / 460.2 MB, free: 14.87 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.701e-05/0.09352, allocations: 0 / 460.2 MB, free: 14.87 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.269e-05/0.09358, allocations: 19.94 kB / 460.2 MB, free: 14.85 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.122e-05/0.09359, allocations: 12 kB / 460.2 MB, free: 14.84 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001337/0.09494, allocations: 0.6246 MB / 460.8 MB, free: 14.21 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004548/0.0995, allocations: 2.621 MB / 463.4 MB, free: 11.52 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0011/0.1006, allocations: 0.5643 MB / 464 MB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007785/0.1014, allocations: 413.9 kB / 464.4 MB, free: 10.54 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001581/0.1016, allocations: 90.23 kB / 464.5 MB, free: 10.43 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.276e-05/0.1016, allocations: 42.98 kB / 464.5 MB, free: 10.38 MB / 330.7 MB Notification: Performance of pre-optimization done (n=47): time 2.014e-06/0.1016, allocations: 0 / 464.5 MB, free: 10.38 MB / 330.7 MB Notification: Performance of matching and sorting (n=51): time 0.005376/0.107, allocations: 2.303 MB / 466.8 MB, free: 8.02 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.769e-05/0.1071, allocations: 63.84 kB / 466.9 MB, free: 7.945 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003636/0.1075, allocations: 353.6 kB / 467.2 MB, free: 7.594 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.571e-05/0.1075, allocations: 33.7 kB / 467.3 MB, free: 7.555 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001336/0.1077, allocations: 220.5 kB / 467.5 MB, free: 7.336 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001382/0.1078, allocations: 185.3 kB / 467.7 MB, free: 7.152 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.455e-05/0.1078, allocations: 12 kB / 467.7 MB, free: 7.141 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.108, allocations: 350.8 kB / 468 MB, free: 6.789 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007935/0.1088, allocations: 393.7 kB / 468.4 MB, free: 6.402 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008072/0.1096, allocations: 435.1 kB / 468.8 MB, free: 5.957 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008119/0.1177, allocations: 2.185 MB / 471 MB, free: 3.754 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.1178, allocations: 0 / 471 MB, free: 3.754 MB / 330.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001942/0.1197, allocations: 0.8927 MB / 471.9 MB, free: 2.852 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.1198, allocations: 4 kB / 471.9 MB, free: 2.848 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.1198, allocations: 4 kB / 471.9 MB, free: 2.844 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/0.1198, allocations: 12.03 kB / 471.9 MB, free: 2.832 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006788/0.1266, allocations: 1.292 MB / 473.2 MB, free: 1.539 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003952/0.127, allocations: 0.5938 MB / 473.8 MB, free: 0.9219 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005656/0.1276, allocations: 76.06 kB / 473.9 MB, free: 0.8477 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-05/0.1276, allocations: 19.98 kB / 473.9 MB, free: 0.8281 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: 6 * Number of states: 0 () * Number of discrete variables: 1 (H.ON) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 65 * 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.0003543/0.128, allocations: 220 kB / 474.1 MB, free: 0.6055 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.934e-05/0.1281, allocations: 39.53 kB / 474.2 MB, free: 0.5664 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001848/0.1299, allocations: 0.8719 MB / 475 MB, free: 15.69 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.13, allocations: 7.938 kB / 475.1 MB, free: 15.68 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.13, allocations: 0 / 475.1 MB, free: 15.68 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.927e-06/0.13, allocations: 3.984 kB / 475.1 MB, free: 15.68 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003092/0.1331, allocations: 1.794 MB / 476.9 MB, free: 13.82 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.1331, allocations: 7.969 kB / 476.9 MB, free: 13.81 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006744/0.1399, allocations: 1.284 MB / 478.1 MB, free: 12.53 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.228e-06/0.1399, allocations: 4 kB / 478.1 MB, free: 12.52 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.831e-05/0.14, allocations: 19.98 kB / 478.2 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003165/0.1403, allocations: 0.5899 MB / 478.8 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.1403, allocations: 0 / 478.8 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00251/0.1428, allocations: 1.324 MB / 480.1 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001112/0.1429, allocations: 124.5 kB / 480.2 MB, free: 10.41 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.34e-05/0.143, allocations: 15.98 kB / 480.2 MB, free: 10.4 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004867/0.1435, allocations: 67.94 kB / 480.3 MB, free: 10.33 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001774/0.1437, allocations: 68.31 kB / 480.3 MB, free: 10.27 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.615e-05/0.1438, allocations: 19.98 kB / 480.4 MB, free: 10.25 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002467/0.144, allocations: 251.2 kB / 480.6 MB, free: 10 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.144, allocations: 0 / 480.6 MB, free: 10 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004457/0.1445, allocations: 144 kB / 480.8 MB, free: 9.859 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: 1 (H.ON) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 50 * 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.0001878/0.1447, allocations: 131.2 kB / 480.9 MB, free: 9.723 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002881/0.1476, allocations: 0.9506 MB / 481.8 MB, free: 8.77 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.549e-06/0.1476, allocations: 4.125 kB / 481.8 MB, free: 8.766 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001953/0.1495, allocations: 0.5568 MB / 482.4 MB, free: 8.211 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005765/0.1501, allocations: 101.5 kB / 482.5 MB, free: 8.113 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003616/0.1538, allocations: 2.141 MB / 484.6 MB, free: 5.938 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000342/0.1541, allocations: 0.8512 MB / 485.5 MB, free: 5.055 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.00048/0.1546, allocations: 96.22 kB / 485.6 MB, free: 4.961 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002154/0.1548, allocations: 47.41 kB / 485.6 MB, free: 4.918 MB / 346.7 MB Notification: Performance of SimCode: time 5.41e-07/0.1548, allocations: 4 kB / 485.6 MB, free: 4.914 MB / 346.7 MB Notification: Performance of Templates: time 0.01175/0.1666, allocations: 7.459 MB / 493.1 MB, free: 13.47 MB / 362.7 MB make -j1 -f AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_003.makefile (rm -f AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_003.pipe ; mkfifo AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_003.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_003.pipe >> ../files/AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_003.sim & ./AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_003 -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_003.pipe 2>&1)