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.002011/0.002011, allocations: 181.6 kB / 7.651 MB, free: 1.402 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.592/1.592, allocations: 194.3 MB / 202.4 MB, free: 8.547 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.001632/0.001632, allocations: 111.6 kB / 247.4 MB, free: 6.223 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.2077/0.2077, allocations: 39.94 MB / 332.2 MB, free: 4.785 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.651e-05/1.654e-05, allocations: 7.984 kB / 393.3 MB, free: 75.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.114, allocations: 54.87 MB / 448.2 MB, free: 20.66 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.953/1.067, allocations: 296.5 MB / 0.7272 GB, free: 112.6 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000252/1.067, allocations: 88.56 kB / 0.7273 GB, free: 112.6 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5445/1.612, allocations: 149 MB / 0.8728 GB, free: 117.5 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.273e-06/1.612, allocations: 0 / 0.8728 GB, free: 117.5 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.49e-05/1.612, allocations: 23.25 kB / 0.8728 GB, free: 117.5 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: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.002013/1.614, allocations: 1.069 MB / 0.8739 GB, free: 117 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/1.614, allocations: 18.3 kB / 0.8739 GB, free: 117 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004274/1.615, allocations: 110.7 kB / 0.874 GB, free: 117 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001003/1.616, allocations: 0.6243 MB / 0.8746 GB, free: 116.7 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001564/1.616, allocations: 220.9 kB / 0.8748 GB, free: 116.6 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001142/1.616, allocations: 52.5 kB / 0.8749 GB, free: 116.6 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001141/1.617, allocations: 0.7962 MB / 0.8756 GB, free: 116.5 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001392/1.618, allocations: 1.132 MB / 0.8767 GB, free: 116.2 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.862e-05/1.618, allocations: 11.22 kB / 0.8767 GB, free: 116.2 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.113e-05/1.619, allocations: 9.609 kB / 0.8768 GB, free: 116.2 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-05/1.619, allocations: 44.94 kB / 0.8768 GB, free: 116.2 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004881/1.624, allocations: 6.727 MB / 0.8834 GB, free: 111.4 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002787/1.624, allocations: 242.1 kB / 0.8836 GB, free: 111.3 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001495/1.624, allocations: 123.1 kB / 0.8837 GB, free: 111.3 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001853/1.626, allocations: 2.724 MB / 0.8864 GB, free: 108.7 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.063e-05/1.626, allocations: 38.77 kB / 0.8864 GB, free: 108.7 MB / 474.7 MB Notification: Performance of pre-optimization done (n=19): time 1.302e-06/1.626, allocations: 0 / 0.8864 GB, free: 108.7 MB / 474.7 MB Notification: Performance of matching and sorting (n=25): time 0.001515/1.627, allocations: 0.8085 MB / 0.8872 GB, free: 108.3 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.248e-05/1.627, allocations: 55.12 kB / 0.8873 GB, free: 108.2 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005864/1.628, allocations: 0.6533 MB / 0.8879 GB, free: 108.1 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.276e-05/1.628, allocations: 31.83 kB / 0.8879 GB, free: 108 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002685/1.628, allocations: 0.6209 MB / 0.8885 GB, free: 107.6 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.005e-05/1.628, allocations: 109.6 kB / 0.8886 GB, free: 107.6 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.669e-05/1.628, allocations: 0 / 0.8886 GB, free: 107.6 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001053/1.629, allocations: 388.2 kB / 0.889 GB, free: 107.3 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002477/1.629, allocations: 196.2 kB / 0.8892 GB, free: 107.3 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005937/1.629, allocations: 1 MB / 0.8902 GB, free: 106.2 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005642/1.63, allocations: 435.6 kB / 0.8906 GB, free: 106.2 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.708e-06/1.63, allocations: 10.09 kB / 0.8906 GB, free: 106.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.001387/1.631, allocations: 1.049 MB / 0.8916 GB, free: 106.1 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.468e-05/1.631, allocations: 26.36 kB / 0.8916 GB, free: 106.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.24e-05/1.631, allocations: 28.62 kB / 0.8917 GB, free: 106.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.324e-05/1.631, allocations: 46.91 kB / 0.8917 GB, free: 106.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000655/1.632, allocations: 295.3 kB / 0.892 GB, free: 106.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.277e-05/1.632, allocations: 62.55 kB / 0.8921 GB, free: 106.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005957/1.633, allocations: 52.56 kB / 0.8921 GB, free: 106.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.473e-05/1.633, allocations: 75.91 kB / 0.8922 GB, free: 106.1 MB / 474.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.0001418/1.633, allocations: 187.5 kB / 0.8924 GB, free: 105.9 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.887e-05/1.633, allocations: 75.28 kB / 0.8924 GB, free: 105.9 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006246/1.634, allocations: 317.2 kB / 0.8927 GB, free: 105.8 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/1.634, allocations: 7.594 kB / 0.8927 GB, free: 105.8 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/1.634, allocations: 0 / 0.8927 GB, free: 105.8 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/1.634, allocations: 3.188 kB / 0.8927 GB, free: 105.8 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009839/1.635, allocations: 0.8173 MB / 0.8935 GB, free: 105.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/1.635, allocations: 0 / 0.8935 GB, free: 105.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000216/1.635, allocations: 56.69 kB / 0.8936 GB, free: 105.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/1.635, allocations: 7.609 kB / 0.8936 GB, free: 105.5 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.64e-05/1.635, allocations: 7.219 kB / 0.8936 GB, free: 105.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.125e-06/1.635, allocations: 7.844 kB / 0.8936 GB, free: 105.5 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/1.635, allocations: 3 kB / 0.8936 GB, free: 105.5 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005925/1.636, allocations: 0.5156 MB / 0.8941 GB, free: 105.3 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001655/1.636, allocations: 176.4 kB / 0.8943 GB, free: 105.2 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.74e-05/1.636, allocations: 3.938 kB / 0.8943 GB, free: 105.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002932/1.636, allocations: 14.23 kB / 0.8943 GB, free: 105.1 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.007e-05/1.636, allocations: 27.62 kB / 0.8943 GB, free: 105.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.937e-05/1.636, allocations: 18.62 kB / 0.8944 GB, free: 105.1 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0004146/1.637, allocations: 444.5 kB / 0.8948 GB, free: 105.1 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.7e-07/1.637, allocations: 0 / 0.8948 GB, free: 105.1 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.000993/1.638, allocations: 250.7 kB / 0.895 GB, free: 105 MB / 474.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.000653/1.638, allocations: 372.6 kB / 0.8954 GB, free: 104.9 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0006316/1.639, allocations: 0.5329 MB / 0.8959 GB, free: 104.8 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/1.639, allocations: 3.562 kB / 0.8959 GB, free: 104.8 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001156/1.639, allocations: 103 kB / 0.896 GB, free: 104.8 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001074/1.64, allocations: 254.3 kB / 0.8962 GB, free: 104.8 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001399/1.642, allocations: 0.9917 MB / 0.8972 GB, free: 104.5 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004056/1.642, allocations: 1.001 MB / 0.8982 GB, free: 103.8 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0007833/1.643, allocations: 288.9 kB / 0.8985 GB, free: 103.8 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.403e-05/1.643, allocations: 68.2 kB / 0.8985 GB, free: 103.8 MB / 474.7 MB Notification: Performance of SimCode: time 2.51e-07/1.643, allocations: 2.156 kB / 0.8985 GB, free: 103.8 MB / 474.7 MB Notification: Performance of Templates: time 0.01546/1.658, allocations: 10.5 MB / 0.9088 GB, free: 103 MB / 474.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)