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.000989/0.000989, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00105/0.00105, allocations: 195.4 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.39/1.39, allocations: 205.1 MB / 222 MB, free: 4.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.3071/0.3071, allocations: 37.98 MB / 307.3 MB, free: 10.04 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.001584/0.001584, allocations: 64.53 kB / 374.6 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1136, allocations: 56.47 MB / 431 MB, free: 7.074 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes): time 0.01754/0.1312, allocations: 18.14 MB / 449.2 MB, free: 4.852 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.1934/0.3247, allocations: 7.107 MB / 456.3 MB, free: 34.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008462/0.3256, allocations: 27.44 kB / 456.3 MB, free: 34.82 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009083/0.3265, allocations: 333.9 kB / 456.6 MB, free: 34.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001218/0.3278, allocations: 0.6481 MB / 457.3 MB, free: 34.82 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002793/0.3306, allocations: 1.205 MB / 458.5 MB, free: 34.78 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002627/0.3332, allocations: 3.573 MB / 462 MB, free: 34.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006717/0.3339, allocations: 0.5941 MB / 462.6 MB, free: 34.72 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001276/0.3352, allocations: 0.9139 MB / 463.6 MB, free: 34.67 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007932/0.336, allocations: 0.7894 MB / 464.3 MB, free: 34.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000131/0.3361, allocations: 49.56 kB / 464.4 MB, free: 34.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001137/0.3373, allocations: 0.5501 MB / 464.9 MB, free: 34.54 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002628/0.3376, allocations: 335.9 kB / 465.3 MB, free: 34.51 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004451/0.338, allocations: 492.6 kB / 465.8 MB, free: 34.38 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001359/0.3394, allocations: 1.492 MB / 467.2 MB, free: 34.18 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.3394, allocations: 3.938 kB / 467.2 MB, free: 34.18 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.32e-07/0.3394, allocations: 0 / 467.2 MB, free: 34.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.524e-05/0.3394, allocations: 0 / 467.2 MB, free: 34.18 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.001997/0.3414, allocations: 1.288 MB / 468.5 MB, free: 33.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.057e-05/0.3415, allocations: 9.406 kB / 468.5 MB, free: 33.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004343/0.3419, allocations: 124.7 kB / 468.7 MB, free: 33.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007022/0.3426, allocations: 0.5839 MB / 469.3 MB, free: 33.19 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001315/0.3427, allocations: 252.6 kB / 469.5 MB, free: 33 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001042/0.3429, allocations: 80.31 kB / 469.6 MB, free: 33 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001516/0.3444, allocations: 1.31 MB / 470.9 MB, free: 32.59 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.435e-05/0.3444, allocations: 10.94 kB / 470.9 MB, free: 32.58 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.911e-05/0.3445, allocations: 43.59 kB / 470.9 MB, free: 32.58 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.183e-05/0.3446, allocations: 45.95 kB / 471 MB, free: 32.57 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001296/0.3459, allocations: 0.9596 MB / 471.9 MB, free: 32.53 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.004741/0.3506, allocations: 7.083 MB / 479 MB, free: 26.86 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004453/0.3511, allocations: 318.6 kB / 479.3 MB, free: 26.73 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002166/0.3513, allocations: 174.5 kB / 479.5 MB, free: 26.67 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001751/0.3531, allocations: 2.828 MB / 482.3 MB, free: 23.73 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.3531, allocations: 37.98 kB / 482.4 MB, free: 23.69 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 1.593e-06/0.3531, allocations: 0 / 482.4 MB, free: 23.69 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.001949/0.3551, allocations: 1.105 MB / 483.5 MB, free: 23.05 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.619e-05/0.3551, allocations: 54.75 kB / 483.5 MB, free: 22.99 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008759/0.356, allocations: 0.8671 MB / 484.4 MB, free: 22.63 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.553e-05/0.356, allocations: 36.95 kB / 484.4 MB, free: 22.59 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002609/0.3563, allocations: 0.5671 MB / 485 MB, free: 22.13 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.222e-05/0.3564, allocations: 139.7 kB / 485.1 MB, free: 22.04 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002215/0.3566, allocations: 237.1 kB / 485.4 MB, free: 21.91 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.48e-05/0.3567, allocations: 400.6 kB / 485.8 MB, free: 21.56 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003313/0.357, allocations: 245.5 kB / 486 MB, free: 21.49 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005946/0.3577, allocations: 0.9672 MB / 487 MB, free: 20.43 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001011/0.3587, allocations: 1.317 MB / 488.3 MB, free: 19.15 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.037e-06/0.3587, allocations: 6.5 kB / 488.3 MB, free: 19.15 MB / 382.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001482/0.3602, allocations: 1.209 MB / 489.5 MB, free: 18.66 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.949e-05/0.3602, allocations: 19.98 kB / 489.5 MB, free: 18.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.014e-05/0.3602, allocations: 26.44 kB / 489.5 MB, free: 18.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.277e-05/0.3603, allocations: 34.97 kB / 489.6 MB, free: 18.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006803/0.361, allocations: 282.1 kB / 489.9 MB, free: 18.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.085e-05/0.361, allocations: 48.95 kB / 489.9 MB, free: 18.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007028/0.3617, allocations: 71.58 kB / 490 MB, free: 18.58 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.847e-05/0.3618, allocations: 78.02 kB / 490.1 MB, free: 18.57 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003849/0.3622, allocations: 332.2 kB / 490.4 MB, free: 18.34 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001374/0.3623, allocations: 90.39 kB / 490.5 MB, free: 18.3 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007482/0.3631, allocations: 484 kB / 490.9 MB, free: 18.09 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.887e-06/0.3631, allocations: 2.906 kB / 490.9 MB, free: 18.09 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.3631, allocations: 0 / 490.9 MB, free: 18.09 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.3631, allocations: 6.359 kB / 490.9 MB, free: 18.09 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001301/0.3644, allocations: 1.251 MB / 492.2 MB, free: 17.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.3645, allocations: 0 / 492.2 MB, free: 17.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002681/0.3647, allocations: 69.11 kB / 492.3 MB, free: 17.26 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.3648, allocations: 6.938 kB / 492.3 MB, free: 17.26 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.099e-05/0.3648, allocations: 10.94 kB / 492.3 MB, free: 17.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.3648, allocations: 3 kB / 492.3 MB, free: 17.25 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.3648, allocations: 3 kB / 492.3 MB, free: 17.25 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000716/0.3655, allocations: 0.6428 MB / 492.9 MB, free: 16.88 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002068/0.3657, allocations: 200.2 kB / 493.1 MB, free: 16.71 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001037/0.3658, allocations: 21.97 kB / 493.1 MB, free: 16.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004061/0.3663, allocations: 23.09 kB / 493.2 MB, free: 16.69 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.779e-05/0.3663, allocations: 26.08 kB / 493.2 MB, free: 16.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.262e-05/0.3664, allocations: 25.33 kB / 493.2 MB, free: 16.68 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005579/0.3669, allocations: 0.5956 MB / 493.8 MB, free: 16.43 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3669, allocations: 4 kB / 493.8 MB, free: 16.42 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009789/0.3679, allocations: 297.5 kB / 494.1 MB, free: 16.37 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000552/0.3685, allocations: 332.1 kB / 494.4 MB, free: 16.22 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008834/0.3694, allocations: 0.6343 MB / 495.1 MB, free: 16.02 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.3694, allocations: 10.16 kB / 495.1 MB, free: 16.01 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002094/0.3696, allocations: 140.7 kB / 495.2 MB, free: 15.96 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001785/0.3714, allocations: 405.8 kB / 495.6 MB, free: 15.86 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002341/0.3737, allocations: 1.756 MB / 497.4 MB, free: 14.79 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003932/0.3741, allocations: 0.9991 MB / 498.4 MB, free: 14.05 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001/0.3752, allocations: 313.9 kB / 498.7 MB, free: 13.99 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001489/0.3753, allocations: 76.67 kB / 498.7 MB, free: 13.98 MB / 382.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3753, allocations: 0 / 498.7 MB, free: 13.98 MB / 382.1 MB Notification: Performance of Templates: time 0.02664/0.402, allocations: 15.35 MB / 0.5021 GB, free: 10.17 MB / 382.1 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)