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.0953/0.0953, allocations: 21.6 MB / 37.4 MB, free: 0.7695 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.001137/0.001137, allocations: 188.5 kB / 43.63 MB, free: 3.578 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.453/1.453, allocations: 205.1 MB / 254.8 MB, free: 14.31 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.001074/0.001074, allocations: 103.7 kB / 307.5 MB, free: 11.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001517, allocations: 54.78 kB / 372.3 MB, free: 59.5 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09103/0.09258, allocations: 51.97 MB / 424.3 MB, free: 14.52 MB / 298.7 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_expansion_vessel_isoT_001): time 0.004101/0.09672, allocations: 3.569 MB / 427.9 MB, free: 10.93 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00206/0.09882, allocations: 1.076 MB / 428.9 MB, free: 9.844 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004722/0.09932, allocations: 11.94 kB / 429 MB, free: 9.832 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00034/0.09967, allocations: 71.47 kB / 429 MB, free: 9.762 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007154/0.1004, allocations: 258.6 kB / 429.3 MB, free: 9.508 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005871/0.101, allocations: 151.9 kB / 429.4 MB, free: 9.359 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001229/0.1023, allocations: 1.501 MB / 430.9 MB, free: 7.855 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009204/0.1032, allocations: 0.7329 MB / 431.7 MB, free: 7.109 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006298/0.1038, allocations: 394.8 kB / 432 MB, free: 6.723 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008619/0.1047, allocations: 0.5647 MB / 432.6 MB, free: 6.156 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002248/0.105, allocations: 71.98 kB / 432.7 MB, free: 6.086 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003161/0.1053, allocations: 95.97 kB / 432.8 MB, free: 5.992 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002528/0.1055, allocations: 331 kB / 433.1 MB, free: 5.668 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004456/0.106, allocations: 477.9 kB / 433.6 MB, free: 5.199 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008241/0.1068, allocations: 1.398 MB / 435 MB, free: 3.797 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.1068, allocations: 0 / 435 MB, free: 3.797 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.153e-06/0.1068, allocations: 0 / 435 MB, free: 3.797 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.928e-06/0.1069, allocations: 0 / 435 MB, free: 3.797 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.002222/0.1091, allocations: 1.283 MB / 436.2 MB, free: 2.465 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.1091, allocations: 12.03 kB / 436.3 MB, free: 2.453 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001499/0.1093, allocations: 84 kB / 436.3 MB, free: 2.371 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006999/0.11, allocations: 0.5659 MB / 436.9 MB, free: 1.766 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.026e-05/0.11, allocations: 46.38 kB / 437 MB, free: 1.723 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001111/0.1102, allocations: 80.22 kB / 437 MB, free: 1.645 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001133/0.1113, allocations: 0.8978 MB / 437.9 MB, free: 0.7383 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.1113, allocations: 0 / 437.9 MB, free: 0.7383 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.669e-05/0.1114, allocations: 32 kB / 438 MB, free: 0.707 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.304e-05/0.1114, allocations: 16 kB / 438 MB, free: 0.6914 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001051/0.1125, allocations: 0.7769 MB / 438.8 MB, free: 15.91 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004498/0.117, allocations: 3.66 MB / 442.4 MB, free: 11.92 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002539/0.1195, allocations: 1.024 MB / 443.4 MB, free: 10.89 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006174/0.1202, allocations: 442.4 kB / 443.9 MB, free: 10.45 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001777/0.1204, allocations: 93.66 kB / 444 MB, free: 10.34 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.427e-05/0.1204, allocations: 47.14 kB / 444 MB, free: 10.29 MB / 314.7 MB Notification: Performance of pre-optimization done (n=60): time 3.036e-06/0.1204, allocations: 0 / 444 MB, free: 10.29 MB / 314.7 MB Notification: Performance of matching and sorting (n=60): time 0.004317/0.1247, allocations: 2.327 MB / 446.3 MB, free: 7.781 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.751e-05/0.1248, allocations: 55.97 kB / 446.4 MB, free: 7.715 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004956/0.1253, allocations: 425.8 kB / 446.8 MB, free: 7.297 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.376e-05/0.1254, allocations: 37.7 kB / 446.8 MB, free: 7.254 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001855/0.1256, allocations: 304.4 kB / 447.1 MB, free: 6.949 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002142/0.1258, allocations: 244.5 kB / 447.4 MB, free: 6.707 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002232/0.126, allocations: 118.6 kB / 447.5 MB, free: 6.582 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.1262, allocations: 374.7 kB / 447.9 MB, free: 6.207 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006014/0.1268, allocations: 429.8 kB / 448.3 MB, free: 5.789 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005939/0.1274, allocations: 444.8 kB / 448.7 MB, free: 5.355 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001233/0.1286, allocations: 0.9246 MB / 449.6 MB, free: 4.426 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.1286, allocations: 4 kB / 449.6 MB, free: 4.422 MB / 314.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00233/0.131, allocations: 1.358 MB / 451 MB, free: 3.035 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.131, allocations: 8 kB / 451 MB, free: 3.027 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.198e-06/0.131, allocations: 3.984 kB / 451 MB, free: 3.023 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001054/0.1321, allocations: 346.6 kB / 451.4 MB, free: 2.66 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007993/0.1329, allocations: 183.8 kB / 451.5 MB, free: 2.48 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008622/0.1415, allocations: 11.94 MB / 463.5 MB, free: 5.438 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007215/0.1423, allocations: 75.48 kB / 463.5 MB, free: 5.363 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-05/0.1423, allocations: 27.98 kB / 463.6 MB, free: 5.336 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 (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (2,2,100.0%), (2,2,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004484/0.1428, allocations: 265.7 kB / 463.8 MB, free: 5.066 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/0.1429, allocations: 55.34 kB / 463.9 MB, free: 5.012 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002194/0.1451, allocations: 1.219 MB / 465.1 MB, free: 3.754 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.1451, allocations: 8 kB / 465.1 MB, free: 3.746 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.1451, allocations: 0 / 465.1 MB, free: 3.746 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.1451, allocations: 0 / 465.1 MB, free: 3.746 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001124/0.1463, allocations: 0.9657 MB / 466.1 MB, free: 2.73 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.1463, allocations: 4 kB / 466.1 MB, free: 2.727 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009151/0.1472, allocations: 171.8 kB / 466.2 MB, free: 2.559 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007934/0.148, allocations: 334.5 kB / 466.6 MB, free: 2.207 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.215e-05/0.1481, allocations: 31.98 kB / 466.6 MB, free: 2.176 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008262/0.1564, allocations: 11.52 MB / 478.1 MB, free: 5.598 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.1564, allocations: 0 / 478.1 MB, free: 5.598 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02723/0.1836, allocations: 22.27 MB / 0.4887 GB, free: 14.02 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001235/0.1838, allocations: 152.3 kB / 0.4888 GB, free: 13.85 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.838e-05/0.1839, allocations: 24 kB / 0.4888 GB, free: 13.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004424/0.1844, allocations: 43.86 kB / 0.4889 GB, free: 13.78 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002056/0.1846, allocations: 52.47 kB / 0.4889 GB, free: 13.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.684e-05/0.1846, allocations: 20.09 kB / 0.4889 GB, free: 13.71 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003197/0.185, allocations: 295.3 kB / 0.4892 GB, free: 13.41 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.185, allocations: 0 / 0.4892 GB, free: 13.41 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001241/0.1862, allocations: 451.3 kB / 0.4897 GB, free: 12.97 MB / 378.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 (50): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000223/0.1864, allocations: 137.4 kB / 0.4898 GB, free: 12.82 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002335/0.1888, allocations: 1.898 MB / 0.4916 GB, free: 10.83 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.1888, allocations: 0 / 0.4916 GB, free: 10.83 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001435/0.1902, allocations: 1.403 MB / 0.493 GB, free: 9.324 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007051/0.191, allocations: 177.2 kB / 0.4932 GB, free: 9.148 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005856/0.1968, allocations: 4.669 MB / 0.4977 GB, free: 4.34 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005696/0.1974, allocations: 1.033 MB / 0.4987 GB, free: 3.281 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005935/0.198, allocations: 192.6 kB / 0.4989 GB, free: 3.094 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002432/0.1983, allocations: 47.44 kB / 0.499 GB, free: 3.047 MB / 378.7 MB Notification: Performance of SimCode: time 4.31e-07/0.1983, allocations: 0 / 0.499 GB, free: 3.047 MB / 378.7 MB Notification: Performance of Templates: time 0.1862/0.3845, allocations: 19.26 MB / 0.5178 GB, free: 75.05 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 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_expansion_vessel_isoT_001.pipe 2>&1)