Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_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.Channel.dp_internalFlowOverall_DPMFLOW,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_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.00411/0.00411, allocations: 183.2 kB / 7.458 MB, free: 2.5 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.297/1.297, allocations: 194.2 MB / 202.1 MB, free: 8.734 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.001786/0.001786, allocations: 122.1 kB / 247.1 MB, free: 6.32 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.1618/0.1618, allocations: 39.94 MB / 331.9 MB, free: 4.883 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.193e-06/7.223e-06, allocations: 4 kB / 392.8 MB, free: 75.84 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09338/0.0934, allocations: 54.86 MB / 447.7 MB, free: 20.96 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3113/0.4048, allocations: 104.4 MB / 0.5392 GB, free: 11.79 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002871/0.4051, allocations: 94.91 kB / 0.5393 GB, free: 11.73 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Fluid/Dissipation.mo:4955:11-4956:126:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[5], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Fluid/Dissipation.mo:4977:11-4978:120:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[5], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Fluid/Dissipation.mo:4937:11-4953:48:writable] Error: Type mismatch in binding K = K, expected subtype of Real[5], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Fluid/Dissipation.mo:4959:11-4975:59:writable] Error: Type mismatch in binding K = K, expected subtype of Real[5], got type Real. Notification: Performance of FrontEnd: time 0.08015/0.4853, allocations: 27.42 MB / 0.566 GB, free: 4.75 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.501e-05/0.4853, allocations: 8 kB / 0.566 GB, free: 4.742 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.001801/0.4872, allocations: 0.906 MB / 0.5669 GB, free: 3.836 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.4872, allocations: 8.031 kB / 0.5669 GB, free: 3.828 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001703/0.4874, allocations: 75.06 kB / 0.567 GB, free: 3.754 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005277/0.4879, allocations: 345.2 kB / 0.5673 GB, free: 3.391 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.072e-05/0.488, allocations: 39.84 kB / 0.5674 GB, free: 3.352 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001059/0.4881, allocations: 44 kB / 0.5674 GB, free: 3.309 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001589/0.4897, allocations: 1.238 MB / 0.5686 GB, free: 2.508 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001402/0.4911, allocations: 1.06 MB / 0.5697 GB, free: 1.738 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/0.4911, allocations: 0 / 0.5697 GB, free: 1.738 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.252e-05/0.4912, allocations: 0 / 0.5697 GB, free: 1.738 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.135e-05/0.4913, allocations: 77.33 kB / 0.5697 GB, free: 1.668 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00448/0.4957, allocations: 2.797 MB / 0.5725 GB, free: 15.19 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005919/0.4964, allocations: 358.3 kB / 0.5728 GB, free: 14.89 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001631/0.4965, allocations: 122.5 kB / 0.5729 GB, free: 14.8 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.529e-05/0.4966, allocations: 12.25 kB / 0.5729 GB, free: 14.79 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.967e-05/0.4966, allocations: 42.03 kB / 0.573 GB, free: 14.74 MB / 394.7 MB Notification: Performance of pre-optimization done (n=34): time 2.104e-06/0.4966, allocations: 0 / 0.573 GB, free: 14.74 MB / 394.7 MB Notification: Performance of matching and sorting (n=34): time 0.000543/0.4972, allocations: 326 kB / 0.5733 GB, free: 14.46 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.254e-05/0.4972, allocations: 51.41 kB / 0.5733 GB, free: 14.4 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001669/0.4974, allocations: 186.7 kB / 0.5735 GB, free: 14.23 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.4974, allocations: 29.64 kB / 0.5735 GB, free: 14.2 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002448/0.4977, allocations: 377.6 kB / 0.5739 GB, free: 13.85 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.143e-05/0.4978, allocations: 117.2 kB / 0.574 GB, free: 13.75 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.824e-05/0.4978, allocations: 4 kB / 0.574 GB, free: 13.75 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.4979, allocations: 333.5 kB / 0.5743 GB, free: 13.42 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001788/0.4981, allocations: 129.8 kB / 0.5745 GB, free: 13.32 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002971/0.4984, allocations: 316.3 kB / 0.5748 GB, free: 12.96 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002576/0.4987, allocations: 191 kB / 0.5749 GB, free: 12.8 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.4987, allocations: 3.906 kB / 0.575 GB, free: 12.8 MB / 394.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0006797/0.4994, allocations: 483 kB / 0.5754 GB, free: 12.39 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.4994, allocations: 4 kB / 0.5754 GB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.4994, allocations: 8 kB / 0.5754 GB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.202e-05/0.4994, allocations: 12 kB / 0.5754 GB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008223/0.5003, allocations: 206.9 kB / 0.5756 GB, free: 12.16 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001893/0.5022, allocations: 3.032 MB / 0.5786 GB, free: 9.043 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003611/0.5025, allocations: 51.8 kB / 0.5786 GB, free: 8.992 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.307e-05/0.5026, allocations: 35.48 kB / 0.5787 GB, free: 8.961 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 6 (roughness,geometry[5],geometry[4],geometry[3],geometry[2],geometry[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001398/0.5027, allocations: 124 kB / 0.5788 GB, free: 8.836 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.031e-05/0.5028, allocations: 23.72 kB / 0.5788 GB, free: 8.812 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00147/0.5043, allocations: 0.6281 MB / 0.5794 GB, free: 8.258 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/0.5043, allocations: 7.984 kB / 0.5794 GB, free: 8.25 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.5043, allocations: 0 / 0.5794 GB, free: 8.25 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.5043, allocations: 0 / 0.5794 GB, free: 8.25 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001545/0.5059, allocations: 0.9758 MB / 0.5804 GB, free: 7.344 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.633e-06/0.5059, allocations: 4 kB / 0.5804 GB, free: 7.34 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006683/0.5066, allocations: 167.8 kB / 0.5806 GB, free: 7.176 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.025e-05/0.5066, allocations: 4 kB / 0.5806 GB, free: 7.172 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.089e-05/0.5066, allocations: 11.62 kB / 0.5806 GB, free: 7.164 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001618/0.5083, allocations: 2.987 MB / 0.5835 GB, free: 4.074 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.662e-06/0.5083, allocations: 4 kB / 0.5835 GB, free: 4.07 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005862/0.5089, allocations: 0.5418 MB / 0.584 GB, free: 3.496 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.445e-05/0.5089, allocations: 104.8 kB / 0.5841 GB, free: 3.375 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.154e-05/0.509, allocations: 8 kB / 0.5841 GB, free: 3.367 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002072/0.5092, allocations: 11.98 kB / 0.5841 GB, free: 3.355 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.756e-05/0.5093, allocations: 34.88 kB / 0.5842 GB, free: 3.324 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.363e-05/0.5094, allocations: 23.42 kB / 0.5842 GB, free: 3.305 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001016/0.5095, allocations: 130.3 kB / 0.5843 GB, free: 3.188 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001489/0.511, allocations: 364 kB / 0.5847 GB, free: 2.84 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001235/0.5122, allocations: 407.3 kB / 0.5851 GB, free: 2.438 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001063/0.5133, allocations: 438.7 kB / 0.5855 GB, free: 2.07 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.5133, allocations: 0 / 0.5855 GB, free: 2.07 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006298/0.5139, allocations: 246.7 kB / 0.5857 GB, free: 1.855 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002394/0.5142, allocations: 19.72 kB / 0.5857 GB, free: 1.836 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001811/0.516, allocations: 0.8135 MB / 0.5865 GB, free: 1.016 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000758/0.5168, allocations: 1.047 MB / 0.5875 GB, free: 15.96 MB / 410.7 MB Notification: Performance of SimCode: time 5.41e-07/0.5168, allocations: 0 / 0.5875 GB, free: 15.96 MB / 410.7 MB Notification: Performance of Templates: time 0.01501/0.5318, allocations: 8.17 MB / 0.5955 GB, free: 7.836 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe 2>&1)