Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization") translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.008918/0.008918, allocations: 164.9 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.617/1.617, allocations: 170.8 MB / 186.6 MB, free: 1.125 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001652/0.001652, allocations: 118.5 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3497/0.3497, allocations: 38.05 MB / 303.7 MB, free: 42.29 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004155/0.0004156, allocations: 12 kB / 362.9 MB, free: 5.566 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1255, allocations: 48.7 MB / 411.6 MB, free: 4.785 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.124/1.249, allocations: 395.4 MB / 0.788 GB, free: 142.8 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002679/1.25, allocations: 88.66 kB / 0.7881 GB, free: 142.8 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6894/1.939, allocations: 191.5 MB / 0.9751 GB, free: 79.45 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.455e-06/1.939, allocations: 2.688 kB / 0.9751 GB, free: 79.45 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001101/1.939, allocations: 35.41 kB / 0.9751 GB, free: 79.45 MB / 442.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.004527/1.944, allocations: 1.45 MB / 0.9765 GB, free: 78.73 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/1.944, allocations: 9.906 kB / 0.9766 GB, free: 78.73 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004939/1.945, allocations: 124.6 kB / 0.9767 GB, free: 78.68 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001637/1.946, allocations: 0.7962 MB / 0.9775 GB, free: 78.43 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001133/1.946, allocations: 119.4 kB / 0.9776 GB, free: 78.36 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001213/1.946, allocations: 66.5 kB / 0.9776 GB, free: 78.36 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001808/1.948, allocations: 1.208 MB / 0.9788 GB, free: 78.21 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.17e-05/1.948, allocations: 10.12 kB / 0.9788 GB, free: 78.21 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001131/1.948, allocations: 29.39 kB / 0.9788 GB, free: 78.21 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.76e-05/1.948, allocations: 78.83 kB / 0.9789 GB, free: 78.21 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001796/1.95, allocations: 1.189 MB / 0.9801 GB, free: 78.2 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00837/1.959, allocations: 4.773 MB / 0.9847 GB, free: 76.39 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001119/1.96, allocations: 0.6538 MB / 0.9854 GB, free: 76.37 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003344/1.963, allocations: 2.465 MB / 0.9878 GB, free: 75 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.354e-05/1.963, allocations: 38.09 kB / 0.9878 GB, free: 74.96 MB / 442.7 MB Notification: Performance of pre-optimization done (n=51): time 3.246e-06/1.963, allocations: 0 / 0.9878 GB, free: 74.96 MB / 442.7 MB Notification: Performance of matching and sorting (n=56): time 0.00694/1.97, allocations: 2.903 MB / 0.9907 GB, free: 74.21 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.583e-05/1.97, allocations: 161.2 kB / 0.9908 GB, free: 74.03 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001248/1.972, allocations: 0.785 MB / 0.9916 GB, free: 73.88 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.879e-05/1.972, allocations: 35.92 kB / 0.9916 GB, free: 73.85 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003259/1.972, allocations: 482.3 kB / 0.9921 GB, free: 73.62 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001776/1.972, allocations: 203.6 kB / 0.9923 GB, free: 73.5 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.624e-05/1.972, allocations: 16.84 kB / 0.9923 GB, free: 73.5 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000156/1.972, allocations: 396.6 kB / 0.9927 GB, free: 73.18 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007323/1.973, allocations: 433.1 kB / 0.9931 GB, free: 73.18 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008893/1.974, allocations: 0.7296 MB / 0.9938 GB, free: 72.81 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008805/1.975, allocations: 0.5015 MB / 0.9943 GB, free: 72.8 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.682e-06/1.975, allocations: 2.188 kB / 0.9943 GB, free: 72.8 MB / 442.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002656/1.978, allocations: 1.508 MB / 0.9958 GB, free: 72.6 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007368/1.978, allocations: 3.569 MB / 0.9992 GB, free: 68.88 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.29e-05/1.978, allocations: 11.41 kB / 0.9992 GB, free: 68.88 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001737/1.98, allocations: 0.5152 MB / 0.9998 GB, free: 68.86 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008541/1.981, allocations: 196.7 kB / 0.9999 GB, free: 68.86 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002214/1.983, allocations: 2.918 MB / 1.003 GB, free: 66.56 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001169/1.984, allocations: 68.12 kB / 1.003 GB, free: 66.55 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001248/1.985, allocations: 53.33 kB / 1.003 GB, free: 66.55 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/1.985, allocations: 3.656 kB / 1.003 GB, free: 66.55 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002293/1.987, allocations: 1.295 MB / 1.004 GB, free: 66.42 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.496e-05/1.987, allocations: 8.969 kB / 1.004 GB, free: 66.42 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008975/1.988, allocations: 321.4 kB / 1.004 GB, free: 66.39 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000729/1.989, allocations: 200.8 kB / 1.005 GB, free: 66.39 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001555/1.99, allocations: 2.7 MB / 1.007 GB, free: 64.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009903/1.991, allocations: 58.44 kB / 1.007 GB, free: 64.1 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001061/1.991, allocations: 46.91 kB / 1.007 GB, free: 64.1 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 () * Number of clocked 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.0007764/1.992, allocations: 377.6 kB / 1.008 GB, free: 63.9 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001996/1.992, allocations: 93.77 kB / 1.008 GB, free: 63.85 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002438/1.995, allocations: 1.348 MB / 1.009 GB, free: 63.65 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.22e-05/1.995, allocations: 7.031 kB / 1.009 GB, free: 63.65 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/1.995, allocations: 1.188 kB / 1.009 GB, free: 63.65 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.456e-06/1.995, allocations: 3.375 kB / 1.009 GB, free: 63.65 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003382/1.998, allocations: 2.307 MB / 1.011 GB, free: 63.2 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/1.998, allocations: 0 / 1.011 GB, free: 63.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004692/1.999, allocations: 89.61 kB / 1.012 GB, free: 63.2 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001487/2, allocations: 0.5118 MB / 1.012 GB, free: 63.17 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-05/2, allocations: 25.55 kB / 1.012 GB, free: 63.17 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001883/2.002, allocations: 2.915 MB / 1.015 GB, free: 60.87 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/2.002, allocations: 7.766 kB / 1.015 GB, free: 60.86 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002461/2.005, allocations: 1.763 MB / 1.017 GB, free: 60.38 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007045/2.005, allocations: 285.7 kB / 1.017 GB, free: 60.18 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000123/2.005, allocations: 10.91 kB / 1.017 GB, free: 60.17 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000615/2.006, allocations: 47.45 kB / 1.017 GB, free: 60.16 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001421/2.006, allocations: 58.77 kB / 1.017 GB, free: 60.15 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.751e-05/2.006, allocations: 23.7 kB / 1.017 GB, free: 60.14 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008192/2.007, allocations: 0.597 MB / 1.018 GB, free: 59.9 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.2e-07/2.007, allocations: 0 / 1.018 GB, free: 59.9 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003297/2.01, allocations: 0.8657 MB / 1.018 GB, free: 59.68 MB / 442.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 () * Number of clocked 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.002405/2.013, allocations: 0.8161 MB / 1.019 GB, free: 59.41 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003795/2.017, allocations: 1.893 MB / 1.021 GB, free: 58.69 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.825e-06/2.017, allocations: 6.797 kB / 1.021 GB, free: 58.69 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001039/2.018, allocations: 0.5725 MB / 1.022 GB, free: 58.43 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001783/2.02, allocations: 333.3 kB / 1.022 GB, free: 58.36 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004305/2.024, allocations: 2.363 MB / 1.024 GB, free: 57.26 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000528/2.024, allocations: 1.082 MB / 1.025 GB, free: 56.52 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001429/2.026, allocations: 418.3 kB / 1.026 GB, free: 56.5 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002221/2.026, allocations: 83.19 kB / 1.026 GB, free: 56.5 MB / 442.7 MB Notification: Performance of SimCode: time 1.403e-06/2.026, allocations: 0 / 1.026 GB, free: 56.5 MB / 442.7 MB Notification: Performance of Templates: time 0.04265/2.069, allocations: 25.74 MB / 1.051 GB, free: 54.71 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization.pipe 2>&1)