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 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 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.09842/0.09842, allocations: 21.62 MB / 36.56 MB, free: 1.078 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 187.1 kB / 42.83 MB, free: 3.781 MB / 33.03 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.272/1.272, allocations: 223.2 MB / 272.2 MB, free: 1.375 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008503/0.0008504, allocations: 96.31 kB / 328.7 MB, free: 11.72 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002642/0.0002642, allocations: 12 kB / 397 MB, free: 46.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09941/0.09969, allocations: 55.82 MB / 452.9 MB, free: 6.637 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3353/0.435, allocations: 83.97 MB / 0.5242 GB, free: 13.07 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000193/0.4353, allocations: 69.53 kB / 0.5243 GB, free: 13.07 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02795/0.4632, allocations: 12.74 MB / 0.5368 GB, free: 8.336 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.4633, allocations: 0 / 0.5368 GB, free: 8.336 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.388e-05/0.4633, allocations: 19.81 kB / 0.5368 GB, free: 8.332 MB / 362.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.001814/0.4651, allocations: 1.11 MB / 0.5379 GB, free: 7.598 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/0.4652, allocations: 11.66 kB / 0.5379 GB, free: 7.594 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001446/0.4653, allocations: 89.41 kB / 0.538 GB, free: 7.551 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008774/0.4662, allocations: 0.6019 MB / 0.5385 GB, free: 7.203 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.088e-05/0.4662, allocations: 48.62 kB / 0.5386 GB, free: 7.199 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001128/0.4664, allocations: 74.41 kB / 0.5387 GB, free: 7.199 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001297/0.4677, allocations: 1.008 MB / 0.5396 GB, free: 6.891 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.4677, allocations: 0 / 0.5396 GB, free: 6.891 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.568e-05/0.4678, allocations: 36.73 kB / 0.5397 GB, free: 6.883 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.198e-05/0.4678, allocations: 15.22 kB / 0.5397 GB, free: 6.883 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001038/0.4688, allocations: 0.7767 MB / 0.5404 GB, free: 6.777 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00372/0.4726, allocations: 3.699 MB / 0.5441 GB, free: 4.355 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002379/0.475, allocations: 1.032 MB / 0.5451 GB, free: 4.168 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.414e-05/0.475, allocations: 8.25 kB / 0.5451 GB, free: 4.168 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.805e-05/0.475, allocations: 45.28 kB / 0.5451 GB, free: 4.125 MB / 362.7 MB Notification: Performance of pre-optimization done (n=60): time 2.354e-06/0.475, allocations: 0 / 0.5451 GB, free: 4.125 MB / 362.7 MB Notification: Performance of matching and sorting (n=60): time 0.003629/0.4787, allocations: 2.361 MB / 0.5474 GB, free: 2.938 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.528e-05/0.4787, allocations: 59.66 kB / 0.5475 GB, free: 2.871 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003611/0.4791, allocations: 371.5 kB / 0.5478 GB, free: 2.73 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.4e-05/0.4791, allocations: 36.55 kB / 0.5479 GB, free: 2.699 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001171/0.4793, allocations: 308.3 kB / 0.5482 GB, free: 2.504 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001375/0.4794, allocations: 242.1 kB / 0.5484 GB, free: 2.328 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.456e-05/0.4795, allocations: 18.25 kB / 0.5484 GB, free: 2.324 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.123e-05/0.4795, allocations: 367.7 kB / 0.5488 GB, free: 1.996 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005289/0.4801, allocations: 429.7 kB / 0.5492 GB, free: 1.945 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005588/0.4806, allocations: 440.9 kB / 0.5496 GB, free: 1.891 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005973/0.4812, allocations: 0.504 MB / 0.5501 GB, free: 1.844 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.4813, allocations: 3.938 kB / 0.5501 GB, free: 1.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002084/0.4833, allocations: 1.361 MB / 0.5514 GB, free: 1.246 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.045e-05/0.4834, allocations: 106.1 kB / 0.5515 GB, free: 1.137 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.4834, allocations: 0 / 0.5515 GB, free: 1.137 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001049/0.4845, allocations: 351.9 kB / 0.5519 GB, free: 0.8398 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001285/0.4858, allocations: 226.8 kB / 0.5521 GB, free: 0.6211 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009172/0.4949, allocations: 12.62 MB / 0.5644 GB, free: 3.922 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009239/0.4959, allocations: 78.73 kB / 0.5645 GB, free: 3.855 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.018e-05/0.496, allocations: 26.09 kB / 0.5645 GB, free: 3.836 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.496, allocations: 4 kB / 0.5645 GB, free: 3.832 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002453/0.4985, allocations: 1.289 MB / 0.5658 GB, free: 2.973 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.4985, allocations: 4 kB / 0.5658 GB, free: 2.969 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009926/0.4995, allocations: 354 kB / 0.5661 GB, free: 2.668 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009889/0.5005, allocations: 206.2 kB / 0.5663 GB, free: 2.473 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009507/0.51, allocations: 13.34 MB / 0.5793 GB, free: 4.984 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000702/0.5107, allocations: 76.28 kB / 0.5794 GB, free: 4.918 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.07e-05/0.5108, allocations: 25.48 kB / 0.5794 GB, free: 4.898 MB / 394.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 (75): * 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): 1 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.0004966/0.5113, allocations: 354.4 kB / 0.5798 GB, free: 4.617 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001427/0.5115, allocations: 51.44 kB / 0.5798 GB, free: 4.566 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002189/0.5137, allocations: 1.206 MB / 0.581 GB, free: 3.605 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.765e-05/0.5137, allocations: 8 kB / 0.581 GB, free: 3.598 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.5137, allocations: 4 kB / 0.581 GB, free: 3.594 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.5137, allocations: 7.922 kB / 0.581 GB, free: 3.586 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001158/0.5149, allocations: 0.9567 MB / 0.5819 GB, free: 2.59 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.5149, allocations: 0 / 0.5819 GB, free: 2.59 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001126/0.516, allocations: 183.8 kB / 0.5821 GB, free: 2.41 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008058/0.5168, allocations: 310.7 kB / 0.5824 GB, free: 2.082 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.961e-05/0.5169, allocations: 35.92 kB / 0.5824 GB, free: 2.047 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008415/0.5254, allocations: 11.58 MB / 0.5938 GB, free: 5.406 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.5254, allocations: 0 / 0.5938 GB, free: 5.406 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002988/0.5284, allocations: 1.649 MB / 0.5954 GB, free: 3.719 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002373/0.5286, allocations: 144.3 kB / 0.5955 GB, free: 3.559 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001618/0.5288, allocations: 35.94 kB / 0.5955 GB, free: 3.523 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005114/0.5293, allocations: 47.8 kB / 0.5956 GB, free: 3.477 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001584/0.5295, allocations: 56.42 kB / 0.5956 GB, free: 3.422 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.261e-05/0.5296, allocations: 19.98 kB / 0.5957 GB, free: 3.402 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003681/0.5299, allocations: 291.2 kB / 0.5959 GB, free: 3.113 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5299, allocations: 0 / 0.5959 GB, free: 3.113 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001436/0.5314, allocations: 0.4949 MB / 0.5964 GB, free: 2.617 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 22 (tube01.fluidStream.w,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 (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.0002208/0.5316, allocations: 158.5 kB / 0.5966 GB, free: 2.457 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005093/0.5367, allocations: 3.506 MB / 0.6 GB, free: 14.75 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.5367, allocations: 0 / 0.6 GB, free: 14.75 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001586/0.5383, allocations: 1.422 MB / 0.6014 GB, free: 13.22 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006685/0.539, allocations: 153.4 kB / 0.6015 GB, free: 13.07 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004925/0.544, allocations: 3.572 MB / 0.605 GB, free: 9.484 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007449/0.5447, allocations: 1.04 MB / 0.606 GB, free: 8.422 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0008278/0.5456, allocations: 264.4 kB / 0.6063 GB, free: 8.164 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001977/0.5458, allocations: 47.42 kB / 0.6063 GB, free: 8.117 MB / 426.7 MB Notification: Performance of SimCode: time 5.51e-07/0.5458, allocations: 4 kB / 0.6063 GB, free: 8.113 MB / 426.7 MB Notification: Performance of Templates: time 0.02202/0.5678, allocations: 14.91 MB / 0.6209 GB, free: 9.371 MB / 442.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)