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.001377/0.001376, allocations: 179.2 kB / 12.73 MB, free: 2.578 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.597/1.597, allocations: 194.3 MB / 207.5 MB, free: 3.461 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.001617/0.001617, allocations: 117.4 kB / 252.6 MB, free: 4.832 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2071/0.2071, allocations: 39.93 MB / 337.5 MB, free: 476 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4e-05/4.005e-05, allocations: 4 kB / 400.3 MB, free: 69.86 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1374/0.1375, allocations: 54.86 MB / 455.2 MB, free: 14.96 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4175/0.5551, allocations: 90.04 MB / 0.5324 GB, free: 1.555 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000227/0.5553, allocations: 92.75 kB / 0.5325 GB, free: 1.504 MB / 346.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.03322/0.5886, allocations: 11.27 MB / 0.5435 GB, free: 7.82 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.825e-06/0.5886, allocations: 4 kB / 0.5435 GB, free: 7.816 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.312e-05/0.5886, allocations: 7.938 kB / 0.5435 GB, free: 7.809 MB / 362.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.0009265/0.5896, allocations: 0.5788 MB / 0.5441 GB, free: 7.199 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/0.5896, allocations: 8.031 kB / 0.5441 GB, free: 7.191 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.132e-05/0.5897, allocations: 31.62 kB / 0.5441 GB, free: 7.16 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000347/0.5901, allocations: 238.2 kB / 0.5444 GB, free: 6.895 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.643e-05/0.5901, allocations: 28.45 kB / 0.5444 GB, free: 6.875 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.806e-05/0.5902, allocations: 27.62 kB / 0.5444 GB, free: 6.855 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000645/0.5908, allocations: 434.6 kB / 0.5448 GB, free: 6.539 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.5908, allocations: 0 / 0.5448 GB, free: 6.539 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.302e-05/0.5909, allocations: 15.64 kB / 0.5448 GB, free: 6.531 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.53e-05/0.5909, allocations: 44.69 kB / 0.5449 GB, free: 6.488 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006579/0.5916, allocations: 0.5182 MB / 0.5454 GB, free: 6.098 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001975/0.5936, allocations: 1.342 MB / 0.5467 GB, free: 4.801 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004792/0.5941, allocations: 268.1 kB / 0.547 GB, free: 4.574 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001316/0.5942, allocations: 81.7 kB / 0.547 GB, free: 4.512 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.441e-05/0.5943, allocations: 4.391 kB / 0.547 GB, free: 4.508 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.427e-05/0.5943, allocations: 38.38 kB / 0.5471 GB, free: 4.465 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 1.533e-06/0.5943, allocations: 0 / 0.5471 GB, free: 4.465 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.0004435/0.5948, allocations: 224.7 kB / 0.5473 GB, free: 4.27 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/0.5948, allocations: 51.41 kB / 0.5473 GB, free: 4.207 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001358/0.5949, allocations: 144.4 kB / 0.5475 GB, free: 4.07 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.304e-05/0.595, allocations: 25.7 kB / 0.5475 GB, free: 4.039 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.5951, allocations: 189.2 kB / 0.5477 GB, free: 3.859 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.177e-05/0.5952, allocations: 87.69 kB / 0.5478 GB, free: 3.785 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.194e-05/0.5952, allocations: 3.125 kB / 0.5478 GB, free: 3.785 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001882/0.5954, allocations: 329.7 kB / 0.5481 GB, free: 3.461 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000123/0.5955, allocations: 75.08 kB / 0.5482 GB, free: 3.402 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000182/0.5957, allocations: 159.6 kB / 0.5483 GB, free: 3.23 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001586/0.5959, allocations: 97.67 kB / 0.5484 GB, free: 3.148 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.5959, allocations: 7.938 kB / 0.5484 GB, free: 3.141 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004261/0.5963, allocations: 297.1 kB / 0.5487 GB, free: 2.887 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.5963, allocations: 8 kB / 0.5487 GB, free: 2.879 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/0.5963, allocations: 5.016 kB / 0.5487 GB, free: 2.875 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/0.5964, allocations: 7.984 kB / 0.5487 GB, free: 2.867 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005701/0.597, allocations: 139.8 kB / 0.5488 GB, free: 2.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001291/0.5983, allocations: 2.364 MB / 0.5512 GB, free: 296 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001881/0.5985, allocations: 34.88 kB / 0.5512 GB, free: 268 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.915e-05/0.5985, allocations: 15.98 kB / 0.5512 GB, free: 252 kB / 362.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 0.0001073/0.5986, allocations: 127.3 kB / 0.5513 GB, free: 128 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.753e-05/0.5987, allocations: 7.906 kB / 0.5513 GB, free: 120 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007166/0.5994, allocations: 345.5 kB / 0.5517 GB, free: 15.84 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.792e-06/0.5994, allocations: 7.953 kB / 0.5517 GB, free: 15.83 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.932e-06/0.5994, allocations: 0 / 0.5517 GB, free: 15.83 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.5994, allocations: 3.984 kB / 0.5517 GB, free: 15.82 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004077/0.5998, allocations: 336 kB / 0.552 GB, free: 15.49 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.5998, allocations: 7.984 kB / 0.552 GB, free: 15.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005063/0.6004, allocations: 119.8 kB / 0.5521 GB, free: 15.37 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.6004, allocations: 0 / 0.5521 GB, free: 15.37 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.168e-05/0.6004, allocations: 6.875 kB / 0.5521 GB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001207/0.6016, allocations: 2.363 MB / 0.5544 GB, free: 12.92 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.6016, allocations: 8.094 kB / 0.5544 GB, free: 12.91 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000397/0.602, allocations: 336.4 kB / 0.5548 GB, free: 12.61 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.359e-05/0.6021, allocations: 96.81 kB / 0.5549 GB, free: 12.5 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.709e-05/0.6021, allocations: 6.312 kB / 0.5549 GB, free: 12.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001535/0.6023, allocations: 15.48 kB / 0.5549 GB, free: 12.48 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.409e-05/0.6024, allocations: 19.97 kB / 0.5549 GB, free: 12.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.06e-05/0.6024, allocations: 11.5 kB / 0.5549 GB, free: 12.46 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.264e-05/0.6025, allocations: 106.3 kB / 0.555 GB, free: 12.36 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.6025, allocations: 0 / 0.555 GB, free: 12.36 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000703/0.6032, allocations: 194.5 kB / 0.5552 GB, free: 12.18 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.0005259/0.6037, allocations: 256.6 kB / 0.5554 GB, free: 11.93 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005864/0.6043, allocations: 254.3 kB / 0.5557 GB, free: 11.71 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.6043, allocations: 0 / 0.5557 GB, free: 11.71 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003601/0.6047, allocations: 143.5 kB / 0.5558 GB, free: 11.59 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001885/0.6049, allocations: 18.44 kB / 0.5558 GB, free: 11.58 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007365/0.6056, allocations: 405.4 kB / 0.5562 GB, free: 11.2 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003406/0.606, allocations: 0.798 MB / 0.557 GB, free: 10.38 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003047/0.6063, allocations: 105.8 kB / 0.5571 GB, free: 10.27 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.045e-05/0.6064, allocations: 30.61 kB / 0.5571 GB, free: 10.24 MB / 378.7 MB Notification: Performance of SimCode: time 7.42e-07/0.6064, allocations: 0 / 0.5571 GB, free: 10.24 MB / 378.7 MB Notification: Performance of Templates: time 0.008149/0.6146, allocations: 4.371 MB / 0.5614 GB, free: 5.883 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)