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_laminar_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_laminar_DPMFLOW,tolerance=1e-05,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,tolerance=1e-05,outputFormat="empty",numberOfIntervals=10100,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009772/0.0009769, allocations: 187.4 kB / 7.654 MB, free: 1.402 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.424/1.424, allocations: 194.3 MB / 202.4 MB, free: 8.543 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.0017/0.0017, allocations: 121.3 kB / 247.4 MB, free: 6.199 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.1858/0.1858, allocations: 39.94 MB / 332.2 MB, free: 4.785 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.504e-05/1.508e-05, allocations: 0 / 393.3 MB, free: 75.53 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09263/0.09267, allocations: 54.88 MB / 448.2 MB, free: 20.63 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3693/0.4621, allocations: 84.36 MB / 0.5201 GB, free: 9.973 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003323/0.4625, allocations: 99.47 kB / 0.5202 GB, free: 9.949 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Fluid/Dissipation.mo:5968:11-5971:69:writable] Error: Type mismatch in binding d_hyd = d_hyd, expected subtype of Real[1], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Fluid/Dissipation.mo:5973:11-5976:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[1], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Fluid/Dissipation.mo:5979:11-5982:67:writable] Error: Type mismatch in binding d_hyd = d_hyd, expected subtype of Real[1], got type Real. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Fluid/Dissipation.mo:5984:11-5987:67:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[1], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.008579/0.4711, allocations: 3.408 MB / 0.5235 GB, free: 8.535 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.173e-06/0.4711, allocations: 0 / 0.5235 GB, free: 8.535 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.626e-06/0.4711, allocations: 0 / 0.5235 GB, free: 8.535 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0003746/0.4715, allocations: 400.3 kB / 0.5239 GB, free: 8.141 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.4715, allocations: 11.62 kB / 0.5239 GB, free: 8.141 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002609/0.4718, allocations: 39.05 kB / 0.5239 GB, free: 8.121 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001703/0.472, allocations: 186.2 kB / 0.5241 GB, free: 7.914 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.472, allocations: 8.438 kB / 0.5241 GB, free: 7.91 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.766e-05/0.472, allocations: 3.875 kB / 0.5241 GB, free: 7.91 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001936/0.4722, allocations: 94.39 kB / 0.5242 GB, free: 7.895 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002014/0.4724, allocations: 156.9 kB / 0.5244 GB, free: 7.805 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.4725, allocations: 0 / 0.5244 GB, free: 7.805 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.4725, allocations: 0 / 0.5244 GB, free: 7.805 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.963e-05/0.4725, allocations: 23.66 kB / 0.5244 GB, free: 7.789 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007033/0.4732, allocations: 0.6087 MB / 0.525 GB, free: 7.254 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000229/0.4735, allocations: 90.73 kB / 0.5251 GB, free: 7.215 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.306e-05/0.4735, allocations: 22.67 kB / 0.5251 GB, free: 7.207 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.882e-05/0.4736, allocations: 7.844 kB / 0.5251 GB, free: 7.203 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.414e-05/0.4736, allocations: 34.55 kB / 0.5251 GB, free: 7.16 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.333e-06/0.4736, allocations: 0 / 0.5251 GB, free: 7.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001769/0.4738, allocations: 77.53 kB / 0.5252 GB, free: 7.121 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.796e-05/0.4738, allocations: 51.41 kB / 0.5253 GB, free: 7.059 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.303e-05/0.4739, allocations: 115.9 kB / 0.5254 GB, free: 6.957 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.019e-05/0.4739, allocations: 25.7 kB / 0.5254 GB, free: 6.926 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.938e-05/0.4739, allocations: 123.4 kB / 0.5255 GB, free: 6.809 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.763e-05/0.474, allocations: 26.78 kB / 0.5255 GB, free: 6.789 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.462e-06/0.474, allocations: 0 / 0.5255 GB, free: 6.789 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.841e-05/0.474, allocations: 322.8 kB / 0.5259 GB, free: 6.469 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.724e-05/0.4741, allocations: 18.22 kB / 0.5259 GB, free: 6.469 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.072e-05/0.4741, allocations: 78.62 kB / 0.5259 GB, free: 6.391 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.125e-05/0.4742, allocations: 42.73 kB / 0.526 GB, free: 6.375 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.4742, allocations: 0 / 0.526 GB, free: 6.375 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001587/0.4744, allocations: 121.5 kB / 0.5261 GB, free: 6.312 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.4744, allocations: 7.5 kB / 0.5261 GB, free: 6.312 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.4744, allocations: 0 / 0.5261 GB, free: 6.312 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.4744, allocations: 3.469 kB / 0.5261 GB, free: 6.312 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001659/0.4746, allocations: 49.69 kB / 0.5262 GB, free: 6.301 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.879e-06/0.4746, allocations: 0 / 0.5262 GB, free: 6.301 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/0.4747, allocations: 23.23 kB / 0.5262 GB, free: 6.289 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.4747, allocations: 7.844 kB / 0.5262 GB, free: 6.285 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.422e-05/0.4748, allocations: 116.7 kB / 0.5263 GB, free: 6.168 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.893e-05/0.4748, allocations: 3.812 kB / 0.5263 GB, free: 6.168 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001689/0.475, allocations: 88.81 kB / 0.5264 GB, free: 6.125 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.475, allocations: 4 kB / 0.5264 GB, free: 6.121 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.78e-06/0.475, allocations: 3.984 kB / 0.5264 GB, free: 6.117 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.475, allocations: 0 / 0.5264 GB, free: 6.117 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001552/0.4752, allocations: 180.7 kB / 0.5266 GB, free: 5.938 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.4752, allocations: 0 / 0.5266 GB, free: 5.938 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001356/0.4754, allocations: 27.3 kB / 0.5266 GB, free: 5.934 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.4754, allocations: 3.812 kB / 0.5266 GB, free: 5.934 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.4754, allocations: 0 / 0.5266 GB, free: 5.934 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.4754, allocations: 0 / 0.5266 GB, free: 5.934 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.4754, allocations: 0 / 0.5266 GB, free: 5.934 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001283/0.4755, allocations: 185.5 kB / 0.5268 GB, free: 5.781 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.509e-05/0.4756, allocations: 88.69 kB / 0.5269 GB, free: 5.68 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.796e-05/0.4756, allocations: 0 / 0.5269 GB, free: 5.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.776e-05/0.4757, allocations: 7.891 kB / 0.5269 GB, free: 5.676 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.865e-05/0.4757, allocations: 3.812 kB / 0.5269 GB, free: 5.676 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.052e-06/0.4757, allocations: 3.906 kB / 0.5269 GB, free: 5.676 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.081e-05/0.4758, allocations: 95.8 kB / 0.527 GB, free: 5.598 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4758, allocations: 4 kB / 0.527 GB, free: 5.594 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002422/0.476, allocations: 26.81 kB / 0.527 GB, free: 5.586 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001427/0.4762, allocations: 121.5 kB / 0.5271 GB, free: 5.484 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000128/0.4763, allocations: 67.7 kB / 0.5272 GB, free: 5.473 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.4763, allocations: 0 / 0.5272 GB, free: 5.473 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.762e-05/0.4764, allocations: 30.48 kB / 0.5272 GB, free: 5.469 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001544/0.4765, allocations: 8.344 kB / 0.5272 GB, free: 5.465 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002839/0.4768, allocations: 133.7 kB / 0.5273 GB, free: 5.363 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001416/0.477, allocations: 0.7102 MB / 0.528 GB, free: 4.652 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 9.662e-05/0.4771, allocations: 31.58 kB / 0.5281 GB, free: 4.637 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.058e-05/0.4771, allocations: 11.31 kB / 0.5281 GB, free: 4.629 MB / 346.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4771, allocations: 0 / 0.5281 GB, free: 4.629 MB / 346.7 MB Notification: Performance of Templates: time 0.003094/0.4802, allocations: 0.9553 MB / 0.529 GB, free: 4.168 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.pipe 2>&1)