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.008599/0.008599, allocations: 174.9 kB / 15.12 MB, free: 5.973 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.75/1.75, allocations: 194.5 MB / 210.3 MB, free: 7.551 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.001924/0.001924, allocations: 128.6 kB / 255.6 MB, free: 10.15 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1954/0.1954, allocations: 40.02 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000385/0.000385, allocations: 10.22 kB / 406.2 MB, free: 51.82 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1092, allocations: 54.87 MB / 461 MB, free: 3.336 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7862/0.8955, allocations: 297.2 MB / 0.7405 GB, free: 130.8 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003028/0.8959, allocations: 89.78 kB / 0.7406 GB, free: 130.8 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2808/1.177, allocations: 151.1 MB / 0.8881 GB, free: 18.52 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.064e-06/1.177, allocations: 0 / 0.8881 GB, free: 18.52 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.339e-05/1.177, allocations: 20 kB / 0.8882 GB, free: 18.5 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.002286/1.179, allocations: 1.136 MB / 0.8893 GB, free: 17.31 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/1.179, allocations: 8.031 kB / 0.8893 GB, free: 17.3 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004504/1.18, allocations: 122.8 kB / 0.8894 GB, free: 17.18 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001181/1.181, allocations: 0.6349 MB / 0.89 GB, free: 16.5 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001443/1.181, allocations: 252.2 kB / 0.8902 GB, free: 16.22 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/1.181, allocations: 80 kB / 0.8903 GB, free: 16.14 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001603/1.183, allocations: 1.27 MB / 0.8916 GB, free: 14.74 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.502e-05/1.183, allocations: 7.938 kB / 0.8916 GB, free: 14.73 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.885e-05/1.183, allocations: 36 kB / 0.8916 GB, free: 14.7 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.093e-05/1.183, allocations: 45.19 kB / 0.8916 GB, free: 14.65 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00127/1.184, allocations: 0.926 MB / 0.8926 GB, free: 13.73 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005006/1.189, allocations: 6.537 MB / 0.8989 GB, free: 6.832 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003731/1.19, allocations: 284.4 kB / 0.8992 GB, free: 6.539 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0021/1.192, allocations: 3.035 MB / 0.9022 GB, free: 2.961 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.862e-05/1.192, allocations: 38.52 kB / 0.9022 GB, free: 2.914 MB / 490.7 MB Notification: Performance of pre-optimization done (n=19): time 1.533e-06/1.192, allocations: 4 kB / 0.9022 GB, free: 2.91 MB / 490.7 MB Notification: Performance of matching and sorting (n=25): time 0.001622/1.193, allocations: 0.9043 MB / 0.9031 GB, free: 1.953 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.957e-05/1.193, allocations: 63.34 kB / 0.9032 GB, free: 1.879 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000691/1.194, allocations: 0.7027 MB / 0.9038 GB, free: 1.172 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.476e-05/1.194, allocations: 33.7 kB / 0.9039 GB, free: 1.133 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000239/1.194, allocations: 0.6239 MB / 0.9045 GB, free: 0.4961 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.161e-05/1.194, allocations: 110.7 kB / 0.9046 GB, free: 396 kB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.061e-05/1.194, allocations: 24 kB / 0.9046 GB, free: 372 kB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.2021/1.397, allocations: 391.8 kB / 0.905 GB, free: 112.8 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005957/1.397, allocations: 227.2 kB / 0.9052 GB, free: 112.8 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007392/1.398, allocations: 1.047 MB / 0.9062 GB, free: 111.8 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006074/1.399, allocations: 445.8 kB / 0.9066 GB, free: 111.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.235e-05/1.399, allocations: 9.75 kB / 0.9067 GB, free: 111.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.002383/1.401, allocations: 1.234 MB / 0.9079 GB, free: 111.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.001e-05/1.401, allocations: 22.38 kB / 0.9079 GB, free: 111.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.244e-05/1.401, allocations: 29.19 kB / 0.9079 GB, free: 111.7 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.877e-05/1.401, allocations: 42.03 kB / 0.908 GB, free: 111.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007768/1.402, allocations: 298.3 kB / 0.9082 GB, free: 111.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.193e-05/1.402, allocations: 59.2 kB / 0.9083 GB, free: 111.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008606/1.403, allocations: 74.16 kB / 0.9084 GB, free: 111.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001146/1.403, allocations: 75.72 kB / 0.9084 GB, free: 111.7 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 () * Number of clocked 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.0005218/1.403, allocations: 346.5 kB / 0.9088 GB, free: 111.6 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001385/1.404, allocations: 78.09 kB / 0.9088 GB, free: 111.6 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007662/1.404, allocations: 341.1 kB / 0.9092 GB, free: 111.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.386e-05/1.404, allocations: 3.312 kB / 0.9092 GB, free: 111.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/1.404, allocations: 5.922 kB / 0.9092 GB, free: 111.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.431e-06/1.404, allocations: 1.156 kB / 0.9092 GB, free: 111.6 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001569/1.406, allocations: 0.8905 MB / 0.91 GB, free: 111.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/1.406, allocations: 4.156 kB / 0.9101 GB, free: 111.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000271/1.406, allocations: 57.28 kB / 0.9101 GB, free: 111.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.591e-06/1.406, allocations: 0.9688 kB / 0.9101 GB, free: 111.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.28e-05/1.406, allocations: 9.953 kB / 0.9101 GB, free: 111.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.951e-06/1.406, allocations: 2.375 kB / 0.9101 GB, free: 111.2 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/1.406, allocations: 2.484 kB / 0.9101 GB, free: 111.2 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007036/1.407, allocations: 0.5424 MB / 0.9106 GB, free: 111 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002638/1.407, allocations: 177.4 kB / 0.9108 GB, free: 110.9 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.077e-05/1.407, allocations: 16.14 kB / 0.9108 GB, free: 110.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003116/1.408, allocations: 13.12 kB / 0.9108 GB, free: 110.9 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.172e-05/1.408, allocations: 17.7 kB / 0.9109 GB, free: 110.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.519e-05/1.408, allocations: 17.62 kB / 0.9109 GB, free: 110.9 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006432/1.408, allocations: 0.492 MB / 0.9114 GB, free: 110.9 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.252e-06/1.408, allocations: 0 / 0.9114 GB, free: 110.9 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001456/1.41, allocations: 287.7 kB / 0.9116 GB, free: 110.9 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 () * Number of clocked 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.0008146/1.411, allocations: 384 kB / 0.912 GB, free: 110.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001152/1.412, allocations: 0.6205 MB / 0.9126 GB, free: 110.7 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.284e-06/1.412, allocations: 4.281 kB / 0.9126 GB, free: 110.7 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001633/1.412, allocations: 106.8 kB / 0.9127 GB, free: 110.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001172/1.413, allocations: 241.6 kB / 0.9129 GB, free: 110.7 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002283/1.416, allocations: 1.69 MB / 0.9146 GB, free: 110 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005596/1.416, allocations: 1.008 MB / 0.9156 GB, free: 109.3 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001022/1.417, allocations: 289.6 kB / 0.9159 GB, free: 109.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001249/1.417, allocations: 68.66 kB / 0.9159 GB, free: 109.3 MB / 490.7 MB Notification: Performance of SimCode: time 8.32e-07/1.417, allocations: 0 / 0.9159 GB, free: 109.3 MB / 490.7 MB Notification: Performance of Templates: time 0.02153/1.439, allocations: 11.63 MB / 0.9273 GB, free: 109 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)