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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 98.53 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009158/0.000916, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.404/1.404, allocations: 205.4 MB / 222.1 MB, free: 5.754 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3021/0.3021, allocations: 38.03 MB / 308.4 MB, free: 10.31 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006126/0.0006127, allocations: 12 kB / 376.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1131, allocations: 57.52 MB / 433.9 MB, free: 5.578 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.01714/0.1303, allocations: 15.12 MB / 449 MB, free: 6.41 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0083/0.1386, allocations: 6.066 MB / 455.1 MB, free: 336 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001016/0.1397, allocations: 27.75 kB / 455.1 MB, free: 308 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1857/0.3254, allocations: 313.5 kB / 455.4 MB, free: 34.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001923/0.3273, allocations: 0.5249 MB / 456 MB, free: 34.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003109/0.3305, allocations: 1.054 MB / 457 MB, free: 34.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001939/0.3324, allocations: 1.437 MB / 458.5 MB, free: 34.24 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001002/0.3334, allocations: 0.5592 MB / 459 MB, free: 34.19 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001491/0.3349, allocations: 0.7863 MB / 459.8 MB, free: 34.19 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006412/0.3356, allocations: 496.3 kB / 460.3 MB, free: 34.19 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001066/0.3357, allocations: 46.72 kB / 460.3 MB, free: 34.19 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009981/0.3367, allocations: 367.3 kB / 460.7 MB, free: 34.19 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002637/0.337, allocations: 306.5 kB / 461 MB, free: 34.19 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001891/0.3372, allocations: 206.8 kB / 461.2 MB, free: 34.16 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008882/0.3381, allocations: 1.063 MB / 462.3 MB, free: 34.08 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.3381, allocations: 0 / 462.3 MB, free: 34.08 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.285e-06/0.3381, allocations: 0 / 462.3 MB, free: 34.08 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.085e-05/0.3381, allocations: 2.625 kB / 462.3 MB, free: 34.08 MB / 382.1 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.001851/0.34, allocations: 1.102 MB / 463.4 MB, free: 33.45 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.34, allocations: 6.594 kB / 463.4 MB, free: 33.45 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004156/0.3404, allocations: 122.9 kB / 463.5 MB, free: 33.4 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009433/0.3414, allocations: 0.571 MB / 464.1 MB, free: 33.15 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000157/0.3415, allocations: 245.9 kB / 464.3 MB, free: 32.96 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001234/0.3417, allocations: 81.5 kB / 464.4 MB, free: 32.96 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001533/0.3432, allocations: 1.294 MB / 465.7 MB, free: 32.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.953e-05/0.3433, allocations: 10.41 kB / 465.7 MB, free: 32.57 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.87e-05/0.3434, allocations: 41.75 kB / 465.7 MB, free: 32.57 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.871e-05/0.3434, allocations: 47.64 kB / 465.8 MB, free: 32.56 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001266/0.3447, allocations: 0.9592 MB / 466.7 MB, free: 32.55 MB / 382.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005137/0.3498, allocations: 7.097 MB / 473.8 MB, free: 27.46 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004444/0.3503, allocations: 312.8 kB / 474.1 MB, free: 27.44 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002165/0.3525, allocations: 2.814 MB / 476.9 MB, free: 24.67 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/0.3525, allocations: 42.14 kB / 477 MB, free: 24.63 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 1.883e-06/0.3525, allocations: 0 / 477 MB, free: 24.63 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.00204/0.3546, allocations: 1.112 MB / 478.1 MB, free: 24.2 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.795e-05/0.3546, allocations: 58.08 kB / 478.2 MB, free: 24.13 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008148/0.3555, allocations: 0.8646 MB / 479 MB, free: 23.96 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.546e-05/0.3555, allocations: 34.8 kB / 479.1 MB, free: 23.93 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003008/0.3558, allocations: 0.5675 MB / 479.6 MB, free: 23.59 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.348e-05/0.3559, allocations: 137.8 kB / 479.8 MB, free: 23.52 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.715e-05/0.3559, allocations: 25.25 kB / 479.8 MB, free: 23.52 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.732e-05/0.356, allocations: 393.8 kB / 480.2 MB, free: 23.21 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003275/0.3564, allocations: 244.9 kB / 480.4 MB, free: 23.2 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005815/0.357, allocations: 0.9525 MB / 481.4 MB, free: 22.25 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005271/0.3575, allocations: 440.8 kB / 481.8 MB, free: 22.22 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.019e-05/0.3575, allocations: 12.47 kB / 481.8 MB, free: 22.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001596/0.3591, allocations: 1.192 MB / 483 MB, free: 22.12 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.938e-05/0.3592, allocations: 20.39 kB / 483 MB, free: 22.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.655e-05/0.3592, allocations: 25.31 kB / 483 MB, free: 22.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.124e-05/0.3593, allocations: 37.72 kB / 483.1 MB, free: 22.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007338/0.36, allocations: 283.9 kB / 483.3 MB, free: 22.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.588e-05/0.36, allocations: 52.02 kB / 483.4 MB, free: 22.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007215/0.3608, allocations: 66.03 kB / 483.5 MB, free: 22.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.293e-05/0.3609, allocations: 77.52 kB / 483.5 MB, free: 22.11 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 117 * 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 (154): * Single equations (assignments): 154 * 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.0003771/0.3613, allocations: 341.1 kB / 483.9 MB, free: 21.97 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/0.3614, allocations: 85.44 kB / 484 MB, free: 21.93 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007614/0.3621, allocations: 490.7 kB / 484.4 MB, free: 21.84 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.128e-05/0.3622, allocations: 5.031 kB / 484.4 MB, free: 21.84 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.3622, allocations: 0 / 484.4 MB, free: 21.84 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.3622, allocations: 6.938 kB / 484.4 MB, free: 21.84 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001389/0.3636, allocations: 1.244 MB / 485.7 MB, free: 21.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.3636, allocations: 3.984 kB / 485.7 MB, free: 21.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002726/0.3639, allocations: 66.78 kB / 485.8 MB, free: 21.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.768e-06/0.3639, allocations: 3.312 kB / 485.8 MB, free: 21.29 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.254e-05/0.3639, allocations: 13.47 kB / 485.8 MB, free: 21.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.7e-06/0.3639, allocations: 5.969 kB / 485.8 MB, free: 21.29 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.3639, allocations: 192 / 485.8 MB, free: 21.29 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007327/0.3647, allocations: 0.724 MB / 486.5 MB, free: 20.95 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000256/0.365, allocations: 207 kB / 486.7 MB, free: 20.81 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001011/0.3651, allocations: 8.469 kB / 486.7 MB, free: 20.81 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004053/0.3655, allocations: 34.12 kB / 486.8 MB, free: 20.8 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.012e-05/0.3655, allocations: 22.72 kB / 486.8 MB, free: 20.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.426e-05/0.3656, allocations: 35.91 kB / 486.8 MB, free: 20.79 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005742/0.3662, allocations: 0.5811 MB / 487.4 MB, free: 20.68 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.253e-06/0.3662, allocations: 0 / 487.4 MB, free: 20.68 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001059/0.3672, allocations: 296.4 kB / 487.7 MB, free: 20.67 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (34): * Single equations (assignments): 32 * 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.0005091/0.3677, allocations: 301.1 kB / 488 MB, free: 20.54 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009343/0.3687, allocations: 0.6371 MB / 488.6 MB, free: 20.48 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.3687, allocations: 0 / 488.6 MB, free: 20.48 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001896/0.3689, allocations: 140.3 kB / 488.7 MB, free: 20.47 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001654/0.3706, allocations: 381.4 kB / 489.1 MB, free: 20.44 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002345/0.3729, allocations: 1.74 MB / 490.9 MB, free: 19.56 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005056/0.3734, allocations: 1.02 MB / 491.9 MB, free: 18.84 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0009798/0.3744, allocations: 318.7 kB / 492.2 MB, free: 18.79 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001505/0.3746, allocations: 71.75 kB / 492.3 MB, free: 18.78 MB / 382.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3746, allocations: 0 / 492.3 MB, free: 18.78 MB / 382.1 MB Notification: Performance of Templates: time 0.03077/0.4054, allocations: 14.56 MB / 0.4949 GB, free: 16.41 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: