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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002708/0.002708, allocations: 183.2 kB / 7.459 MB, free: 2.504 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.306/1.306, allocations: 194.2 MB / 202.1 MB, free: 8.727 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.001576/0.001577, allocations: 112.1 kB / 247.1 MB, free: 6.387 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.1784/0.1784, allocations: 39.93 MB / 331.9 MB, free: 4.91 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.697e-06/8.717e-06, allocations: 0 / 392.8 MB, free: 75.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1067, allocations: 54.88 MB / 447.7 MB, free: 20.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3297/0.4364, allocations: 89.3 MB / 0.5244 GB, free: 8.387 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002567/0.4368, allocations: 92.69 kB / 0.5245 GB, free: 8.371 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: time 0.03321/0.47, allocations: 10.89 MB / 0.5351 GB, free: 1.441 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.217e-05/0.47, allocations: 4 kB / 0.5351 GB, free: 1.438 MB / 346.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.0009071/0.4709, allocations: 0.5798 MB / 0.5357 GB, free: 0.832 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.471, allocations: 8.031 kB / 0.5357 GB, free: 0.8242 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.688e-05/0.4711, allocations: 35.53 kB / 0.5357 GB, free: 0.7891 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002741/0.4714, allocations: 237.6 kB / 0.536 GB, free: 0.5234 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.4714, allocations: 8 kB / 0.536 GB, free: 0.5156 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.926e-05/0.4714, allocations: 19.94 kB / 0.536 GB, free: 0.4961 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005474/0.472, allocations: 415.4 kB / 0.5364 GB, free: 208 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005601/0.4726, allocations: 415.2 kB / 0.5368 GB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.4726, allocations: 0 / 0.5368 GB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.806e-05/0.4726, allocations: 0 / 0.5368 GB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.988e-05/0.4727, allocations: 44 kB / 0.5368 GB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002106/0.4748, allocations: 1.279 MB / 0.5381 GB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004786/0.4753, allocations: 264.8 kB / 0.5383 GB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001252/0.4755, allocations: 78.52 kB / 0.5384 GB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001038/0.4756, allocations: 10.64 kB / 0.5384 GB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.447e-05/0.4756, allocations: 41.66 kB / 0.5384 GB, free: 14.27 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 1.903e-06/0.4756, allocations: 4 kB / 0.5384 GB, free: 14.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.0004736/0.4761, allocations: 204.4 kB / 0.5386 GB, free: 14.09 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.39e-05/0.4762, allocations: 55.41 kB / 0.5387 GB, free: 14.02 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.4763, allocations: 130.9 kB / 0.5388 GB, free: 13.89 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.562e-05/0.4763, allocations: 25.7 kB / 0.5388 GB, free: 13.86 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001266/0.4765, allocations: 190.3 kB / 0.539 GB, free: 13.68 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.227e-05/0.4765, allocations: 84.56 kB / 0.5391 GB, free: 13.61 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.215e-05/0.4766, allocations: 4 kB / 0.5391 GB, free: 13.6 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001976/0.4768, allocations: 325.3 kB / 0.5394 GB, free: 13.28 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001146/0.4769, allocations: 70.45 kB / 0.5395 GB, free: 13.23 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001775/0.4771, allocations: 152 kB / 0.5396 GB, free: 13.06 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001663/0.4773, allocations: 109.3 kB / 0.5397 GB, free: 12.97 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.4773, allocations: 0 / 0.5397 GB, free: 12.97 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004504/0.4777, allocations: 273.5 kB / 0.54 GB, free: 12.73 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.4777, allocations: 4 kB / 0.54 GB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.4778, allocations: 4 kB / 0.54 GB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.4778, allocations: 4 kB / 0.54 GB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005907/0.4784, allocations: 128.2 kB / 0.5401 GB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00125/0.4796, allocations: 2.389 MB / 0.5425 GB, free: 10.13 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001923/0.4799, allocations: 32.02 kB / 0.5425 GB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.107e-05/0.4799, allocations: 19.48 kB / 0.5425 GB, free: 10.08 MB / 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.0001049/0.48, allocations: 112.9 kB / 0.5426 GB, free: 9.965 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.655e-05/0.4801, allocations: 11.81 kB / 0.5426 GB, free: 9.953 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007745/0.4808, allocations: 373.8 kB / 0.543 GB, free: 9.633 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.465e-06/0.4809, allocations: 4 kB / 0.543 GB, free: 9.629 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.4809, allocations: 3.938 kB / 0.543 GB, free: 9.625 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.533e-06/0.4809, allocations: 7.844 kB / 0.543 GB, free: 9.617 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003497/0.4812, allocations: 278.7 kB / 0.5433 GB, free: 9.348 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.4812, allocations: 0 / 0.5433 GB, free: 9.348 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005604/0.4818, allocations: 115.9 kB / 0.5434 GB, free: 9.234 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.614e-06/0.4818, allocations: 4 kB / 0.5434 GB, free: 9.23 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.307e-05/0.4819, allocations: 7.188 kB / 0.5434 GB, free: 9.227 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00125/0.4831, allocations: 2.377 MB / 0.5457 GB, free: 6.77 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.4831, allocations: 288 / 0.5457 GB, free: 6.77 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000431/0.4836, allocations: 342 kB / 0.546 GB, free: 6.457 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.11e-05/0.4836, allocations: 92.92 kB / 0.5461 GB, free: 6.348 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.662e-05/0.4837, allocations: 0 / 0.5461 GB, free: 6.348 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001653/0.4839, allocations: 11.98 kB / 0.5461 GB, free: 6.336 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.381e-05/0.4839, allocations: 15.97 kB / 0.5461 GB, free: 6.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.427e-05/0.484, allocations: 15.81 kB / 0.5462 GB, free: 6.309 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.697e-05/0.484, allocations: 102.3 kB / 0.5463 GB, free: 6.215 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007277/0.4848, allocations: 175.5 kB / 0.5464 GB, free: 6.043 MB / 362.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.0005913/0.4854, allocations: 253.1 kB / 0.5467 GB, free: 5.797 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006547/0.486, allocations: 263.1 kB / 0.5469 GB, free: 5.574 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.486, allocations: 0 / 0.5469 GB, free: 5.574 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004351/0.4865, allocations: 164.7 kB / 0.5471 GB, free: 5.434 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002084/0.4867, allocations: 11.84 kB / 0.5471 GB, free: 5.422 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008716/0.4876, allocations: 390.7 kB / 0.5475 GB, free: 5.035 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004956/0.4881, allocations: 0.8397 MB / 0.5483 GB, free: 4.176 MB / 362.7 MB Notification: Performance of SimCode: time 4.01e-07/0.4881, allocations: 4 kB / 0.5483 GB, free: 4.172 MB / 362.7 MB Notification: Performance of Templates: time 0.008485/0.4966, allocations: 4.845 MB / 0.553 GB, free: 15.38 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)