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.001512/0.001512, allocations: 169.9 kB / 12.72 MB, free: 2.594 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.391/1.391, allocations: 170.6 MB / 183.8 MB, free: 11.49 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.00167/0.001671, allocations: 91.53 kB / 223.2 MB, free: 4.121 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.1829/0.1829, allocations: 38 MB / 300.4 MB, free: 5.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.684e-05/2.697e-05, allocations: 4 kB / 357 MB, free: 32.31 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09176/0.09181, allocations: 48.71 MB / 405.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7505/0.8423, allocations: 395.3 MB / 0.7822 GB, free: 2.879 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002273/0.8426, allocations: 81.08 kB / 0.7823 GB, free: 2.836 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5946/1.437, allocations: 190.9 MB / 0.9687 GB, free: 0.6133 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.613e-06/1.437, allocations: 0 / 0.9687 GB, free: 0.6133 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.306e-05/1.437, allocations: 27.92 kB / 0.9687 GB, free: 0.5859 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.204/1.641, allocations: 1.336 MB / 0.97 GB, free: 85.11 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/1.641, allocations: 10.91 kB / 0.9701 GB, free: 85.11 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005194/1.642, allocations: 117.2 kB / 0.9702 GB, free: 85.05 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00157/1.643, allocations: 0.8015 MB / 0.971 GB, free: 84.8 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001009/1.644, allocations: 118.2 kB / 0.9711 GB, free: 84.74 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001319/1.644, allocations: 64.48 kB / 0.9711 GB, free: 84.74 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001805/1.646, allocations: 1.189 MB / 0.9723 GB, free: 84.59 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.194e-05/1.646, allocations: 7.375 kB / 0.9723 GB, free: 84.59 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001032/1.646, allocations: 27.73 kB / 0.9723 GB, free: 84.59 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.557e-05/1.646, allocations: 81.88 kB / 0.9724 GB, free: 84.59 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001819/1.648, allocations: 1.158 MB / 0.9735 GB, free: 84.58 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007469/1.655, allocations: 4.774 MB / 0.9782 GB, free: 82.82 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001091/1.656, allocations: 0.6393 MB / 0.9788 GB, free: 82.8 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000552/1.657, allocations: 402.3 kB / 0.9792 GB, free: 82.79 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002999/1.66, allocations: 2.515 MB / 0.9817 GB, free: 81.45 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/1.66, allocations: 41.81 kB / 0.9817 GB, free: 81.41 MB / 442.7 MB Notification: Performance of pre-optimization done (n=51): time 2.274e-06/1.66, allocations: 1.094 kB / 0.9817 GB, free: 81.41 MB / 442.7 MB Notification: Performance of matching and sorting (n=56): time 0.004624/1.664, allocations: 2.276 MB / 0.9839 GB, free: 80.87 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.108e-05/1.665, allocations: 162 kB / 0.9841 GB, free: 80.68 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000987/1.666, allocations: 0.764 MB / 0.9848 GB, free: 80.55 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.241e-05/1.666, allocations: 40.83 kB / 0.9849 GB, free: 80.52 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002358/1.666, allocations: 483.2 kB / 0.9853 GB, free: 80.32 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001489/1.666, allocations: 203 kB / 0.9855 GB, free: 80.22 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.71e-05/1.666, allocations: 18.72 kB / 0.9855 GB, free: 80.22 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001882/1.666, allocations: 399.7 kB / 0.9859 GB, free: 79.91 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000628/1.667, allocations: 414.4 kB / 0.9863 GB, free: 79.91 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008036/1.668, allocations: 0.7176 MB / 0.987 GB, free: 79.54 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007207/1.668, allocations: 0.5026 MB / 0.9875 GB, free: 79.54 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/1.668, allocations: 2.719 kB / 0.9875 GB, free: 79.54 MB / 442.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002137/1.671, allocations: 1.488 MB / 0.989 GB, free: 79.32 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005667/1.671, allocations: 3.572 MB / 0.9924 GB, free: 75.61 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/1.671, allocations: 10.06 kB / 0.9925 GB, free: 75.61 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001499/1.673, allocations: 0.4991 MB / 0.9929 GB, free: 75.58 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006873/1.673, allocations: 196.5 kB / 0.9931 GB, free: 75.58 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001861/1.675, allocations: 2.922 MB / 0.996 GB, free: 73.29 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009606/1.676, allocations: 60.06 kB / 0.996 GB, free: 73.29 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.299e-05/1.676, allocations: 51.45 kB / 0.9961 GB, free: 73.29 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.626e-06/1.676, allocations: 3.625 kB / 0.9961 GB, free: 73.29 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001847/1.678, allocations: 1.287 MB / 0.9973 GB, free: 73.15 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/1.678, allocations: 6.969 kB / 0.9974 GB, free: 73.15 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000792/1.679, allocations: 322.8 kB / 0.9977 GB, free: 73.12 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006786/1.68, allocations: 191.6 kB / 0.9978 GB, free: 73.12 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001416/1.681, allocations: 2.69 MB / 1 GB, free: 70.84 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008829/1.682, allocations: 54.03 kB / 1.001 GB, free: 70.84 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.607e-05/1.682, allocations: 51.72 kB / 1.001 GB, free: 70.84 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 () * 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.0002871/1.683, allocations: 166.1 kB / 1.001 GB, free: 70.73 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000183/1.683, allocations: 92.83 kB / 1.001 GB, free: 70.68 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002119/1.685, allocations: 1.347 MB / 1.002 GB, free: 70.49 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-05/1.685, allocations: 7.531 kB / 1.002 GB, free: 70.49 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/1.685, allocations: 0 / 1.002 GB, free: 70.49 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/1.685, allocations: 0.7031 kB / 1.002 GB, free: 70.49 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003091/1.688, allocations: 2.293 MB / 1.004 GB, free: 70.04 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/1.688, allocations: 0 / 1.004 GB, free: 70.04 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004286/1.688, allocations: 93.25 kB / 1.004 GB, free: 70.04 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001391/1.69, allocations: 0.5003 MB / 1.005 GB, free: 70.01 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.612e-05/1.69, allocations: 17.2 kB / 1.005 GB, free: 70.01 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001715/1.692, allocations: 2.916 MB / 1.008 GB, free: 67.71 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/1.692, allocations: 2.594 kB / 1.008 GB, free: 67.71 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002082/1.694, allocations: 1.747 MB / 1.01 GB, free: 67.34 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004893/1.694, allocations: 288 kB / 1.01 GB, free: 67.2 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001251/1.694, allocations: 16.31 kB / 1.01 GB, free: 67.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005775/1.695, allocations: 44.53 kB / 1.01 GB, free: 67.2 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001323/1.695, allocations: 58.7 kB / 1.01 GB, free: 67.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.844e-05/1.695, allocations: 25.88 kB / 1.01 GB, free: 67.2 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0006457/1.696, allocations: 0.5816 MB / 1.011 GB, free: 67.1 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.61e-07/1.696, allocations: 0 / 1.011 GB, free: 67.1 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0023/1.698, allocations: 0.8579 MB / 1.011 GB, free: 67.1 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 () * 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.001541/1.7, allocations: 0.8139 MB / 1.012 GB, free: 67 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003148/1.703, allocations: 1.899 MB / 1.014 GB, free: 66.75 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/1.703, allocations: 0 / 1.014 GB, free: 66.75 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009165/1.704, allocations: 0.5677 MB / 1.015 GB, free: 66.63 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001484/1.705, allocations: 331.7 kB / 1.015 GB, free: 66.63 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002891/1.708, allocations: 1.575 MB / 1.016 GB, free: 66.29 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004504/1.709, allocations: 1.082 MB / 1.017 GB, free: 65.59 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001548/1.71, allocations: 487.2 kB / 1.018 GB, free: 65.57 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002021/1.71, allocations: 82.7 kB / 1.018 GB, free: 65.56 MB / 442.7 MB Notification: Performance of SimCode: time 1.713e-06/1.71, allocations: 0 / 1.018 GB, free: 65.56 MB / 442.7 MB Notification: Performance of Templates: time 0.03374/1.744, allocations: 27.41 MB / 1.045 GB, free: 64.57 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)