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.001358/0.001358, allocations: 169.9 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.321/1.321, allocations: 170.6 MB / 183.8 MB, free: 11.5 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.001659/0.001659, allocations: 103.5 kB / 223.2 MB, free: 4.113 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.1831/0.1831, allocations: 38 MB / 300.4 MB, free: 5.348 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.746e-05/3.78e-05, allocations: 4 kB / 357 MB, free: 32.3 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08648/0.08653, allocations: 48.7 MB / 405.7 MB, free: 15.62 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3273/0.4139, allocations: 83.49 MB / 489.2 MB, free: 18.65 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002695/0.4142, allocations: 98.67 kB / 489.3 MB, free: 18.65 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.03143/0.4457, allocations: 11.26 MB / 0.4888 GB, free: 16.41 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.4457, allocations: 0 / 0.4888 GB, free: 16.41 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.169e-05/0.4457, allocations: 3.844 kB / 0.4888 GB, free: 16.41 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.0007701/0.4465, allocations: 0.5765 MB / 0.4894 GB, free: 15.89 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.4465, allocations: 7.75 kB / 0.4894 GB, free: 15.89 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.038e-05/0.4466, allocations: 30.81 kB / 0.4894 GB, free: 15.88 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002408/0.4469, allocations: 240.9 kB / 0.4897 GB, free: 15.64 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/0.4469, allocations: 23.75 kB / 0.4897 GB, free: 15.64 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.063e-05/0.4469, allocations: 26.83 kB / 0.4897 GB, free: 15.64 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000557/0.4475, allocations: 443.5 kB / 0.4901 GB, free: 15.53 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.4475, allocations: 0 / 0.4901 GB, free: 15.53 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.008e-05/0.4476, allocations: 14.38 kB / 0.4902 GB, free: 15.52 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.56e-05/0.4476, allocations: 35.73 kB / 0.4902 GB, free: 15.52 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005461/0.4482, allocations: 0.5252 MB / 0.4907 GB, free: 15.44 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001559/0.4497, allocations: 1.337 MB / 0.492 GB, free: 14.52 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004045/0.4502, allocations: 278.5 kB / 0.4923 GB, free: 14.45 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.4503, allocations: 83.78 kB / 0.4924 GB, free: 14.43 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.811e-05/0.4503, allocations: 15.11 kB / 0.4924 GB, free: 14.42 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.632e-05/0.4503, allocations: 34.44 kB / 0.4924 GB, free: 14.38 MB / 330.7 MB Notification: Performance of pre-optimization done (n=25): time 1.543e-06/0.4503, allocations: 0 / 0.4924 GB, free: 14.38 MB / 330.7 MB Notification: Performance of matching and sorting (n=25): time 0.0003638/0.4507, allocations: 217.6 kB / 0.4926 GB, free: 14.31 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.148e-05/0.4507, allocations: 54.97 kB / 0.4927 GB, free: 14.25 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.678e-05/0.4508, allocations: 135.1 kB / 0.4928 GB, free: 14.14 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.4509, allocations: 33.33 kB / 0.4928 GB, free: 14.1 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.382e-05/0.4509, allocations: 185.9 kB / 0.493 GB, free: 13.95 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.008e-05/0.451, allocations: 89.41 kB / 0.4931 GB, free: 13.88 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.12e-05/0.451, allocations: 3.938 kB / 0.4931 GB, free: 13.88 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.487e-05/0.451, allocations: 322.7 kB / 0.4934 GB, free: 13.57 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000101/0.4511, allocations: 88.03 kB / 0.4935 GB, free: 13.55 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001289/0.4513, allocations: 150.8 kB / 0.4936 GB, free: 13.44 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000133/0.4514, allocations: 103.1 kB / 0.4937 GB, free: 13.41 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.4514, allocations: 7.875 kB / 0.4937 GB, free: 13.4 MB / 330.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003655/0.4518, allocations: 301.7 kB / 0.494 GB, free: 13.3 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.4518, allocations: 3.812 kB / 0.494 GB, free: 13.3 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.4518, allocations: 3.906 kB / 0.494 GB, free: 13.3 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.4518, allocations: 7.859 kB / 0.494 GB, free: 13.29 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005164/0.4524, allocations: 128.7 kB / 0.4942 GB, free: 13.27 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006679/0.453, allocations: 2.361 MB / 0.4965 GB, free: 10.89 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001619/0.4532, allocations: 46.36 kB / 0.4965 GB, free: 10.87 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.229e-05/0.4533, allocations: 11.66 kB / 0.4965 GB, free: 10.87 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 6.705e-05/0.4533, allocations: 128.5 kB / 0.4966 GB, free: 10.75 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.608e-05/0.4534, allocations: 11.69 kB / 0.4966 GB, free: 10.75 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000585/0.454, allocations: 345.8 kB / 0.497 GB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.454, allocations: 3.875 kB / 0.497 GB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.454, allocations: 0 / 0.497 GB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.454, allocations: 0 / 0.497 GB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000282/0.4543, allocations: 340.2 kB / 0.4973 GB, free: 10.37 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.4543, allocations: 4 kB / 0.4973 GB, free: 10.36 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004565/0.4548, allocations: 120.2 kB / 0.4974 GB, free: 10.34 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.4548, allocations: 0 / 0.4974 GB, free: 10.34 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.849e-05/0.4548, allocations: 11.45 kB / 0.4974 GB, free: 10.33 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006528/0.4554, allocations: 2.356 MB / 0.4997 GB, free: 7.961 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.4555, allocations: 288 / 0.4997 GB, free: 7.961 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003276/0.4558, allocations: 343.7 kB / 0.5001 GB, free: 7.777 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.345e-05/0.4559, allocations: 96.45 kB / 0.5002 GB, free: 7.672 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.922e-05/0.4559, allocations: 7.359 kB / 0.5002 GB, free: 7.668 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001466/0.456, allocations: 11.19 kB / 0.5002 GB, free: 7.668 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.917e-05/0.4561, allocations: 27.31 kB / 0.5002 GB, free: 7.656 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.765e-05/0.4561, allocations: 11.7 kB / 0.5002 GB, free: 7.652 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.488e-05/0.4562, allocations: 111 kB / 0.5003 GB, free: 7.566 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.4562, allocations: 3.938 kB / 0.5003 GB, free: 7.562 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006841/0.4569, allocations: 190.8 kB / 0.5005 GB, free: 7.492 MB / 330.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.0003968/0.4573, allocations: 262.9 kB / 0.5008 GB, free: 7.324 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004916/0.4578, allocations: 249 kB / 0.501 GB, free: 7.281 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4578, allocations: 0 / 0.501 GB, free: 7.281 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003133/0.4581, allocations: 156.2 kB / 0.5011 GB, free: 7.246 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001949/0.4583, allocations: 11.75 kB / 0.5012 GB, free: 7.242 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006649/0.459, allocations: 404.2 kB / 0.5015 GB, free: 7.047 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002116/0.4592, allocations: 0.803 MB / 0.5023 GB, free: 6.297 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002842/0.4595, allocations: 100 kB / 0.5024 GB, free: 6.25 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.914e-05/0.4596, allocations: 30.39 kB / 0.5024 GB, free: 6.238 MB / 330.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4596, allocations: 0 / 0.5024 GB, free: 6.238 MB / 330.7 MB Notification: Performance of Templates: time 0.00691/0.4665, allocations: 4.375 MB / 0.5067 GB, free: 4.059 MB / 330.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)