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_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.Coursework.ThermSys_Transport.Stratified_storage_tank_case_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_002") translateModel(AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_002") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/AES main/package.mo): time 0.07537/0.07537, allocations: 19.39 MB / 34.64 MB, free: 196 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.0009263/0.0009264, allocations: 180.4 kB / 40.29 MB, free: 6.527 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.366/1.366, allocations: 225.7 MB / 271.5 MB, free: 3.246 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.0008357/0.0008358, allocations: 91.48 kB / 327.4 MB, free: 14.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003678/0.0003679, allocations: 12 kB / 395.4 MB, free: 47.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0867/0.08709, allocations: 55.18 MB / 450.6 MB, free: 8.652 MB / 314.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_002): time 0.004305/0.09144, allocations: 3.87 MB / 454.4 MB, free: 4.766 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002388/0.09386, allocations: 1.382 MB / 455.8 MB, free: 3.34 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002548/0.09413, allocations: 8 kB / 455.8 MB, free: 3.332 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002167/0.09436, allocations: 79.36 kB / 455.9 MB, free: 3.254 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004721/0.09484, allocations: 226.4 kB / 456.1 MB, free: 3.031 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000657/0.0955, allocations: 251.7 kB / 456.4 MB, free: 2.785 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001062/0.09658, allocations: 1.264 MB / 457.6 MB, free: 1.516 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007417/0.09733, allocations: 0.571 MB / 458.2 MB, free: 0.9297 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004269/0.09776, allocations: 414.5 kB / 458.6 MB, free: 0.5234 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006169/0.09839, allocations: 0.5488 MB / 459.2 MB, free: 15.97 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001172/0.09852, allocations: 68 kB / 459.2 MB, free: 15.91 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002231/0.09878, allocations: 108 kB / 459.3 MB, free: 15.8 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002517/0.09904, allocations: 263.1 kB / 459.6 MB, free: 15.54 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000449/0.0995, allocations: 0.4915 MB / 460.1 MB, free: 15.04 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009675/0.1005, allocations: 1.16 MB / 461.2 MB, free: 13.88 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.1005, allocations: 0 / 461.2 MB, free: 13.88 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1005, allocations: 0 / 461.2 MB, free: 13.88 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.107e-05/0.1005, allocations: 0 / 461.2 MB, free: 13.88 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.002302/0.1028, allocations: 1.08 MB / 462.3 MB, free: 12.75 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.1029, allocations: 13.16 kB / 462.3 MB, free: 12.74 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001723/0.1031, allocations: 95.81 kB / 462.4 MB, free: 12.64 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007508/0.1038, allocations: 0.5074 MB / 462.9 MB, free: 12.1 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001859/0.104, allocations: 171.5 kB / 463.1 MB, free: 11.91 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001437/0.1042, allocations: 84.27 kB / 463.2 MB, free: 11.83 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002077/0.1062, allocations: 1.022 MB / 464.2 MB, free: 10.8 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.504e-05/0.1063, allocations: 4 kB / 464.2 MB, free: 10.8 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.29e-05/0.1064, allocations: 32 kB / 464.2 MB, free: 10.77 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.015e-05/0.1064, allocations: 20 kB / 464.3 MB, free: 10.75 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001929/0.1083, allocations: 0.9135 MB / 465.2 MB, free: 9.832 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006521/0.1149, allocations: 3.598 MB / 468.8 MB, free: 6.152 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001753/0.1166, allocations: 0.9089 MB / 469.7 MB, free: 5.234 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001109/0.1178, allocations: 0.6057 MB / 470.3 MB, free: 4.629 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001718/0.118, allocations: 93.75 kB / 470.4 MB, free: 4.516 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.118, allocations: 43.16 kB / 470.4 MB, free: 4.465 MB / 330.7 MB Notification: Performance of pre-optimization done (n=78): time 2.494e-06/0.118, allocations: 4 kB / 470.4 MB, free: 4.461 MB / 330.7 MB Notification: Performance of matching and sorting (n=82): time 0.007119/0.1251, allocations: 3.112 MB / 473.5 MB, free: 1.305 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.557e-05/0.1252, allocations: 60.06 kB / 473.6 MB, free: 1.23 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005518/0.1258, allocations: 0.4904 MB / 474.1 MB, free: 0.7305 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.417e-05/0.1258, allocations: 41.7 kB / 474.1 MB, free: 0.6836 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002144/0.1261, allocations: 325.8 kB / 474.4 MB, free: 368 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002279/0.1263, allocations: 303.6 kB / 474.7 MB, free: 60 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.34e-05/0.1264, allocations: 16 kB / 474.8 MB, free: 44 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001982/0.1266, allocations: 382.7 kB / 475.1 MB, free: 15.66 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001114/0.1277, allocations: 0.5531 MB / 475.7 MB, free: 15.1 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001128/0.1288, allocations: 0.6165 MB / 476.3 MB, free: 14.45 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01371/0.1425, allocations: 3.346 MB / 479.6 MB, free: 11.08 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.1426, allocations: 0 / 479.6 MB, free: 11.08 MB / 346.7 MB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002601/0.1452, allocations: 1.305 MB / 480.9 MB, free: 9.77 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/0.1453, allocations: 4 kB / 481 MB, free: 9.766 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.1453, allocations: 4 kB / 481 MB, free: 9.762 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.198e-05/0.1453, allocations: 8 kB / 481 MB, free: 9.754 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008608/0.1539, allocations: 1.51 MB / 482.5 MB, free: 8.242 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007999/0.1547, allocations: 1.191 MB / 483.7 MB, free: 7.004 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008924/0.1557, allocations: 87.98 kB / 483.8 MB, free: 6.918 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001198/0.1558, allocations: 35.98 kB / 483.8 MB, free: 6.883 MB / 346.7 MB Warning: Assuming fixed start value for the following 7 variables: HnoTank.Ec:VARIABLE(flow=false fixed = true ) type: Real H.Ec:VARIABLE(flow=false fixed = true ) type: Real HnoTank.Tfo:VARIABLE(min = 0.0 start = HnoTank.Tstart unit = "K" fixed = true nominal = 300.0 ) "outlet fluid temp" 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: 10 * 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 (111): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006218/0.1564, allocations: 255.5 kB / 484 MB, free: 6.625 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001532/0.1566, allocations: 67.16 kB / 484.1 MB, free: 6.559 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002591/0.1592, allocations: 1.224 MB / 485.3 MB, free: 5.324 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/0.1592, allocations: 11.94 kB / 485.3 MB, free: 5.312 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.1592, allocations: 0 / 485.3 MB, free: 5.312 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.1592, allocations: 3.984 kB / 485.3 MB, free: 5.309 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004645/0.1639, allocations: 2.414 MB / 487.8 MB, free: 2.824 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/0.1639, allocations: 4 kB / 487.8 MB, free: 2.82 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008634/0.1726, allocations: 1.483 MB / 489.2 MB, free: 1.336 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.358e-05/0.1726, allocations: 4 kB / 489.2 MB, free: 1.332 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002007/0.1728, allocations: 27.98 kB / 489.3 MB, free: 1.305 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007442/0.1736, allocations: 1.188 MB / 490.5 MB, free: 72 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.1736, allocations: 3.984 kB / 490.5 MB, free: 68 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003894/0.1775, allocations: 1.841 MB / 492.3 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00026/0.1778, allocations: 140.5 kB / 492.4 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001647/0.178, allocations: 20 kB / 492.5 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007655/0.1787, allocations: 95.81 kB / 492.6 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002459/0.179, allocations: 100.4 kB / 492.7 MB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.372e-05/0.1791, allocations: 23.98 kB / 492.7 MB, free: 13.8 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004325/0.1795, allocations: 358.9 kB / 493 MB, free: 13.46 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1795, allocations: 0 / 493 MB, free: 13.46 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006704/0.1802, allocations: 228 kB / 493.3 MB, free: 13.23 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 17 (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],tubeNoTank.T[1],tubeNoTank.T[2],tubeNoTank.T[3],tubeNoTank.T[4],tubeNoTank.T[5],HnoTank.Tfo,HnoTank.Ec) * 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 simulation (82): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002226/0.1804, allocations: 135.1 kB / 493.4 MB, free: 13.09 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004865/0.1853, allocations: 1.437 MB / 494.8 MB, free: 11.65 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.1853, allocations: 0 / 494.8 MB, free: 11.65 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003521/0.1888, allocations: 0.8511 MB / 495.7 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001102/0.19, allocations: 163.3 kB / 495.8 MB, free: 10.64 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00595/0.1959, allocations: 3.29 MB / 499.1 MB, free: 7.312 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004492/0.1964, allocations: 0.9584 MB / 0.4884 GB, free: 6.328 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0007556/0.1972, allocations: 177.8 kB / 0.4885 GB, free: 6.152 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003327/0.1975, allocations: 63.42 kB / 0.4886 GB, free: 6.09 MB / 362.7 MB Notification: Performance of SimCode: time 2.255e-06/0.1975, allocations: 0 / 0.4886 GB, free: 6.09 MB / 362.7 MB Notification: Performance of Templates: time 0.02091/0.2184, allocations: 11.08 MB / 0.4994 GB, free: 11.04 MB / 378.7 MB make -j1 -f AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_002.makefile (rm -f AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_002.pipe ; mkfifo AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_002.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_002.pipe >> ../files/AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_002.sim & ./AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_002 -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_002.pipe 2>&1)