Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.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.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW,tolerance=1e-05,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW,tolerance=1e-05,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.009331/0.009331, allocations: 175.3 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.651/1.651, allocations: 194.5 MB / 210.3 MB, free: 7.539 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.001803/0.001803, allocations: 120.5 kB / 255.6 MB, free: 10.14 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.2081/0.2081, allocations: 40.01 MB / 340.8 MB, free: 11.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004106/0.0004107, allocations: 9.719 kB / 406.2 MB, free: 51.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1386, allocations: 54.88 MB / 461 MB, free: 3.281 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4838/0.6224, allocations: 90.13 MB / 0.5383 GB, free: 21.8 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003202/0.6228, allocations: 101.8 kB / 0.5384 GB, free: 21.8 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Fluid/Dissipation.mo:6216:11-6222:61:writable] Error: Type mismatch in binding d_hyd = d_hyd, expected subtype of Real[4], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Fluid/Dissipation.mo:6224:11-6227:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[4], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Fluid/Dissipation.mo:6230:11-6236:59:writable] Error: Type mismatch in binding d_hyd = d_hyd, expected subtype of Real[4], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Fluid/Dissipation.mo:6238:11-6241:67:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[4], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.03522/0.658, allocations: 11.28 MB / 0.5494 GB, free: 20.64 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.6581, allocations: 1.375 kB / 0.5494 GB, free: 20.64 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.283e-05/0.6581, allocations: 6.938 kB / 0.5494 GB, free: 20.64 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.0009275/0.659, allocations: 0.5776 MB / 0.55 GB, free: 20.15 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.6591, allocations: 12.5 kB / 0.55 GB, free: 20.15 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.809e-05/0.6592, allocations: 28.31 kB / 0.55 GB, free: 20.14 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003044/0.6595, allocations: 235.6 kB / 0.5502 GB, free: 19.92 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.596e-05/0.6595, allocations: 19.34 kB / 0.5502 GB, free: 19.92 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.757e-05/0.6596, allocations: 35.62 kB / 0.5503 GB, free: 19.92 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008242/0.6604, allocations: 464.4 kB / 0.5507 GB, free: 19.87 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.6604, allocations: 0 / 0.5507 GB, free: 19.87 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.38e-05/0.6605, allocations: 15.23 kB / 0.5507 GB, free: 19.87 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.739e-05/0.6605, allocations: 40.92 kB / 0.5508 GB, free: 19.86 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001002/0.6616, allocations: 0.5616 MB / 0.5513 GB, free: 19.86 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001771/0.6633, allocations: 1.356 MB / 0.5526 GB, free: 19.13 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004803/0.6638, allocations: 297.7 kB / 0.5529 GB, free: 19.09 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.472e-05/0.6639, allocations: 3.875 kB / 0.5529 GB, free: 19.09 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.698e-05/0.6639, allocations: 34 kB / 0.553 GB, free: 19.05 MB / 378.7 MB Notification: Performance of pre-optimization done (n=25): time 1.392e-06/0.6639, allocations: 0 / 0.553 GB, free: 19.05 MB / 378.7 MB Notification: Performance of matching and sorting (n=25): time 0.0006772/0.6646, allocations: 346.1 kB / 0.5533 GB, free: 19 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.795e-05/0.6646, allocations: 55.28 kB / 0.5533 GB, free: 18.94 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.6647, allocations: 131.3 kB / 0.5535 GB, free: 18.84 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.28e-05/0.6648, allocations: 29.39 kB / 0.5535 GB, free: 18.81 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.326e-05/0.6649, allocations: 201.8 kB / 0.5537 GB, free: 18.66 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.681e-05/0.6649, allocations: 82.81 kB / 0.5538 GB, free: 18.61 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.292e-05/0.665, allocations: 3.562 kB / 0.5538 GB, free: 18.61 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.586e-05/0.665, allocations: 331 kB / 0.5541 GB, free: 18.29 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001683/0.6652, allocations: 94.45 kB / 0.5542 GB, free: 18.29 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001955/0.6654, allocations: 176.5 kB / 0.5543 GB, free: 18.18 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000194/0.6656, allocations: 123.5 kB / 0.5545 GB, free: 18.18 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.6656, allocations: 0 / 0.5545 GB, free: 18.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004825/0.6661, allocations: 323.8 kB / 0.5548 GB, free: 18.12 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.6661, allocations: 12.06 kB / 0.5548 GB, free: 18.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.6662, allocations: 7.938 kB / 0.5548 GB, free: 18.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.6662, allocations: 3.969 kB / 0.5548 GB, free: 18.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005056/0.6667, allocations: 130.5 kB / 0.5549 GB, free: 18.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007783/0.6675, allocations: 2.365 MB / 0.5572 GB, free: 15.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001638/0.6677, allocations: 41.48 kB / 0.5573 GB, free: 15.74 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.312e-05/0.6677, allocations: 14.25 kB / 0.5573 GB, free: 15.74 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 (roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000141/0.6678, allocations: 179.3 kB / 0.5575 GB, free: 15.62 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.664e-05/0.6679, allocations: 15.69 kB / 0.5575 GB, free: 15.61 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007515/0.6686, allocations: 381 kB / 0.5578 GB, free: 15.52 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.6686, allocations: 3.938 kB / 0.5578 GB, free: 15.52 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.6687, allocations: 3.953 kB / 0.5578 GB, free: 15.52 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.6687, allocations: 3 kB / 0.5578 GB, free: 15.52 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003124/0.669, allocations: 341.6 kB / 0.5582 GB, free: 15.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.669, allocations: 3.938 kB / 0.5582 GB, free: 15.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004412/0.6694, allocations: 116.9 kB / 0.5583 GB, free: 15.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.6695, allocations: 0 / 0.5583 GB, free: 15.32 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.082e-05/0.6695, allocations: 14.19 kB / 0.5583 GB, free: 15.31 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007122/0.6702, allocations: 2.368 MB / 0.5606 GB, free: 12.96 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.6702, allocations: 0 / 0.5606 GB, free: 12.96 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004463/0.6707, allocations: 371.4 kB / 0.561 GB, free: 12.82 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.514e-05/0.6707, allocations: 92.7 kB / 0.561 GB, free: 12.71 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.029e-05/0.6708, allocations: 11.36 kB / 0.5611 GB, free: 12.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001365/0.6709, allocations: 14.2 kB / 0.5611 GB, free: 12.71 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.119e-05/0.671, allocations: 17.33 kB / 0.5611 GB, free: 12.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-05/0.671, allocations: 14.88 kB / 0.5611 GB, free: 12.71 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.586e-05/0.671, allocations: 104.4 kB / 0.5612 GB, free: 12.63 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.671, allocations: 0 / 0.5612 GB, free: 12.63 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007744/0.6718, allocations: 188.9 kB / 0.5614 GB, free: 12.57 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001056/0.6729, allocations: 276.2 kB / 0.5616 GB, free: 28.41 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006132/0.6735, allocations: 290.8 kB / 0.5619 GB, free: 28.39 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.6735, allocations: 4 kB / 0.5619 GB, free: 28.39 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003417/0.6739, allocations: 161.7 kB / 0.5621 GB, free: 28.39 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001873/0.6741, allocations: 10.75 kB / 0.5621 GB, free: 28.39 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009315/0.675, allocations: 0.7154 MB / 0.5628 GB, free: 28 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004055/0.6754, allocations: 0.8004 MB / 0.5636 GB, free: 27.3 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002815/0.6757, allocations: 107.7 kB / 0.5637 GB, free: 27.28 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.176e-05/0.6758, allocations: 29.3 kB / 0.5637 GB, free: 27.27 MB / 394.7 MB Notification: Performance of SimCode: time 3.01e-07/0.6758, allocations: 0 / 0.5637 GB, free: 27.27 MB / 394.7 MB Notification: Performance of Templates: time 0.007847/0.6836, allocations: 4.289 MB / 0.5679 GB, free: 26.92 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe 2>&1)