Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.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.TestMixingVolumes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes") translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001701/0.001702, allocations: 181.3 kB / 12.74 MB, free: 2.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.851/1.851, allocations: 194.3 MB / 207.5 MB, free: 3.461 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.001758/0.001758, allocations: 118.8 kB / 252.6 MB, free: 4.812 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.2592/0.2592, allocations: 39.93 MB / 337.5 MB, free: 484 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.255e-05/4.258e-05, allocations: 7.984 kB / 400.3 MB, free: 69.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1337, allocations: 54.86 MB / 455.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.102/1.235, allocations: 297.1 MB / 0.7347 GB, free: 132 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002936/1.236, allocations: 86.39 kB / 0.7347 GB, free: 131.9 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6483/1.884, allocations: 150.5 MB / 0.8817 GB, free: 120.2 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.194e-06/1.884, allocations: 1.375 kB / 0.8817 GB, free: 120.2 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.2e-05/1.884, allocations: 25.44 kB / 0.8818 GB, free: 120.2 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.002577/1.887, allocations: 1.063 MB / 0.8828 GB, free: 119.8 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.611e-05/1.887, allocations: 10.03 kB / 0.8828 GB, free: 119.8 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005253/1.887, allocations: 124.2 kB / 0.8829 GB, free: 119.7 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001393/1.889, allocations: 0.6274 MB / 0.8835 GB, free: 119.5 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002211/1.889, allocations: 249.7 kB / 0.8838 GB, free: 119.3 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001556/1.889, allocations: 83.44 kB / 0.8839 GB, free: 119.3 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002166/1.891, allocations: 1.256 MB / 0.8851 GB, free: 118.9 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.193e-05/1.891, allocations: 4.5 kB / 0.8851 GB, free: 118.9 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001099/1.891, allocations: 47.3 kB / 0.8851 GB, free: 118.9 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.908e-05/1.892, allocations: 46.31 kB / 0.8852 GB, free: 118.9 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001759/1.893, allocations: 0.9068 MB / 0.8861 GB, free: 118.9 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006641/1.9, allocations: 6.521 MB / 0.8924 GB, free: 114.4 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004546/1.9, allocations: 277.8 kB / 0.8927 GB, free: 114.4 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002564/1.901, allocations: 151.9 kB / 0.8928 GB, free: 114.4 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002886/1.904, allocations: 3.095 MB / 0.8959 GB, free: 111.5 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/1.904, allocations: 41.14 kB / 0.8959 GB, free: 111.4 MB / 490.7 MB Notification: Performance of pre-optimization done (n=19): time 2.855e-06/1.904, allocations: 1.281 kB / 0.8959 GB, free: 111.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=25): time 0.001929/1.906, allocations: 0.8572 MB / 0.8967 GB, free: 111 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.664e-05/1.906, allocations: 59.12 kB / 0.8968 GB, free: 111 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009968/1.907, allocations: 0.6991 MB / 0.8975 GB, free: 110.8 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.287e-05/1.907, allocations: 31.42 kB / 0.8975 GB, free: 110.8 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003713/1.907, allocations: 0.6282 MB / 0.8981 GB, free: 110.4 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.51e-05/1.907, allocations: 111.6 kB / 0.8982 GB, free: 110.3 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-05/1.907, allocations: 27.44 kB / 0.8983 GB, free: 110.3 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000146/1.907, allocations: 390.2 kB / 0.8986 GB, free: 110 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003639/1.908, allocations: 216.5 kB / 0.8988 GB, free: 110 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001/1.909, allocations: 1.033 MB / 0.8998 GB, free: 108.9 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006999/1.909, allocations: 461.8 kB / 0.9003 GB, free: 108.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.408e-05/1.91, allocations: 10.84 kB / 0.9003 GB, free: 108.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.001716/1.911, allocations: 1.218 MB / 0.9015 GB, free: 108.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.425e-05/1.911, allocations: 18.69 kB / 0.9015 GB, free: 108.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.858e-05/1.911, allocations: 30.72 kB / 0.9015 GB, free: 108.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.598e-05/1.911, allocations: 41.94 kB / 0.9016 GB, free: 108.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007439/1.912, allocations: 296.9 kB / 0.9019 GB, free: 108.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.397e-05/1.912, allocations: 66.84 kB / 0.9019 GB, free: 108.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008486/1.913, allocations: 70.23 kB / 0.902 GB, free: 108.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.689e-05/1.913, allocations: 78.69 kB / 0.9021 GB, free: 108.8 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 135 * Number of states: 0 () * Number of discrete variables: 12 (mixingVolume1.regularFlow[1],mixingVolume1.regularFlow[2],mixingVolume1.regularFlow[3],mixingVolume2.regularFlow[1],mixingVolume2.regularFlow[2],mixingVolume2.regularFlow[3],mixingVolume2.inFlow[3],mixingVolume2.inFlow[2],mixingVolume2.inFlow[1],mixingVolume1.inFlow[3],mixingVolume1.inFlow[2],mixingVolume1.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (163): * Single equations (assignments): 163 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002053/1.913, allocations: 214.4 kB / 0.9023 GB, free: 108.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/1.913, allocations: 80.61 kB / 0.9023 GB, free: 108.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006212/1.914, allocations: 338.4 kB / 0.9027 GB, free: 108.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.708e-06/1.914, allocations: 3.875 kB / 0.9027 GB, free: 108.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/1.914, allocations: 3.031 kB / 0.9027 GB, free: 108.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/1.914, allocations: 7.297 kB / 0.9027 GB, free: 108.6 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001283/1.915, allocations: 0.8923 MB / 0.9035 GB, free: 108.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/1.915, allocations: 0 / 0.9035 GB, free: 108.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000231/1.916, allocations: 61.06 kB / 0.9036 GB, free: 108.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.682e-06/1.916, allocations: 0 / 0.9036 GB, free: 108.3 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.058e-05/1.916, allocations: 7.344 kB / 0.9036 GB, free: 108.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/1.916, allocations: 0.75 kB / 0.9036 GB, free: 108.3 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/1.916, allocations: 7.375 kB / 0.9036 GB, free: 108.3 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006125/1.916, allocations: 0.5373 MB / 0.9041 GB, free: 108.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002216/1.917, allocations: 172.4 kB / 0.9043 GB, free: 107.9 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.892e-05/1.917, allocations: 10.31 kB / 0.9043 GB, free: 107.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002983/1.917, allocations: 17.47 kB / 0.9043 GB, free: 107.9 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.699e-05/1.917, allocations: 20.23 kB / 0.9044 GB, free: 107.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-05/1.917, allocations: 14.66 kB / 0.9044 GB, free: 107.9 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0005523/1.918, allocations: 0.4887 MB / 0.9048 GB, free: 107.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.7e-07/1.918, allocations: 0 / 0.9048 GB, free: 107.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001365/1.919, allocations: 284.3 kB / 0.9051 GB, free: 107.8 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (mixingVolume1.medium.T,mixingVolume2.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 27 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007965/1.92, allocations: 383 kB / 0.9055 GB, free: 107.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0009604/1.921, allocations: 0.6028 MB / 0.9061 GB, free: 107.7 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/1.921, allocations: 3.969 kB / 0.9061 GB, free: 107.7 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001302/1.921, allocations: 105.2 kB / 0.9062 GB, free: 107.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0011/1.922, allocations: 253 kB / 0.9064 GB, free: 107.7 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001807/1.924, allocations: 1.013 MB / 0.9074 GB, free: 107.4 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005023/1.924, allocations: 1.009 MB / 0.9084 GB, free: 106.7 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0009043/1.925, allocations: 281.1 kB / 0.9087 GB, free: 106.7 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001123/1.925, allocations: 71.83 kB / 0.9087 GB, free: 106.7 MB / 490.7 MB Notification: Performance of SimCode: time 7.11e-07/1.925, allocations: 0 / 0.9087 GB, free: 106.7 MB / 490.7 MB Notification: Performance of Templates: time 0.02498/1.95, allocations: 11.97 MB / 0.9204 GB, free: 106.1 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1)