Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.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.TestMixingVolumes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes") translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.009062/0.009062, allocations: 166.5 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.497/1.497, allocations: 170.8 MB / 186.6 MB, free: 0.9688 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.001684/0.001684, allocations: 114.6 kB / 226.2 MB, free: 10.09 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.307/0.307, allocations: 38.06 MB / 303.7 MB, free: 42.55 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003949/0.0003956, allocations: 12 kB / 362.9 MB, free: 5.59 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.125, allocations: 48.7 MB / 411.6 MB, free: 4.805 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7934/0.9184, allocations: 290.8 MB / 0.6859 GB, free: 54.97 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002032/0.9187, allocations: 91.66 kB / 0.686 GB, free: 54.93 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5427/1.461, allocations: 151.1 MB / 0.8336 GB, free: 76.88 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.683e-06/1.461, allocations: 0 / 0.8336 GB, free: 76.88 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.28e-05/1.461, allocations: 20 kB / 0.8336 GB, free: 76.86 MB / 426.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.003262/1.465, allocations: 1.138 MB / 0.8347 GB, free: 75.68 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.153e-05/1.465, allocations: 8.031 kB / 0.8347 GB, free: 75.67 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007918/1.466, allocations: 118.9 kB / 0.8348 GB, free: 75.55 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001568/1.467, allocations: 0.6418 MB / 0.8354 GB, free: 74.88 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001954/1.467, allocations: 240.2 kB / 0.8357 GB, free: 74.61 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002647/1.468, allocations: 80 kB / 0.8357 GB, free: 74.54 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002239/1.47, allocations: 1.272 MB / 0.837 GB, free: 73.13 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.175e-05/1.47, allocations: 11.92 kB / 0.837 GB, free: 73.12 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001503/1.47, allocations: 40 kB / 0.837 GB, free: 73.08 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.921e-05/1.47, allocations: 37.25 kB / 0.8371 GB, free: 73.05 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001442/1.472, allocations: 0.9308 MB / 0.838 GB, free: 72.11 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006078/1.478, allocations: 6.54 MB / 0.8444 GB, free: 65.26 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004077/1.478, allocations: 285.6 kB / 0.8446 GB, free: 64.97 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002393/1.481, allocations: 3.034 MB / 0.8476 GB, free: 61.4 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/1.481, allocations: 30.56 kB / 0.8476 GB, free: 61.36 MB / 426.7 MB Notification: Performance of pre-optimization done (n=19): time 2.224e-06/1.481, allocations: 4.219 kB / 0.8476 GB, free: 61.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=25): time 0.001778/1.482, allocations: 0.9128 MB / 0.8485 GB, free: 60.39 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.003e-05/1.482, allocations: 63.34 kB / 0.8486 GB, free: 60.32 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007216/1.483, allocations: 0.7013 MB / 0.8493 GB, free: 59.62 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.252e-05/1.483, allocations: 33.7 kB / 0.8493 GB, free: 59.58 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002761/1.484, allocations: 0.6271 MB / 0.8499 GB, free: 58.95 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.418e-05/1.484, allocations: 109.9 kB / 0.85 GB, free: 58.84 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.177e-05/1.484, allocations: 27.94 kB / 0.85 GB, free: 58.82 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.773e-05/1.484, allocations: 386.8 kB / 0.8504 GB, free: 58.43 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003258/1.484, allocations: 230.5 kB / 0.8506 GB, free: 58.21 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005864/1.485, allocations: 1.049 MB / 0.8517 GB, free: 56.75 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005279/1.485, allocations: 447.5 kB / 0.8521 GB, free: 56.31 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-05/1.485, allocations: 8 kB / 0.8521 GB, free: 56.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.001579/1.487, allocations: 1.236 MB / 0.8533 GB, free: 55.06 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/1.487, allocations: 16 kB / 0.8533 GB, free: 55.04 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.242e-05/1.487, allocations: 32 kB / 0.8533 GB, free: 55.01 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.81e-05/1.487, allocations: 44 kB / 0.8534 GB, free: 54.97 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007009/1.488, allocations: 299.4 kB / 0.8537 GB, free: 54.68 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.585e-05/1.488, allocations: 59.77 kB / 0.8537 GB, free: 54.62 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007891/1.488, allocations: 72.33 kB / 0.8538 GB, free: 54.55 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-05/1.489, allocations: 84 kB / 0.8539 GB, free: 54.46 MB / 426.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.0003453/1.489, allocations: 348.3 kB / 0.8542 GB, free: 54.12 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.385e-05/1.489, allocations: 78.97 kB / 0.8543 GB, free: 54.04 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005038/1.49, allocations: 338.9 kB / 0.8546 GB, free: 53.7 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.285e-06/1.49, allocations: 8 kB / 0.8546 GB, free: 53.7 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/1.49, allocations: 3.953 kB / 0.8546 GB, free: 53.69 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/1.49, allocations: 3.984 kB / 0.8546 GB, free: 53.69 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001044/1.491, allocations: 0.8888 MB / 0.8555 GB, free: 52.74 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/1.491, allocations: 0 / 0.8555 GB, free: 52.74 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002285/1.491, allocations: 55.91 kB / 0.8555 GB, free: 52.69 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/1.491, allocations: 12 kB / 0.8556 GB, free: 52.68 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.849e-05/1.491, allocations: 11.95 kB / 0.8556 GB, free: 52.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/1.491, allocations: 0 / 0.8556 GB, free: 52.66 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/1.491, allocations: 0 / 0.8556 GB, free: 52.66 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004883/1.491, allocations: 0.5394 MB / 0.8561 GB, free: 52.09 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000213/1.492, allocations: 172.1 kB / 0.8563 GB, free: 51.9 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.561e-05/1.492, allocations: 8 kB / 0.8563 GB, free: 51.89 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003337/1.492, allocations: 15.98 kB / 0.8563 GB, free: 51.88 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.885e-05/1.492, allocations: 19.92 kB / 0.8563 GB, free: 51.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.105e-05/1.492, allocations: 19.98 kB / 0.8563 GB, free: 51.84 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004495/1.493, allocations: 495 kB / 0.8568 GB, free: 51.36 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.41e-07/1.493, allocations: 4.062 kB / 0.8568 GB, free: 51.36 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001069/1.494, allocations: 285.6 kB / 0.8571 GB, free: 51.08 MB / 426.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.0006527/1.494, allocations: 382.7 kB / 0.8574 GB, free: 50.73 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007213/1.495, allocations: 0.6199 MB / 0.858 GB, free: 50.12 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/1.495, allocations: 0 / 0.858 GB, free: 50.12 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001233/1.495, allocations: 116.3 kB / 0.8581 GB, free: 50 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00102/1.496, allocations: 264.6 kB / 0.8584 GB, free: 49.75 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001807/1.498, allocations: 1.693 MB / 0.8601 GB, free: 48.02 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003807/1.498, allocations: 1.008 MB / 0.861 GB, free: 46.98 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0008231/1.499, allocations: 281 kB / 0.8613 GB, free: 46.7 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/1.499, allocations: 67.42 kB / 0.8614 GB, free: 46.64 MB / 426.7 MB Notification: Performance of SimCode: time 4.91e-07/1.499, allocations: 0 / 0.8614 GB, free: 46.64 MB / 426.7 MB Notification: Performance of Templates: time 0.01866/1.518, allocations: 11.63 MB / 0.8727 GB, free: 35.08 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1)