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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001363/0.001363, allocations: 166.6 kB / 7.636 MB, free: 1.418 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.313/1.313, allocations: 170.7 MB / 178.7 MB, free: 15.63 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.002018/0.002018, allocations: 111.4 kB / 218 MB, free: 8.41 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.1992/0.1992, allocations: 37.99 MB / 295.1 MB, free: 9.492 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.566e-05/1.567e-05, allocations: 2.094 kB / 350 MB, free: 37.01 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.096/0.09603, allocations: 48.72 MB / 398.8 MB, free: 5.324 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4012/0.4973, allocations: 97.88 MB / 496.6 MB, free: 17.98 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002462/0.4976, allocations: 97.08 kB / 496.7 MB, free: 17.98 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 - DAE generated: time 0.06952/0.5671, allocations: 27.48 MB / 0.5119 GB, free: 7.184 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.5672, allocations: 0 / 0.5119 GB, free: 7.184 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.034e-05/0.5672, allocations: 11.56 kB / 0.5119 GB, free: 7.184 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.001773/0.569, allocations: 0.8993 MB / 0.5128 GB, free: 6.473 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.569, allocations: 11.56 kB / 0.5128 GB, free: 6.473 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001304/0.5692, allocations: 73.81 kB / 0.5129 GB, free: 6.434 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004155/0.5696, allocations: 358.7 kB / 0.5132 GB, free: 6.137 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.814e-05/0.5696, allocations: 26.62 kB / 0.5133 GB, free: 6.137 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.793e-05/0.5697, allocations: 48.91 kB / 0.5133 GB, free: 6.133 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001311/0.571, allocations: 1.216 MB / 0.5145 GB, free: 5.984 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001226/0.5723, allocations: 1.036 MB / 0.5155 GB, free: 5.746 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/0.5723, allocations: 0 / 0.5155 GB, free: 5.746 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.133e-05/0.5724, allocations: 0 / 0.5155 GB, free: 5.746 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.348e-05/0.5725, allocations: 75.97 kB / 0.5156 GB, free: 5.734 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003824/0.5763, allocations: 2.774 MB / 0.5183 GB, free: 4.18 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006749/0.577, allocations: 391.8 kB / 0.5187 GB, free: 4.102 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001381/0.5771, allocations: 116.8 kB / 0.5188 GB, free: 4.082 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.611e-05/0.5772, allocations: 11.95 kB / 0.5188 GB, free: 4.074 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.638e-05/0.5772, allocations: 38.41 kB / 0.5188 GB, free: 4.035 MB / 330.7 MB Notification: Performance of pre-optimization done (n=34): time 1.633e-06/0.5772, allocations: 0 / 0.5188 GB, free: 4.035 MB / 330.7 MB Notification: Performance of matching and sorting (n=34): time 0.0004847/0.5777, allocations: 309.7 kB / 0.5191 GB, free: 3.941 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.868e-05/0.5777, allocations: 58.66 kB / 0.5192 GB, free: 3.879 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001602/0.5779, allocations: 181.5 kB / 0.5193 GB, free: 3.754 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.647e-05/0.578, allocations: 25.7 kB / 0.5194 GB, free: 3.723 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00015/0.5781, allocations: 387.7 kB / 0.5197 GB, free: 3.41 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.441e-05/0.5782, allocations: 116.1 kB / 0.5198 GB, free: 3.324 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.913e-05/0.5782, allocations: 0 / 0.5198 GB, free: 3.324 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.853e-05/0.5783, allocations: 336.7 kB / 0.5202 GB, free: 3.004 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001669/0.5785, allocations: 124.3 kB / 0.5203 GB, free: 2.98 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002131/0.5787, allocations: 311.2 kB / 0.5206 GB, free: 2.719 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001998/0.5789, allocations: 188.1 kB / 0.5208 GB, free: 2.66 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/0.5789, allocations: 0 / 0.5208 GB, free: 2.66 MB / 330.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0005572/0.5795, allocations: 468.1 kB / 0.5212 GB, free: 2.32 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.5795, allocations: 4 kB / 0.5212 GB, free: 2.316 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.517e-06/0.5795, allocations: 8 kB / 0.5212 GB, free: 2.309 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.264e-05/0.5795, allocations: 12 kB / 0.5212 GB, free: 2.297 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000665/0.5802, allocations: 203 kB / 0.5214 GB, free: 2.105 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001216/0.5814, allocations: 3.013 MB / 0.5244 GB, free: 15 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003129/0.5818, allocations: 43.58 kB / 0.5244 GB, free: 14.96 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.325e-05/0.5818, allocations: 31.61 kB / 0.5244 GB, free: 14.93 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.0001455/0.582, allocations: 139.7 kB / 0.5246 GB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.126e-05/0.5821, allocations: 31.67 kB / 0.5246 GB, free: 14.76 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001114/0.5832, allocations: 0.5088 MB / 0.5251 GB, free: 14.32 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.5832, allocations: 4 kB / 0.5251 GB, free: 14.32 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.5832, allocations: 0 / 0.5251 GB, free: 14.32 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/0.5832, allocations: 7.969 kB / 0.5251 GB, free: 14.31 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00134/0.5846, allocations: 0.9707 MB / 0.5261 GB, free: 13.41 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.5846, allocations: 0 / 0.5261 GB, free: 13.41 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00062/0.5852, allocations: 171.5 kB / 0.5262 GB, free: 13.25 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.105e-06/0.5852, allocations: 4 kB / 0.5262 GB, free: 13.24 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.841e-05/0.5853, allocations: 11.98 kB / 0.5262 GB, free: 13.23 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001457/0.5867, allocations: 2.971 MB / 0.5291 GB, free: 10.16 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.5867, allocations: 4.031 kB / 0.5291 GB, free: 10.16 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005612/0.5873, allocations: 0.5318 MB / 0.5297 GB, free: 9.594 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.255e-05/0.5874, allocations: 108.7 kB / 0.5298 GB, free: 9.469 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.567e-05/0.5874, allocations: 4 kB / 0.5298 GB, free: 9.465 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001966/0.5876, allocations: 11.98 kB / 0.5298 GB, free: 9.453 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.9e-05/0.5877, allocations: 39.59 kB / 0.5298 GB, free: 9.418 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.338e-05/0.5878, allocations: 19.98 kB / 0.5298 GB, free: 9.398 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.494e-05/0.5879, allocations: 124 kB / 0.53 GB, free: 9.293 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5879, allocations: 0 / 0.53 GB, free: 9.293 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001331/0.5892, allocations: 354.5 kB / 0.5303 GB, free: 8.949 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.001013/0.5902, allocations: 427.8 kB / 0.5307 GB, free: 8.531 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008346/0.5911, allocations: 385.9 kB / 0.5311 GB, free: 8.215 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.5911, allocations: 4.375 kB / 0.5311 GB, free: 8.211 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004513/0.5916, allocations: 207 kB / 0.5313 GB, free: 8.031 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002549/0.5918, allocations: 20.11 kB / 0.5313 GB, free: 8.012 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001445/0.5933, allocations: 0.7928 MB / 0.5321 GB, free: 7.215 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006212/0.5939, allocations: 1.006 MB / 0.533 GB, free: 6.199 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005312/0.5945, allocations: 166.9 kB / 0.5332 GB, free: 6.039 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001048/0.5946, allocations: 47.16 kB / 0.5333 GB, free: 5.996 MB / 346.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5946, allocations: 3.938 kB / 0.5333 GB, free: 5.992 MB / 346.7 MB Notification: Performance of Templates: time 0.01355/0.6081, allocations: 7.54 MB / 0.5406 GB, free: 14.48 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)