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.001112/0.001112, allocations: 176 kB / 7.652 MB, free: 1.426 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.54/1.54, allocations: 194.4 MB / 202.4 MB, free: 13.02 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.0016/0.0016, allocations: 115.5 kB / 247.4 MB, free: 28 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1839/0.1839, allocations: 39.95 MB / 332.2 MB, free: 0.6367 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.304e-05/1.329e-05, allocations: 0 / 393.3 MB, free: 3.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.271/0.2711, allocations: 54.88 MB / 448.2 MB, free: 13.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.112/0.3831, allocations: 89.38 MB / 0.525 GB, free: 4.168 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003079/0.3835, allocations: 95.94 kB / 0.5251 GB, free: 4.074 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.2891/0.6726, allocations: 11.15 MB / 0.536 GB, free: 87.08 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.6727, allocations: 0.5312 kB / 0.536 GB, free: 87.08 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.707e-05/0.6727, allocations: 7.625 kB / 0.536 GB, free: 87.08 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.0008641/0.6736, allocations: 0.5816 MB / 0.5366 GB, free: 86.58 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.6736, allocations: 9.156 kB / 0.5366 GB, free: 86.58 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.107e-05/0.6737, allocations: 33.59 kB / 0.5366 GB, free: 86.56 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002615/0.674, allocations: 243.9 kB / 0.5368 GB, free: 86.33 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.535e-05/0.674, allocations: 9.031 kB / 0.5368 GB, free: 86.33 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.469e-05/0.6741, allocations: 15.81 kB / 0.5369 GB, free: 86.33 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006083/0.6747, allocations: 407.5 kB / 0.5372 GB, free: 86.21 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005577/0.6753, allocations: 395.9 kB / 0.5376 GB, free: 86.08 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.6753, allocations: 3.953 kB / 0.5376 GB, free: 86.07 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.534e-05/0.6753, allocations: 0 / 0.5376 GB, free: 86.07 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-05/0.6754, allocations: 41.73 kB / 0.5377 GB, free: 86.07 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001678/0.6771, allocations: 1.269 MB / 0.5389 GB, free: 85.24 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004097/0.6775, allocations: 249.2 kB / 0.5391 GB, free: 85.17 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001037/0.6776, allocations: 77.83 kB / 0.5392 GB, free: 85.14 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.912e-05/0.6777, allocations: 18.98 kB / 0.5392 GB, free: 85.14 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.429e-05/0.6777, allocations: 30.56 kB / 0.5393 GB, free: 85.1 MB / 378.7 MB Notification: Performance of pre-optimization done (n=25): time 1.774e-06/0.6777, allocations: 0 / 0.5393 GB, free: 85.1 MB / 378.7 MB Notification: Performance of matching and sorting (n=25): time 0.0003589/0.6781, allocations: 210.3 kB / 0.5395 GB, free: 85.02 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.097e-05/0.6781, allocations: 55.03 kB / 0.5395 GB, free: 84.96 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.764e-05/0.6782, allocations: 121.2 kB / 0.5396 GB, free: 84.86 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.6782, allocations: 25.7 kB / 0.5397 GB, free: 84.82 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.781e-05/0.6783, allocations: 196.2 kB / 0.5398 GB, free: 84.66 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.272e-05/0.6784, allocations: 81.23 kB / 0.5399 GB, free: 84.59 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.202e-05/0.6784, allocations: 3.906 kB / 0.5399 GB, free: 84.59 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.219e-05/0.6784, allocations: 328 kB / 0.5402 GB, free: 84.27 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.105e-05/0.6785, allocations: 76.44 kB / 0.5403 GB, free: 84.25 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001396/0.6787, allocations: 144.1 kB / 0.5404 GB, free: 84.14 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000124/0.6788, allocations: 107.7 kB / 0.5405 GB, free: 84.1 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.6788, allocations: 0 / 0.5405 GB, free: 84.1 MB / 378.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000343/0.6792, allocations: 267.6 kB / 0.5408 GB, free: 84.01 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.423e-05/0.6792, allocations: 11.12 kB / 0.5408 GB, free: 84.01 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.6792, allocations: 3.594 kB / 0.5408 GB, free: 84.01 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/0.6793, allocations: 3.875 kB / 0.5408 GB, free: 84.01 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005209/0.6798, allocations: 131 kB / 0.5409 GB, free: 84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007597/0.6805, allocations: 2.37 MB / 0.5433 GB, free: 81.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001745/0.6807, allocations: 35.86 kB / 0.5433 GB, free: 81.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.393e-05/0.6808, allocations: 15.2 kB / 0.5433 GB, free: 81.62 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 () * 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 7.955e-05/0.6809, allocations: 111.4 kB / 0.5434 GB, free: 81.51 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.866e-05/0.6809, allocations: 11.31 kB / 0.5434 GB, free: 81.5 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00061/0.6815, allocations: 325.9 kB / 0.5437 GB, free: 81.38 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.6815, allocations: 2.469 kB / 0.5437 GB, free: 81.38 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.6816, allocations: 0 / 0.5437 GB, free: 81.38 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.246e-06/0.6816, allocations: 7.953 kB / 0.5437 GB, free: 81.37 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003372/0.6819, allocations: 271 kB / 0.544 GB, free: 81.17 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.6819, allocations: 0 / 0.544 GB, free: 81.17 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004753/0.6824, allocations: 124.3 kB / 0.5441 GB, free: 81.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.6824, allocations: 0 / 0.5441 GB, free: 81.16 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.289e-05/0.6825, allocations: 3.625 kB / 0.5441 GB, free: 81.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008687/0.6833, allocations: 2.375 MB / 0.5464 GB, free: 78.79 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.6833, allocations: 0 / 0.5464 GB, free: 78.79 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000326/0.6837, allocations: 322.6 kB / 0.5468 GB, free: 78.62 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.31e-05/0.6837, allocations: 96.48 kB / 0.5468 GB, free: 78.51 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.176e-05/0.6838, allocations: 0 / 0.5468 GB, free: 78.51 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000147/0.6839, allocations: 11.38 kB / 0.5469 GB, free: 78.51 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.137e-05/0.684, allocations: 26.77 kB / 0.5469 GB, free: 78.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.006e-05/0.684, allocations: 15.62 kB / 0.5469 GB, free: 78.5 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.185e-05/0.6841, allocations: 98.72 kB / 0.547 GB, free: 78.41 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.412e-06/0.6841, allocations: 0 / 0.547 GB, free: 78.41 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007371/0.6848, allocations: 175.2 kB / 0.5472 GB, free: 78.35 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 () * 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.0005598/0.6854, allocations: 267.9 kB / 0.5474 GB, free: 78.2 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004783/0.6859, allocations: 237.5 kB / 0.5476 GB, free: 78.12 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.6859, allocations: 0 / 0.5476 GB, free: 78.12 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002879/0.6862, allocations: 145.4 kB / 0.5478 GB, free: 78.07 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002092/0.6864, allocations: 7.969 kB / 0.5478 GB, free: 78.06 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007184/0.6872, allocations: 372.2 kB / 0.5481 GB, free: 77.79 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002419/0.6874, allocations: 0.8101 MB / 0.5489 GB, free: 76.96 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002976/0.6877, allocations: 105.8 kB / 0.549 GB, free: 76.85 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.209e-05/0.6878, allocations: 23.42 kB / 0.5491 GB, free: 76.83 MB / 378.7 MB Notification: Performance of SimCode: time 6.61e-07/0.6878, allocations: 3.938 kB / 0.5491 GB, free: 76.82 MB / 378.7 MB Notification: Performance of Templates: time 0.007327/0.6951, allocations: 4.155 MB / 0.5531 GB, free: 72.69 MB / 378.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)