Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Devel_test_models.Test_expansion_vessel_isoT_001.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Running command: translateModel(AES.Devel_test_models.Test_expansion_vessel_isoT_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_expansion_vessel_isoT_001") translateModel(AES.Devel_test_models.Test_expansion_vessel_isoT_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_expansion_vessel_isoT_001") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HC_SS_case_001.mo:3:1-67:19:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HC_case_001.mo:3:1-55:16:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HNcontrol_HC_SS_case_002.mo:3:1-91:29:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HNcontrol_HC_SS_case_001.mo:3:1-85:29:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.155/0.155, allocations: 21.46 MB / 36.42 MB, free: 1.172 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001023/0.001023, allocations: 182.7 kB / 42.65 MB, free: 3.992 MB / 33.03 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.568/1.568, allocations: 205.4 MB / 254.1 MB, free: 15.27 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007806/0.0007805, allocations: 92.42 kB / 307.8 MB, free: 11.08 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003093/0.0003094, allocations: 7.75 kB / 373.3 MB, free: 59.05 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1024, allocations: 52.96 MB / 426.2 MB, free: 13 MB / 298.7 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_expansion_vessel_isoT_001): time 0.002659/0.1051, allocations: 3.021 MB / 429.2 MB, free: 9.965 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001351/0.1064, allocations: 1.025 MB / 430.3 MB, free: 8.93 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001565/0.1066, allocations: 7.938 kB / 430.3 MB, free: 8.922 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001839/0.1068, allocations: 71.45 kB / 430.3 MB, free: 8.852 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003854/0.1072, allocations: 262.5 kB / 430.6 MB, free: 8.594 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003305/0.1075, allocations: 123.8 kB / 430.7 MB, free: 8.473 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007672/0.1083, allocations: 1.283 MB / 432 MB, free: 7.188 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006397/0.109, allocations: 0.6215 MB / 432.6 MB, free: 6.559 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00036/0.1093, allocations: 362.9 kB / 433 MB, free: 6.203 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005154/0.1099, allocations: 0.5219 MB / 433.5 MB, free: 5.68 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.501e-05/0.11, allocations: 52 kB / 433.6 MB, free: 5.629 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002043/0.1102, allocations: 83.97 kB / 433.6 MB, free: 5.547 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001952/0.1104, allocations: 315.1 kB / 433.9 MB, free: 5.238 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001349/0.1105, allocations: 185.3 kB / 434.1 MB, free: 5.051 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007337/0.1113, allocations: 1.149 MB / 435.3 MB, free: 3.898 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.263e-06/0.1113, allocations: 0 / 435.3 MB, free: 3.898 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.1113, allocations: 0 / 435.3 MB, free: 3.898 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.158e-05/0.1113, allocations: 0 / 435.3 MB, free: 3.898 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.002071/0.1134, allocations: 1.15 MB / 436.4 MB, free: 2.699 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.1134, allocations: 8.031 kB / 436.4 MB, free: 2.691 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001527/0.1136, allocations: 83.06 kB / 436.5 MB, free: 2.609 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006339/0.1142, allocations: 0.5454 MB / 437.1 MB, free: 2.02 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.548e-05/0.1143, allocations: 54 kB / 437.1 MB, free: 1.969 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001144/0.1144, allocations: 79.84 kB / 437.2 MB, free: 1.891 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001285/0.1157, allocations: 0.8741 MB / 438.1 MB, free: 1.008 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.1157, allocations: 0 / 438.1 MB, free: 1.008 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.662e-05/0.1158, allocations: 36 kB / 438.1 MB, free: 0.9727 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.214e-05/0.1158, allocations: 16 kB / 438.1 MB, free: 0.957 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001008/0.1168, allocations: 0.7613 MB / 438.9 MB, free: 200 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004809/0.1217, allocations: 3.68 MB / 442.6 MB, free: 12.19 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002644/0.1243, allocations: 1.024 MB / 443.6 MB, free: 11.15 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006335/0.125, allocations: 434.5 kB / 444 MB, free: 10.73 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001791/0.1252, allocations: 97.58 kB / 444.1 MB, free: 10.61 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.314e-05/0.1252, allocations: 43.12 kB / 444.1 MB, free: 10.56 MB / 314.7 MB Notification: Performance of pre-optimization done (n=60): time 3.616e-06/0.1252, allocations: 0 / 444.1 MB, free: 10.56 MB / 314.7 MB Notification: Performance of matching and sorting (n=60): time 0.00409/0.1293, allocations: 2.288 MB / 446.4 MB, free: 8.094 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.769e-05/0.1294, allocations: 71.84 kB / 446.5 MB, free: 8.012 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005327/0.13, allocations: 413.5 kB / 446.9 MB, free: 7.602 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.66e-05/0.13, allocations: 37.7 kB / 446.9 MB, free: 7.559 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002114/0.1302, allocations: 300.3 kB / 447.2 MB, free: 7.258 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002058/0.1305, allocations: 236.6 kB / 447.5 MB, free: 7.023 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.935e-05/0.1305, allocations: 16 kB / 447.5 MB, free: 7.008 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.1307, allocations: 362.8 kB / 447.8 MB, free: 6.645 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006595/0.1313, allocations: 429.8 kB / 448.3 MB, free: 6.227 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006228/0.132, allocations: 440.8 kB / 448.7 MB, free: 5.797 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007166/0.1327, allocations: 0.495 MB / 449.2 MB, free: 5.301 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.1327, allocations: 0 / 449.2 MB, free: 5.301 MB / 314.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002307/0.135, allocations: 1.323 MB / 450.5 MB, free: 3.949 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.657e-05/0.135, allocations: 6.812 kB / 450.5 MB, free: 3.945 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.1351, allocations: 0 / 450.5 MB, free: 3.945 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000967/0.136, allocations: 330.7 kB / 450.8 MB, free: 3.598 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008555/0.1369, allocations: 179.8 kB / 451 MB, free: 3.422 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008773/0.1457, allocations: 11.56 MB / 462.6 MB, free: 6.793 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008667/0.1466, allocations: 79.42 kB / 462.6 MB, free: 6.715 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000106/0.1467, allocations: 16 kB / 462.7 MB, free: 6.699 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(2,100.0%) 2,(2,100.0%) 2,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005916/0.1473, allocations: 273.8 kB / 462.9 MB, free: 6.422 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001857/0.1475, allocations: 55.3 kB / 463 MB, free: 6.367 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002381/0.1499, allocations: 1.211 MB / 464.2 MB, free: 5.125 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/0.1499, allocations: 8 kB / 464.2 MB, free: 5.117 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.1499, allocations: 0 / 464.2 MB, free: 5.117 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.15, allocations: 4 kB / 464.2 MB, free: 5.113 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001347/0.1513, allocations: 0.9657 MB / 465.2 MB, free: 4.098 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.1513, allocations: 0 / 465.2 MB, free: 4.098 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009618/0.1523, allocations: 159.8 kB / 465.3 MB, free: 3.941 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008499/0.1531, allocations: 330.6 kB / 465.6 MB, free: 3.594 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.259e-05/0.1532, allocations: 35.98 kB / 465.7 MB, free: 3.559 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009326/0.1626, allocations: 11.56 MB / 477.2 MB, free: 6.938 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.1626, allocations: 0 / 477.2 MB, free: 6.938 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003292/0.1659, allocations: 1.675 MB / 478.9 MB, free: 5.223 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002509/0.1662, allocations: 140.4 kB / 479.1 MB, free: 5.066 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001573/0.1664, allocations: 31.98 kB / 479.1 MB, free: 5.035 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005585/0.1669, allocations: 43.8 kB / 479.1 MB, free: 4.992 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001842/0.1671, allocations: 60.44 kB / 479.2 MB, free: 4.93 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.432e-05/0.1672, allocations: 16 kB / 479.2 MB, free: 4.914 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003801/0.1676, allocations: 291.1 kB / 479.5 MB, free: 4.629 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.1676, allocations: 0 / 479.5 MB, free: 4.629 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001107/0.1687, allocations: 287.4 kB / 479.8 MB, free: 4.348 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 21 (tube01.fluidStream.T[1],tube01.fluidStream.T[2],tube01.fluidStream.T[3],tube01.fluidStream.T[4],tube01.fluidStream.T[5],tube01.wall.wall.T[1,1],tube01.wall.wall.T[1,2],tube01.wall.wall.T[1,3],tube01.wall.wall.T[2,1],tube01.wall.wall.T[2,2],tube01.wall.wall.T[2,3],tube01.wall.wall.T[3,1],tube01.wall.wall.T[3,2],tube01.wall.wall.T[3,3],tube01.wall.wall.T[4,1],tube01.wall.wall.T[4,2],tube01.wall.wall.T[4,3],tube01.wall.wall.T[5,1],tube01.wall.wall.T[5,2],tube01.wall.wall.T[5,3],ev.lfrac) * 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): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 2,(2,100.0%) 2,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002816/0.169, allocations: 149.3 kB / 479.9 MB, free: 4.195 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002738/0.1717, allocations: 1.898 MB / 481.8 MB, free: 2.195 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.1718, allocations: 3.938 kB / 481.8 MB, free: 2.191 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001681/0.1735, allocations: 1.403 MB / 483.2 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009032/0.1744, allocations: 165.5 kB / 483.4 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005125/0.1795, allocations: 3.456 MB / 486.8 MB, free: 13.04 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006858/0.1802, allocations: 1.009 MB / 487.8 MB, free: 12 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000594/0.1808, allocations: 168.6 kB / 488 MB, free: 11.84 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002222/0.1811, allocations: 39.44 kB / 488 MB, free: 11.8 MB / 362.7 MB Notification: Performance of SimCode: time 7.61e-07/0.1811, allocations: 3.938 kB / 488 MB, free: 11.8 MB / 362.7 MB Notification: Performance of Templates: time 0.02114/0.2022, allocations: 12.27 MB / 0.4886 GB, free: 15.52 MB / 378.7 MB make -j1 -f AES_AES.Devel_test_models.Test_expansion_vessel_isoT_001.makefile (rm -f AES_AES.Devel_test_models.Test_expansion_vessel_isoT_001.pipe ; mkfifo AES_AES.Devel_test_models.Test_expansion_vessel_isoT_001.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_expansion_vessel_isoT_001.pipe >> ../files/AES_AES.Devel_test_models.Test_expansion_vessel_isoT_001.sim & ./AES_AES.Devel_test_models.Test_expansion_vessel_isoT_001 -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > AES_AES.Devel_test_models.Test_expansion_vessel_isoT_001.pipe 2>&1)