Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization") translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00338/0.00338, allocations: 186 kB / 7.458 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.529/1.529, allocations: 194.2 MB / 202.1 MB, free: 8.652 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002001/0.002001, allocations: 117.5 kB / 247.1 MB, free: 6.402 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.207/0.207, allocations: 39.93 MB / 331.9 MB, free: 4.957 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 9.107e-06/9.147e-06, allocations: 0 / 392.8 MB, free: 75.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1176, allocations: 54.87 MB / 447.7 MB, free: 21 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8893/1.007, allocations: 401 MB / 0.8287 GB, free: 12 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003971/1.008, allocations: 82.2 kB / 0.8288 GB, free: 11.96 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.6416/1.649, allocations: 190.2 MB / 1.015 GB, free: 16.66 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001177/1.649, allocations: 28.16 kB / 1.015 GB, free: 16.64 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.004476/1.654, allocations: 1.345 MB / 1.016 GB, free: 15.25 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/1.654, allocations: 8.031 kB / 1.016 GB, free: 15.24 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008182/1.655, allocations: 122.7 kB / 1.016 GB, free: 15.12 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002116/1.657, allocations: 0.7921 MB / 1.017 GB, free: 14.28 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001313/1.657, allocations: 96.7 kB / 1.017 GB, free: 14.18 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002819/1.657, allocations: 47.84 kB / 1.017 GB, free: 14.13 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002006/1.659, allocations: 1.089 MB / 1.018 GB, free: 13.04 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00184/1.661, allocations: 1.122 MB / 1.019 GB, free: 11.88 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.59e-05/1.661, allocations: 0 / 1.019 GB, free: 11.88 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001347/1.661, allocations: 4 kB / 1.019 GB, free: 11.87 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.632e-05/1.661, allocations: 77.94 kB / 1.019 GB, free: 11.79 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008117/1.669, allocations: 4.653 MB / 1.024 GB, free: 6.902 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007004/1.67, allocations: 470.5 kB / 1.024 GB, free: 6.438 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005148/1.671, allocations: 414.2 kB / 1.025 GB, free: 6.031 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003142/1.674, allocations: 2.542 MB / 1.027 GB, free: 3.242 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.377e-05/1.674, allocations: 43 kB / 1.027 GB, free: 3.191 MB / 474.7 MB Notification: Performance of pre-optimization done (n=50): time 3.386e-06/1.674, allocations: 0 / 1.027 GB, free: 3.191 MB / 474.7 MB Notification: Performance of matching and sorting (n=55): time 0.008564/1.683, allocations: 3.041 MB / 1.03 GB, free: 72 kB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2014/1.884, allocations: 158.7 kB / 1.03 GB, free: 135 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008378/1.885, allocations: 0.6196 MB / 1.031 GB, free: 134.8 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002198/1.885, allocations: 25.7 kB / 1.031 GB, free: 134.8 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001867/1.885, allocations: 398.1 kB / 1.031 GB, free: 134.7 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001722/1.886, allocations: 191.1 kB / 1.031 GB, free: 134.6 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.304e-05/1.886, allocations: 0 / 1.031 GB, free: 134.6 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001051/1.886, allocations: 397.2 kB / 1.032 GB, free: 134.3 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005632/1.886, allocations: 418.1 kB / 1.032 GB, free: 134.3 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006369/1.887, allocations: 0.7224 MB / 1.033 GB, free: 133.9 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007229/1.894, allocations: 1.683 MB / 1.035 GB, free: 133.9 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-05/1.894, allocations: 3.188 kB / 1.035 GB, free: 133.9 MB / 474.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.008781/1.903, allocations: 2.617 MB / 1.037 GB, free: 133.7 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009597/1.904, allocations: 3.655 MB / 1.041 GB, free: 129.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.059e-05/1.904, allocations: 10.88 kB / 1.041 GB, free: 129.9 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001076/1.905, allocations: 434.7 kB / 1.041 GB, free: 129.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007687/1.906, allocations: 195.4 kB / 1.041 GB, free: 129.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003385/1.909, allocations: 3.153 MB / 1.044 GB, free: 127.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001053/1.91, allocations: 35.97 kB / 1.044 GB, free: 127.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.913e-05/1.91, allocations: 54.72 kB / 1.044 GB, free: 127.7 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.733e-06/1.91, allocations: 3.75 kB / 1.044 GB, free: 127.7 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007254/1.918, allocations: 2.179 MB / 1.047 GB, free: 127.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/1.918, allocations: 11.75 kB / 1.047 GB, free: 127.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007306/1.918, allocations: 303.4 kB / 1.047 GB, free: 127.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007208/1.919, allocations: 196.1 kB / 1.047 GB, free: 127.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001535/1.921, allocations: 2.672 MB / 1.05 GB, free: 125.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008396/1.922, allocations: 36.91 kB / 1.05 GB, free: 125.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.594e-05/1.922, allocations: 45.92 kB / 1.05 GB, free: 125.3 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (vol1.inFlow[1],vol1.inFlow[2],vol1.regularFlow[2],vol1.regularFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 102 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 2 {2 5,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.0003597/1.922, allocations: 147.8 kB / 1.05 GB, free: 125.2 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001604/1.922, allocations: 83.78 kB / 1.05 GB, free: 125.1 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003478/1.926, allocations: 1.559 MB / 1.051 GB, free: 125 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.437e-06/1.926, allocations: 11.59 kB / 1.051 GB, free: 125 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/1.926, allocations: 7.109 kB / 1.051 GB, free: 125 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/1.926, allocations: 3.906 kB / 1.052 GB, free: 124.9 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004219/1.93, allocations: 2.391 MB / 1.054 GB, free: 124.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/1.93, allocations: 1.938 kB / 1.054 GB, free: 124.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004597/1.93, allocations: 91.16 kB / 1.054 GB, free: 124.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00093/1.931, allocations: 419.4 kB / 1.054 GB, free: 124.5 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.196e-05/1.931, allocations: 10.2 kB / 1.054 GB, free: 124.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00277/1.934, allocations: 3.106 MB / 1.057 GB, free: 122.3 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/1.934, allocations: 0 / 1.057 GB, free: 122.3 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003183/1.937, allocations: 1.948 MB / 1.059 GB, free: 121.9 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004298/1.938, allocations: 269 kB / 1.06 GB, free: 121.8 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001492/1.938, allocations: 3.844 kB / 1.06 GB, free: 121.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005886/1.939, allocations: 33.53 kB / 1.06 GB, free: 121.8 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001225/1.939, allocations: 55.14 kB / 1.06 GB, free: 121.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.513e-05/1.939, allocations: 25.88 kB / 1.06 GB, free: 121.8 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0005609/1.939, allocations: 469 kB / 1.06 GB, free: 121.7 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002596/1.942, allocations: 0.8121 MB / 1.061 GB, free: 121.7 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (vol1.medium.p,vol1.medium.T) * Number of discrete variables: 2 (vol1.inFlow[1],vol1.inFlow[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 2 {2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.005956/1.948, allocations: 0.8243 MB / 1.062 GB, free: 121.6 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00304/1.951, allocations: 1.769 MB / 1.063 GB, free: 121.4 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/1.951, allocations: 0 / 1.063 GB, free: 121.4 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009127/1.952, allocations: 0.5492 MB / 1.064 GB, free: 121.3 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001515/1.953, allocations: 299.2 kB / 1.064 GB, free: 121.3 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00358/1.957, allocations: 1.592 MB / 1.066 GB, free: 120.9 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007148/1.958, allocations: 1.183 MB / 1.067 GB, free: 120.2 MB / 474.7 MB Notification: Performance of SimCode: time 5.31e-07/1.958, allocations: 0 / 1.067 GB, free: 120.2 MB / 474.7 MB Notification: Performance of Templates: time 0.04126/1.999, allocations: 28.79 MB / 1.095 GB, free: 119.5 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe 2>&1)