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") [: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.1+maint.om/package.mo): time 0.002401/0.002401, allocations: 180.5 kB / 7.453 MB, free: 2.512 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.474/1.474, allocations: 170.6 MB / 178.4 MB, free: 15.47 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.001711/0.001711, allocations: 119.8 kB / 217.7 MB, free: 8.238 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.1717/0.1717, allocations: 37.98 MB / 294.8 MB, free: 9.645 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.008e-05/1.018e-05, allocations: 1.094 kB / 349.5 MB, free: 37.06 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1141, allocations: 48.72 MB / 398.2 MB, free: 5.664 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3602/0.4744, allocations: 82.76 MB / 481 MB, free: 13.39 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003176/0.4747, allocations: 92.45 kB / 481.1 MB, free: 13.39 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: time 0.03425/0.509, allocations: 10.88 MB / 492 MB, free: 12.54 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.674e-05/0.5091, allocations: 3.875 kB / 492 MB, free: 12.54 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.001378/0.5105, allocations: 0.5733 MB / 492.5 MB, free: 12.06 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.793e-05/0.5105, allocations: 11.59 kB / 492.6 MB, free: 12.06 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001302/0.5107, allocations: 27.28 kB / 492.6 MB, free: 12.04 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003931/0.5111, allocations: 237.1 kB / 492.8 MB, free: 11.83 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.159e-05/0.5111, allocations: 11.62 kB / 492.8 MB, free: 11.82 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.514e-05/0.5112, allocations: 19.28 kB / 492.8 MB, free: 11.82 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006958/0.5119, allocations: 415.2 kB / 493.2 MB, free: 11.82 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006508/0.5125, allocations: 405 kB / 493.6 MB, free: 11.78 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.5126, allocations: 3.938 kB / 493.6 MB, free: 11.77 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.299e-05/0.5126, allocations: 4 kB / 493.7 MB, free: 11.77 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.464e-05/0.5127, allocations: 44.02 kB / 493.7 MB, free: 11.77 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002134/0.5148, allocations: 1.281 MB / 495 MB, free: 11.09 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005349/0.5154, allocations: 272.2 kB / 495.2 MB, free: 11.05 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001322/0.5155, allocations: 82.2 kB / 495.3 MB, free: 11.04 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.11e-05/0.5156, allocations: 12.56 kB / 495.3 MB, free: 11.04 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.5156, allocations: 35.03 kB / 495.4 MB, free: 11 MB / 330.7 MB Notification: Performance of pre-optimization done (n=25): time 4.358e-06/0.5156, allocations: 0 / 495.4 MB, free: 11 MB / 330.7 MB Notification: Performance of matching and sorting (n=25): time 0.000482/0.5161, allocations: 214 kB / 495.6 MB, free: 10.95 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.324e-05/0.5162, allocations: 55.86 kB / 495.6 MB, free: 10.89 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/0.5163, allocations: 125.5 kB / 495.8 MB, free: 10.79 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.496e-05/0.5163, allocations: 26.31 kB / 495.8 MB, free: 10.76 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.5165, allocations: 197.2 kB / 496 MB, free: 10.6 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.265e-05/0.5165, allocations: 86.12 kB / 496.1 MB, free: 10.55 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.337e-05/0.5166, allocations: 0 / 496.1 MB, free: 10.55 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.283e-05/0.5166, allocations: 323.1 kB / 496.4 MB, free: 10.23 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001144/0.5168, allocations: 73.78 kB / 496.4 MB, free: 10.23 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001601/0.5169, allocations: 157.2 kB / 496.6 MB, free: 10.13 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001903/0.5171, allocations: 110.2 kB / 496.7 MB, free: 10.12 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.5171, allocations: 0 / 496.7 MB, free: 10.12 MB / 330.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004436/0.5176, allocations: 262.7 kB / 497 MB, free: 10.07 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.5176, allocations: 7.75 kB / 497 MB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.5176, allocations: 3.875 kB / 497 MB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.267e-05/0.5177, allocations: 8.828 kB / 497 MB, free: 10.06 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006278/0.5183, allocations: 132.1 kB / 497.1 MB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001122/0.5194, allocations: 2.388 MB / 499.5 MB, free: 7.703 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000296/0.5197, allocations: 25.92 kB / 499.5 MB, free: 7.691 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.085e-05/0.5198, allocations: 13.22 kB / 499.5 MB, free: 7.691 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 0.0001144/0.5199, allocations: 115.9 kB / 499.6 MB, free: 7.578 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.872e-05/0.52, allocations: 12.34 kB / 499.7 MB, free: 7.57 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008108/0.5208, allocations: 375.9 kB / 0.4883 GB, free: 7.465 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.5208, allocations: 7.812 kB / 0.4883 GB, free: 7.461 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.5208, allocations: 0 / 0.4883 GB, free: 7.461 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.5208, allocations: 5.438 kB / 0.4883 GB, free: 7.457 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003639/0.5212, allocations: 272.8 kB / 0.4886 GB, free: 7.293 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.5212, allocations: 3.938 kB / 0.4886 GB, free: 7.289 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005316/0.5217, allocations: 116.7 kB / 0.4887 GB, free: 7.285 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.807e-06/0.5218, allocations: 3.938 kB / 0.4887 GB, free: 7.285 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.539e-05/0.5218, allocations: 6.266 kB / 0.4887 GB, free: 7.285 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001254/0.5231, allocations: 2.386 MB / 0.491 GB, free: 20.93 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.5231, allocations: 0 / 0.491 GB, free: 20.93 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003893/0.5235, allocations: 333.8 kB / 0.4914 GB, free: 20.79 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.009e-05/0.5236, allocations: 92.67 kB / 0.4914 GB, free: 20.68 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.828e-05/0.5236, allocations: 0 / 0.4914 GB, free: 20.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001631/0.5238, allocations: 9.312 kB / 0.4915 GB, free: 20.68 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.483e-05/0.5239, allocations: 28.08 kB / 0.4915 GB, free: 20.68 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-05/0.5239, allocations: 7.75 kB / 0.4915 GB, free: 20.68 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.78e-05/0.524, allocations: 103.6 kB / 0.4916 GB, free: 20.6 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007835/0.5248, allocations: 172.3 kB / 0.4917 GB, free: 20.54 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.0006596/0.5254, allocations: 276.6 kB / 0.492 GB, free: 20.38 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006764/0.5261, allocations: 260.1 kB / 0.4923 GB, free: 20.33 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.5261, allocations: 3.938 kB / 0.4923 GB, free: 20.32 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004085/0.5266, allocations: 166.1 kB / 0.4924 GB, free: 20.29 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002491/0.5268, allocations: 0.75 kB / 0.4924 GB, free: 20.29 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009682/0.5278, allocations: 393.4 kB / 0.4928 GB, free: 20.1 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005558/0.5284, allocations: 0.8406 MB / 0.4936 GB, free: 19.33 MB / 346.7 MB Notification: Performance of SimCode: time 6.11e-07/0.5284, allocations: 0 / 0.4936 GB, free: 19.33 MB / 346.7 MB Notification: Performance of Templates: time 0.00927/0.5376, allocations: 4.835 MB / 0.4983 GB, free: 16.93 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)