Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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.1_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.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001285/0.001285, allocations: 166.2 kB / 7.641 MB, free: 1.406 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.652/1.652, allocations: 170.7 MB / 178.7 MB, free: 15.57 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001787/0.001788, allocations: 99.47 kB / 218 MB, free: 8.34 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2102/0.2102, allocations: 37.98 MB / 295.1 MB, free: 9.5 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.924e-05/1.924e-05, allocations: 2.188 kB / 350 MB, free: 36.96 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1078, allocations: 48.71 MB / 398.8 MB, free: 5.32 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4173/0.5251, allocations: 82.83 MB / 481.6 MB, free: 17.88 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003169/0.5255, allocations: 96.92 kB / 481.7 MB, free: 17.88 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.1+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.1+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.1+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.03251/0.558, allocations: 11.16 MB / 492.8 MB, free: 16.75 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.5581, allocations: 0 / 492.8 MB, free: 16.75 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.239e-05/0.5581, allocations: 3.875 kB / 492.8 MB, free: 16.75 MB / 330.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.0008428/0.559, allocations: 0.5712 MB / 493.4 MB, free: 16.27 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.559, allocations: 15.66 kB / 493.4 MB, free: 16.27 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.467e-05/0.5591, allocations: 27.28 kB / 493.5 MB, free: 16.25 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002586/0.5593, allocations: 245.6 kB / 493.7 MB, free: 16.03 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.785e-05/0.5594, allocations: 7.844 kB / 493.7 MB, free: 16.03 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.762e-05/0.5594, allocations: 23.3 kB / 493.7 MB, free: 16.03 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004918/0.5599, allocations: 404.3 kB / 494.1 MB, free: 16.03 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004753/0.5604, allocations: 392.7 kB / 494.5 MB, free: 15.99 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.595e-05/0.5604, allocations: 3.656 kB / 494.5 MB, free: 15.99 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.341e-05/0.5605, allocations: 3.516 kB / 494.5 MB, free: 15.99 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-05/0.5605, allocations: 38.88 kB / 494.5 MB, free: 15.99 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00159/0.5621, allocations: 1.262 MB / 495.8 MB, free: 15.3 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000386/0.5625, allocations: 255.2 kB / 496.1 MB, free: 15.27 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.991e-05/0.5626, allocations: 79.47 kB / 496.1 MB, free: 15.27 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.427e-05/0.5627, allocations: 11.33 kB / 496.1 MB, free: 15.26 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.829e-05/0.5627, allocations: 42.2 kB / 496.2 MB, free: 15.21 MB / 330.7 MB Notification: Performance of pre-optimization done (n=25): time 1.293e-06/0.5627, allocations: 0 / 496.2 MB, free: 15.21 MB / 330.7 MB Notification: Performance of matching and sorting (n=25): time 0.0003756/0.5631, allocations: 209.8 kB / 496.4 MB, free: 15.17 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.641e-05/0.5631, allocations: 55.25 kB / 496.4 MB, free: 15.11 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.5632, allocations: 131.5 kB / 496.6 MB, free: 15 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.5633, allocations: 25.7 kB / 496.6 MB, free: 14.97 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.567e-05/0.5634, allocations: 191.8 kB / 496.8 MB, free: 14.82 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.888e-05/0.5634, allocations: 84.66 kB / 496.9 MB, free: 14.76 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.233e-05/0.5634, allocations: 0 / 496.9 MB, free: 14.76 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.604e-05/0.5635, allocations: 325.5 kB / 497.2 MB, free: 14.45 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.942e-05/0.5636, allocations: 72.25 kB / 497.3 MB, free: 14.45 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001275/0.5638, allocations: 149.9 kB / 497.4 MB, free: 14.34 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001199/0.5639, allocations: 99.39 kB / 497.5 MB, free: 14.34 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.5639, allocations: 3.969 kB / 497.5 MB, free: 14.34 MB / 330.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000333/0.5642, allocations: 260.6 kB / 497.8 MB, free: 14.28 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/0.5643, allocations: 3.812 kB / 497.8 MB, free: 14.28 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.5643, allocations: 3.844 kB / 497.8 MB, free: 14.28 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.5643, allocations: 8.234 kB / 497.8 MB, free: 14.28 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005467/0.5649, allocations: 140 kB / 497.9 MB, free: 14.27 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008181/0.5657, allocations: 2.364 MB / 0.4886 GB, free: 11.92 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001595/0.5659, allocations: 30.47 kB / 0.4886 GB, free: 11.91 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.199e-05/0.5659, allocations: 15.56 kB / 0.4886 GB, free: 11.9 MB / 330.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 8.272e-05/0.566, allocations: 120.8 kB / 0.4887 GB, free: 11.78 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.642e-05/0.566, allocations: 11.78 kB / 0.4887 GB, free: 11.78 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005944/0.5666, allocations: 322.5 kB / 0.489 GB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.5666, allocations: 3.938 kB / 0.489 GB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.5666, allocations: 0 / 0.489 GB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.5667, allocations: 7.641 kB / 0.489 GB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002882/0.5669, allocations: 270.4 kB / 0.4893 GB, free: 11.53 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.567, allocations: 0 / 0.4893 GB, free: 11.53 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004397/0.5674, allocations: 126.5 kB / 0.4894 GB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.9e-06/0.5674, allocations: 3.953 kB / 0.4894 GB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.665e-05/0.5674, allocations: 3.656 kB / 0.4894 GB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001491/0.5689, allocations: 2.358 MB / 0.4917 GB, free: 25.18 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.117e-06/0.569, allocations: 3.969 kB / 0.4917 GB, free: 25.18 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003192/0.5693, allocations: 329.2 kB / 0.492 GB, free: 25.03 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.298e-05/0.5693, allocations: 96.83 kB / 0.4921 GB, free: 24.92 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.946e-05/0.5694, allocations: 3.938 kB / 0.4921 GB, free: 24.92 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000147/0.5695, allocations: 11.58 kB / 0.4922 GB, free: 24.92 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.127e-05/0.5696, allocations: 23.38 kB / 0.4922 GB, free: 24.91 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.73e-05/0.5696, allocations: 11.23 kB / 0.4922 GB, free: 24.91 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.553e-05/0.5697, allocations: 100.5 kB / 0.4923 GB, free: 24.84 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5697, allocations: 3.938 kB / 0.4923 GB, free: 24.84 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007098/0.5704, allocations: 175.6 kB / 0.4925 GB, free: 24.77 MB / 346.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.0004527/0.5709, allocations: 254.5 kB / 0.4927 GB, free: 24.63 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004771/0.5714, allocations: 242.1 kB / 0.4929 GB, free: 24.61 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.5714, allocations: 0 / 0.4929 GB, free: 24.61 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002813/0.5717, allocations: 142.3 kB / 0.4931 GB, free: 24.61 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002049/0.5719, allocations: 7.828 kB / 0.4931 GB, free: 24.6 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007928/0.5727, allocations: 379.9 kB / 0.4934 GB, free: 24.46 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004381/0.5731, allocations: 0.8149 MB / 0.4942 GB, free: 23.75 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002851/0.5734, allocations: 101.2 kB / 0.4943 GB, free: 23.73 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.357e-05/0.5735, allocations: 29.44 kB / 0.4944 GB, free: 23.71 MB / 346.7 MB Notification: Performance of SimCode: time 2.2e-07/0.5735, allocations: 0 / 0.4944 GB, free: 23.71 MB / 346.7 MB Notification: Performance of Templates: time 0.007752/0.5813, allocations: 4.174 MB / 0.4984 GB, free: 21.89 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.pipe 2>&1)