Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_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.Channel.dp_internalFlowOverall_DPMFLOW,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.1_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.1+maint.om/package.mo): time 0.003976/0.003976, allocations: 182.8 kB / 7.455 MB, free: 2.516 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.277/1.277, allocations: 170.6 MB / 178.4 MB, free: 15.43 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.001692/0.001692, allocations: 111.8 kB / 217.7 MB, free: 8.211 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.1627/0.1627, allocations: 37.97 MB / 294.8 MB, free: 9.602 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.538e-06/9.558e-06, allocations: 1.094 kB / 349.5 MB, free: 37.09 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1244, allocations: 48.71 MB / 398.2 MB, free: 5.645 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3722/0.4966, allocations: 97.81 MB / 496 MB, free: 13.44 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002539/0.4969, allocations: 94.78 kB / 496.1 MB, free: 13.42 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.1+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.1+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.1+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.07947/0.5764, allocations: 27.4 MB / 0.5113 GB, free: 3.203 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.826e-05/0.5765, allocations: 9.188 kB / 0.5113 GB, free: 3.203 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.002933/0.5794, allocations: 0.9001 MB / 0.5122 GB, free: 2.492 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.771e-05/0.5795, allocations: 7.75 kB / 0.5122 GB, free: 2.492 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005018/0.58, allocations: 78 kB / 0.5122 GB, free: 2.453 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001058/0.5811, allocations: 353.1 kB / 0.5126 GB, free: 2.164 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.073e-05/0.5812, allocations: 29.78 kB / 0.5126 GB, free: 2.16 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002122/0.5814, allocations: 43.41 kB / 0.5126 GB, free: 2.16 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00221/0.5836, allocations: 1.241 MB / 0.5139 GB, free: 2.012 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002151/0.5858, allocations: 1.059 MB / 0.5149 GB, free: 1.773 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.327e-05/0.5858, allocations: 4 kB / 0.5149 GB, free: 1.77 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.212e-05/0.5859, allocations: 4 kB / 0.5149 GB, free: 1.766 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001114/0.586, allocations: 77.08 kB / 0.515 GB, free: 1.754 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005516/0.5915, allocations: 2.802 MB / 0.5177 GB, free: 248 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001025/0.5926, allocations: 352.5 kB / 0.518 GB, free: 172 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003322/0.593, allocations: 126.1 kB / 0.5182 GB, free: 148 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.633e-05/0.5931, allocations: 9.969 kB / 0.5182 GB, free: 148 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.935e-05/0.5931, allocations: 35.92 kB / 0.5182 GB, free: 104 kB / 330.7 MB Notification: Performance of pre-optimization done (n=34): time 5.189e-06/0.5932, allocations: 1.125 kB / 0.5182 GB, free: 104 kB / 330.7 MB Notification: Performance of matching and sorting (n=34): time 0.0008032/0.594, allocations: 323.7 kB / 0.5185 GB, free: 8 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.087e-05/0.5941, allocations: 58.72 kB / 0.5186 GB, free: 15.94 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002669/0.5943, allocations: 189.4 kB / 0.5187 GB, free: 15.81 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.959e-05/0.5944, allocations: 25.7 kB / 0.5188 GB, free: 15.78 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002647/0.5946, allocations: 380.3 kB / 0.5191 GB, free: 15.47 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001134/0.5948, allocations: 117.2 kB / 0.5192 GB, free: 15.38 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.051e-05/0.5948, allocations: 0 / 0.5192 GB, free: 15.38 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.595, allocations: 333.7 kB / 0.5196 GB, free: 15.06 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002626/0.5952, allocations: 132.2 kB / 0.5197 GB, free: 15.04 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004276/0.5957, allocations: 321.4 kB / 0.52 GB, free: 14.7 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003058/0.596, allocations: 190.2 kB / 0.5202 GB, free: 14.55 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.596, allocations: 4 kB / 0.5202 GB, free: 14.54 MB / 346.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0008096/0.5968, allocations: 482.5 kB / 0.5206 GB, free: 14.12 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.853e-05/0.5968, allocations: 4 kB / 0.5206 GB, free: 14.12 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.5969, allocations: 4 kB / 0.5207 GB, free: 14.12 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.242e-05/0.5969, allocations: 16.03 kB / 0.5207 GB, free: 14.1 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008619/0.5978, allocations: 203.7 kB / 0.5209 GB, free: 13.91 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001936/0.5997, allocations: 3.027 MB / 0.5238 GB, free: 10.79 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004093/0.6001, allocations: 51.7 kB / 0.5239 GB, free: 10.74 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.349e-05/0.6002, allocations: 35.67 kB / 0.5239 GB, free: 10.71 MB / 346.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.0001788/0.6004, allocations: 128.7 kB / 0.524 GB, free: 10.58 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.429e-05/0.6005, allocations: 19.72 kB / 0.524 GB, free: 10.56 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001564/0.602, allocations: 0.6244 MB / 0.5247 GB, free: 10 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.665e-06/0.6021, allocations: 4 kB / 0.5247 GB, free: 10 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.239e-06/0.6021, allocations: 0 / 0.5247 GB, free: 10 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.6021, allocations: 7.984 kB / 0.5247 GB, free: 9.992 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001643/0.6037, allocations: 0.9799 MB / 0.5256 GB, free: 9.094 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.6037, allocations: 0 / 0.5256 GB, free: 9.094 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007089/0.6045, allocations: 179.3 kB / 0.5258 GB, free: 8.922 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.104e-05/0.6045, allocations: 4 kB / 0.5258 GB, free: 8.918 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.421e-05/0.6045, allocations: 12 kB / 0.5258 GB, free: 8.906 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001653/0.6062, allocations: 2.991 MB / 0.5287 GB, free: 5.82 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.6062, allocations: 0 / 0.5287 GB, free: 5.82 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006907/0.6069, allocations: 0.5325 MB / 0.5292 GB, free: 5.25 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.654e-05/0.607, allocations: 112.2 kB / 0.5294 GB, free: 5.125 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.79e-05/0.6071, allocations: 7.906 kB / 0.5294 GB, free: 5.117 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002222/0.6073, allocations: 15.98 kB / 0.5294 GB, free: 5.102 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.578e-05/0.6074, allocations: 27.59 kB / 0.5294 GB, free: 5.078 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.555e-05/0.6075, allocations: 19.98 kB / 0.5294 GB, free: 5.059 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0001037/0.6076, allocations: 130.6 kB / 0.5295 GB, free: 4.945 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00154/0.6091, allocations: 357.6 kB / 0.5299 GB, free: 4.602 MB / 346.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.001325/0.6105, allocations: 417 kB / 0.5303 GB, free: 4.211 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001071/0.6115, allocations: 430.3 kB / 0.5307 GB, free: 3.848 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.6115, allocations: 0 / 0.5307 GB, free: 3.848 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006566/0.6122, allocations: 254.2 kB / 0.5309 GB, free: 3.625 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000278/0.6125, allocations: 15.12 kB / 0.531 GB, free: 3.609 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001754/0.6143, allocations: 0.8102 MB / 0.5317 GB, free: 2.801 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008501/0.6151, allocations: 1.054 MB / 0.5328 GB, free: 1.738 MB / 346.7 MB Notification: Performance of SimCode: time 4.61e-07/0.6151, allocations: 0 / 0.5328 GB, free: 1.738 MB / 346.7 MB Notification: Performance of Templates: time 0.01719/0.6323, allocations: 8.161 MB / 0.5407 GB, free: 9.625 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.pipe 2>&1)