Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_001.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 114.8 kB / 16.42 MB, free: 6.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 186.7 kB / 17.35 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.309/1.309, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09191/0.09191, allocations: 22.33 MB / 313.5 MB, free: 8.875 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.00125, allocations: 59.91 kB / 437.7 MB, free: 11.77 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1327, allocations: 54.96 MB / 492.7 MB, free: 4.762 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_001): time 0.006729/0.1394, allocations: 3.175 MB / 495.9 MB, free: 1.559 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00298/0.1424, allocations: 0.9041 MB / 496.8 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003294/0.1428, allocations: 4 kB / 496.8 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003222/0.1432, allocations: 67.3 kB / 496.8 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006687/0.1439, allocations: 178.7 kB / 497 MB, free: 412 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009066/0.1448, allocations: 191.7 kB / 497.2 MB, free: 220 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001347/0.1462, allocations: 0.7483 MB / 497.9 MB, free: 15.46 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001085/0.1473, allocations: 437.8 kB / 498.4 MB, free: 15.03 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006437/0.1479, allocations: 311.1 kB / 498.7 MB, free: 14.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009502/0.1489, allocations: 394.6 kB / 499.1 MB, free: 14.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000254/0.1492, allocations: 76 kB / 499.1 MB, free: 14.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002832/0.1495, allocations: 80 kB / 499.2 MB, free: 14.19 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003392/0.1498, allocations: 199.5 kB / 499.4 MB, free: 13.99 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006726/0.1505, allocations: 342.5 kB / 499.7 MB, free: 13.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001303/0.1518, allocations: 0.7939 MB / 0.4888 GB, free: 12.86 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.1519, allocations: 0 / 0.4888 GB, free: 12.86 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1519, allocations: 0 / 0.4888 GB, free: 12.86 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.249e-05/0.1519, allocations: 0 / 0.4888 GB, free: 12.86 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.003415/0.1553, allocations: 0.9077 MB / 0.4897 GB, free: 11.9 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.1554, allocations: 8.031 kB / 0.4897 GB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002184/0.1556, allocations: 68.56 kB / 0.4898 GB, free: 11.83 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00085/0.1565, allocations: 396.3 kB / 0.4901 GB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002024/0.1567, allocations: 112.9 kB / 0.4902 GB, free: 11.29 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001851/0.1569, allocations: 60.31 kB / 0.4903 GB, free: 11.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002686/0.1596, allocations: 0.6858 MB / 0.491 GB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.436e-05/0.1597, allocations: 0 / 0.491 GB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001029/0.1598, allocations: 20 kB / 0.491 GB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.824e-05/0.1598, allocations: 15.94 kB / 0.491 GB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002731/0.1626, allocations: 0.5972 MB / 0.4916 GB, free: 9.902 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009071/0.1717, allocations: 2.575 MB / 0.4941 GB, free: 7.254 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002068/0.1738, allocations: 0.5369 MB / 0.4946 GB, free: 6.711 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001536/0.1753, allocations: 401.4 kB / 0.495 GB, free: 6.316 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.067e-05/0.1754, allocations: 8.312 kB / 0.495 GB, free: 6.309 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.373e-05/0.1755, allocations: 39.03 kB / 0.4951 GB, free: 6.262 MB / 382.1 MB Notification: Performance of pre-optimization done (n=46): time 3.837e-06/0.1755, allocations: 3.938 kB / 0.4951 GB, free: 6.258 MB / 382.1 MB Notification: Performance of matching and sorting (n=50): time 0.009865/0.1854, allocations: 2.165 MB / 0.4972 GB, free: 4.043 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.133e-05/0.1854, allocations: 59.84 kB / 0.4972 GB, free: 3.973 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006701/0.1861, allocations: 361.6 kB / 0.4976 GB, free: 3.609 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.399e-05/0.1862, allocations: 37.7 kB / 0.4976 GB, free: 3.566 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002291/0.1865, allocations: 233.3 kB / 0.4978 GB, free: 3.336 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002458/0.1867, allocations: 194.3 kB / 0.498 GB, free: 3.145 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000305/0.1871, allocations: 90.23 kB / 0.4981 GB, free: 3.051 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002032/0.1873, allocations: 358.8 kB / 0.4985 GB, free: 2.691 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001555/0.1888, allocations: 366.7 kB / 0.4988 GB, free: 2.332 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001581/0.1904, allocations: 415.9 kB / 0.4992 GB, free: 1.902 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2201/0.4106, allocations: 1.974 MB / 0.5011 GB, free: 22.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.4106, allocations: 0.7188 kB / 0.5011 GB, free: 22.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001883/0.4125, allocations: 0.8473 MB / 0.502 GB, free: 22.05 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.4125, allocations: 5.656 kB / 0.502 GB, free: 22.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.4126, allocations: 0.6562 kB / 0.502 GB, free: 22.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.234e-05/0.4126, allocations: 5.812 kB / 0.502 GB, free: 22.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00542/0.418, allocations: 0.9001 MB / 0.5028 GB, free: 22.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.35e-05/0.418, allocations: 4.344 kB / 0.5028 GB, free: 22.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005999/0.4186, allocations: 55.28 kB / 0.5029 GB, free: 22.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.943e-05/0.4187, allocations: 24.19 kB / 0.5029 GB, free: 22.05 MB / 382.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 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 (66): * Single equations (assignments): 66 * 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.0003041/0.419, allocations: 201.8 kB / 0.5031 GB, free: 21.93 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.713e-05/0.4191, allocations: 49.36 kB / 0.5032 GB, free: 21.93 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001851/0.421, allocations: 0.8132 MB / 0.504 GB, free: 21.89 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.421, allocations: 6.531 kB / 0.504 GB, free: 21.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.421, allocations: 0.7031 kB / 0.504 GB, free: 21.89 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.593e-05/0.4211, allocations: 118 kB / 0.5041 GB, free: 21.79 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.702e-05/0.4212, allocations: 16.78 kB / 0.5041 GB, free: 21.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004986/0.4217, allocations: 52.41 kB / 0.5041 GB, free: 21.79 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001871/0.4219, allocations: 72.92 kB / 0.5042 GB, free: 21.79 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005962/0.4279, allocations: 1.476 MB / 0.5057 GB, free: 21.68 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002585/0.4305, allocations: 1.336 MB / 0.507 GB, free: 21.45 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007816/0.4313, allocations: 385.9 kB / 0.5073 GB, free: 21.45 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002449/0.4315, allocations: 260.4 kB / 0.5076 GB, free: 21.36 MB / 382.1 MB Notification: Performance of Backend: time 2.61e-07/0.4315, allocations: 1.375 kB / 0.5076 GB, free: 21.36 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001353/0.4329, allocations: 0.5416 MB / 0.5081 GB, free: 21.3 MB / 382.1 MB Notification: Performance of SimCode: time 0.001837/0.4347, allocations: 1.798 MB / 0.5099 GB, free: 20.09 MB / 382.1 MB Notification: Performance of Templates: time 0.0152/0.4499, allocations: 9.798 MB / 0.5194 GB, free: 17.44 MB / 382.1 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 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_Transport.Stratified_storage_tank_case_001.pipe 2>&1)