Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.1.|L|eta|rho|input_mdot.1.|input_dp.1.|M_FLOW.1.|DP.1.|velocity.1.|Re.1.|DP_plot.1.|zeta_TOT.1.|lambda_FRI.1.|input_DP.y",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003834/0.00384, allocations: 346.8 kB / 15.93 MB, free: 6.219 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.657/3.657, allocations: 341.5 MB / 358.2 MB, free: 28.61 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003706/0.003706, allocations: 213.1 kB / 397.8 MB, free: 6.008 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5357/0.5357, allocations: 76.1 MB / 0.5014 GB, free: 0.8125 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006741/0.0006743, allocations: 12 kB / 0.5592 GB, free: 60.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1111, allocations: 48.71 MB / 0.6068 GB, free: 11.52 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5114/0.6225, allocations: 78.75 MB / 0.6837 GB, free: 8.77 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003653/0.623, allocations: 100.6 kB / 0.6838 GB, free: 8.707 MB / 314.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.01549/0.6385, allocations: 3.464 MB / 0.6871 GB, free: 5.715 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.016e-06/0.6386, allocations: 0 / 0.6871 GB, free: 5.715 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.11e-05/0.6386, allocations: 0 / 0.6871 GB, free: 5.715 MB / 314.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.000632/0.6392, allocations: 398.5 kB / 0.6875 GB, free: 5.285 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.6393, allocations: 8.031 kB / 0.6875 GB, free: 5.277 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004237/0.6397, allocations: 39.88 kB / 0.6876 GB, free: 5.238 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002134/0.6399, allocations: 194.8 kB / 0.6877 GB, free: 5.012 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.64, allocations: 11.67 kB / 0.6878 GB, free: 5.004 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.148e-05/0.64, allocations: 8 kB / 0.6878 GB, free: 4.996 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005051/0.6405, allocations: 176.7 kB / 0.6879 GB, free: 4.84 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.6406, allocations: 7.984 kB / 0.6879 GB, free: 4.832 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.428e-05/0.6406, allocations: 2.75 kB / 0.6879 GB, free: 4.832 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.843e-05/0.6406, allocations: 15.94 kB / 0.688 GB, free: 4.816 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004969/0.6411, allocations: 141.1 kB / 0.6881 GB, free: 4.707 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001138/0.6423, allocations: 0.6554 MB / 0.6887 GB, free: 4.027 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004873/0.6428, allocations: 116.2 kB / 0.6888 GB, free: 3.918 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001908/0.643, allocations: 47.77 kB / 0.6889 GB, free: 3.875 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.6431, allocations: 0 / 0.6889 GB, free: 3.875 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.6431, allocations: 30.56 kB / 0.6889 GB, free: 3.836 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 1.874e-06/0.6431, allocations: 0 / 0.6889 GB, free: 3.836 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006866/0.6438, allocations: 153.2 kB / 0.6891 GB, free: 3.695 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.126e-05/0.6439, allocations: 55.41 kB / 0.6891 GB, free: 3.629 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.644, allocations: 127.8 kB / 0.6892 GB, free: 3.5 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.443e-05/0.644, allocations: 25.7 kB / 0.6893 GB, free: 3.469 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.212e-05/0.6441, allocations: 122.6 kB / 0.6894 GB, free: 3.348 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.6441, allocations: 18.78 kB / 0.6894 GB, free: 3.332 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.618e-06/0.6441, allocations: 7.938 kB / 0.6894 GB, free: 3.328 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.886e-05/0.6442, allocations: 318.8 kB / 0.6897 GB, free: 3.008 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001887/0.6444, allocations: 42.78 kB / 0.6898 GB, free: 2.973 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000212/0.6446, allocations: 103 kB / 0.6899 GB, free: 2.855 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002216/0.6449, allocations: 59.62 kB / 0.6899 GB, free: 2.805 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.6449, allocations: 0 / 0.6899 GB, free: 2.805 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005227/0.6454, allocations: 176.4 kB / 0.6901 GB, free: 2.648 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.6455, allocations: 8 kB / 0.6901 GB, free: 2.641 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.6455, allocations: 0 / 0.6901 GB, free: 2.641 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.303e-05/0.6455, allocations: 7.984 kB / 0.6901 GB, free: 2.633 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003396/0.6459, allocations: 39.92 kB / 0.6901 GB, free: 2.594 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.314e-05/0.6459, allocations: 7.984 kB / 0.6901 GB, free: 2.586 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001704/0.6461, allocations: 23.34 kB / 0.6902 GB, free: 2.566 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/0.6461, allocations: 4 kB / 0.6902 GB, free: 2.562 MB / 314.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 () * Number of clocked 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 0.0001204/0.6462, allocations: 126 kB / 0.6903 GB, free: 2.434 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.029e-05/0.6463, allocations: 19.48 kB / 0.6903 GB, free: 2.418 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005113/0.6468, allocations: 133.2 kB / 0.6904 GB, free: 2.301 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-06/0.6468, allocations: 0 / 0.6904 GB, free: 2.301 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.6468, allocations: 0 / 0.6904 GB, free: 2.301 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.6469, allocations: 0 / 0.6904 GB, free: 2.301 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002534/0.6471, allocations: 198.4 kB / 0.6906 GB, free: 2.07 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.6471, allocations: 3.938 kB / 0.6906 GB, free: 2.066 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002657/0.6474, allocations: 31.98 kB / 0.6907 GB, free: 2.035 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.045e-06/0.6474, allocations: 3.953 kB / 0.6907 GB, free: 2.031 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.606e-05/0.6475, allocations: 7.438 kB / 0.6907 GB, free: 2.027 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.6475, allocations: 80 / 0.6907 GB, free: 2.027 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.6475, allocations: 3.984 kB / 0.6907 GB, free: 2.023 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004672/0.648, allocations: 223.8 kB / 0.6909 GB, free: 1.805 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.611e-05/0.648, allocations: 81.02 kB / 0.691 GB, free: 1.707 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.716e-05/0.648, allocations: 3.953 kB / 0.691 GB, free: 1.703 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000159/0.6482, allocations: 11.98 kB / 0.691 GB, free: 1.691 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.598e-05/0.6483, allocations: 11.48 kB / 0.691 GB, free: 1.684 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.055e-05/0.6483, allocations: 0 / 0.691 GB, free: 1.684 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.177e-05/0.6484, allocations: 94.45 kB / 0.6911 GB, free: 1.594 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6484, allocations: 4 kB / 0.6911 GB, free: 1.59 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003739/0.6488, allocations: 27.31 kB / 0.6911 GB, free: 1.566 MB / 314.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 () * Number of clocked 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.0001827/0.649, allocations: 128.7 kB / 0.6912 GB, free: 1.438 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004829/0.6495, allocations: 109.4 kB / 0.6913 GB, free: 1.344 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.6495, allocations: 0 / 0.6913 GB, free: 1.344 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001959/0.6497, allocations: 51.09 kB / 0.6914 GB, free: 1.301 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003741/0.6501, allocations: 7.25 kB / 0.6914 GB, free: 1.297 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006313/0.6507, allocations: 304.5 kB / 0.6917 GB, free: 0.9805 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002629/0.651, allocations: 0.716 MB / 0.6924 GB, free: 244 kB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000183/0.6512, allocations: 32.36 kB / 0.6924 GB, free: 212 kB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.64e-05/0.6513, allocations: 11.44 kB / 0.6924 GB, free: 200 kB / 314.7 MB Notification: Performance of SimCode: time 1.493e-06/0.6513, allocations: 7.938 kB / 0.6924 GB, free: 192 kB / 314.7 MB Notification: Performance of Templates: time 0.005537/0.6568, allocations: 1.073 MB / 0.6935 GB, free: 15.16 MB / 330.7 MB