Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/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="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.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.003007/0.003006, allocations: 363.1 kB / 15.95 MB, free: 6.203 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 4.356/4.356, allocations: 388.9 MB / 405.6 MB, free: 9.586 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003537/0.003536, allocations: 225.7 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5419/0.5419, allocations: 80.02 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006466/0.0006468, allocations: 15.98 kB / 0.6265 GB, free: 96.52 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1028, allocations: 54.87 MB / 0.6801 GB, free: 41.64 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5354/0.6383, allocations: 85.12 MB / 0.7632 GB, free: 216 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003479/0.6387, allocations: 104.8 kB / 0.7633 GB, free: 152 kB / 346.7 MB [/var/lib/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. [/var/lib/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. [/var/lib/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. [/var/lib/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.01642/0.6551, allocations: 3.463 MB / 0.7667 GB, free: 13.15 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.538e-06/0.6552, allocations: 4 kB / 0.7667 GB, free: 13.14 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.259e-05/0.6552, allocations: 4 kB / 0.7667 GB, free: 13.14 MB / 362.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.0007133/0.6559, allocations: 401.3 kB / 0.7671 GB, free: 12.71 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.656, allocations: 8.031 kB / 0.7671 GB, free: 12.7 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004235/0.6564, allocations: 39.02 kB / 0.7671 GB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002541/0.6567, allocations: 197.8 kB / 0.7673 GB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.6567, allocations: 4 kB / 0.7673 GB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.931e-05/0.6568, allocations: 14.98 kB / 0.7674 GB, free: 12.42 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005578/0.6573, allocations: 189.1 kB / 0.7675 GB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.6574, allocations: 0 / 0.7675 GB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.58e-05/0.6574, allocations: 1.812 kB / 0.7675 GB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.752e-05/0.6574, allocations: 16.48 kB / 0.7676 GB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006218/0.6581, allocations: 150.6 kB / 0.7677 GB, free: 12.12 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001354/0.6595, allocations: 0.6446 MB / 0.7683 GB, free: 11.45 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005368/0.66, allocations: 112.8 kB / 0.7684 GB, free: 11.34 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002076/0.6603, allocations: 44.27 kB / 0.7685 GB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.084e-05/0.6603, allocations: 4 kB / 0.7685 GB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/0.6603, allocations: 34.5 kB / 0.7685 GB, free: 11.25 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 3.397e-06/0.6603, allocations: 0 / 0.7685 GB, free: 11.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007233/0.6611, allocations: 157.4 kB / 0.7687 GB, free: 11.11 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.359e-05/0.6612, allocations: 55.39 kB / 0.7687 GB, free: 11.05 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/0.6613, allocations: 136.7 kB / 0.7688 GB, free: 10.91 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.303e-05/0.6614, allocations: 29.2 kB / 0.7689 GB, free: 10.88 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.502e-05/0.6615, allocations: 115.2 kB / 0.769 GB, free: 10.76 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.206e-05/0.6615, allocations: 23.2 kB / 0.769 GB, free: 10.74 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.228e-06/0.6615, allocations: 3.125 kB / 0.769 GB, free: 10.74 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.6617, allocations: 322.4 kB / 0.7693 GB, free: 10.42 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000248/0.662, allocations: 42.78 kB / 0.7694 GB, free: 10.38 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002666/0.6623, allocations: 97.06 kB / 0.7694 GB, free: 10.27 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002632/0.6625, allocations: 56.91 kB / 0.7695 GB, free: 10.22 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.666e-06/0.6626, allocations: 0 / 0.7695 GB, free: 10.22 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006179/0.6632, allocations: 169.7 kB / 0.7697 GB, free: 10.07 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.485e-05/0.6632, allocations: 8 kB / 0.7697 GB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.6632, allocations: 3.984 kB / 0.7697 GB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.354e-05/0.6633, allocations: 4 kB / 0.7697 GB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003393/0.6636, allocations: 41.3 kB / 0.7697 GB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.317e-05/0.6637, allocations: 11.92 kB / 0.7697 GB, free: 10 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001797/0.6639, allocations: 17.86 kB / 0.7697 GB, free: 9.984 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.28e-05/0.6639, allocations: 9 kB / 0.7698 GB, free: 9.977 MB / 362.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.0001715/0.6641, allocations: 128.2 kB / 0.7699 GB, free: 9.848 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.236e-05/0.6641, allocations: 11.91 kB / 0.7699 GB, free: 9.836 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005824/0.6647, allocations: 134.9 kB / 0.77 GB, free: 9.719 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.907e-06/0.6647, allocations: 0 / 0.77 GB, free: 9.719 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.6648, allocations: 3.938 kB / 0.77 GB, free: 9.715 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.6648, allocations: 4 kB / 0.77 GB, free: 9.711 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003457/0.6651, allocations: 196.4 kB / 0.7702 GB, free: 9.484 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.69e-06/0.6652, allocations: 3.984 kB / 0.7702 GB, free: 9.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002695/0.6654, allocations: 27.98 kB / 0.7702 GB, free: 9.453 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-06/0.6655, allocations: 0 / 0.7702 GB, free: 9.453 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.6655, allocations: 0 / 0.7702 GB, free: 9.453 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.576e-06/0.6655, allocations: 0 / 0.7702 GB, free: 9.453 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.6655, allocations: 4 kB / 0.7702 GB, free: 9.449 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005709/0.6661, allocations: 229.4 kB / 0.7705 GB, free: 9.227 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.965e-05/0.6662, allocations: 85.02 kB / 0.7705 GB, free: 9.125 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.617e-05/0.6662, allocations: 0 / 0.7705 GB, free: 9.125 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001691/0.6664, allocations: 19.48 kB / 0.7706 GB, free: 9.109 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.846e-05/0.6664, allocations: 0 / 0.7706 GB, free: 9.109 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.053e-05/0.6665, allocations: 12.84 kB / 0.7706 GB, free: 9.098 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.451e-05/0.6666, allocations: 96.78 kB / 0.7707 GB, free: 9.008 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6666, allocations: 0 / 0.7707 GB, free: 9.008 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003906/0.667, allocations: 31.55 kB / 0.7707 GB, free: 8.98 MB / 362.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.0002269/0.6672, allocations: 121.3 kB / 0.7708 GB, free: 8.859 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005015/0.6678, allocations: 118 kB / 0.7709 GB, free: 8.758 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.6678, allocations: 0 / 0.7709 GB, free: 8.758 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002168/0.668, allocations: 51.61 kB / 0.771 GB, free: 8.715 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003313/0.6684, allocations: 7.578 kB / 0.771 GB, free: 8.711 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007267/0.6691, allocations: 311.7 kB / 0.7713 GB, free: 8.391 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003687/0.6695, allocations: 0.716 MB / 0.772 GB, free: 7.648 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001798/0.6697, allocations: 24.53 kB / 0.772 GB, free: 7.625 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.407e-05/0.6697, allocations: 15.42 kB / 0.772 GB, free: 7.609 MB / 362.7 MB Notification: Performance of SimCode: time 2.735e-06/0.6698, allocations: 0 / 0.772 GB, free: 7.609 MB / 362.7 MB Notification: Performance of Templates: time 0.005305/0.6751, allocations: 1.069 MB / 0.7731 GB, free: 6.586 MB / 362.7 MB