Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_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.General.dp_volumeFlowRate_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|V_flow.1.|V_flow.2.|V_flow.3.|a.1.|a.2.|a.3.|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_dp.1.|input_dp.2.|input_dp.3.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|DP.1.|DP.2.|DP.3.|DP_plot.1.|DP_plot.2.|DP_plot.3.|input_DP.y",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002694/0.002694, allocations: 362.9 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.445/4.445, allocations: 388.9 MB / 405.6 MB, free: 10.23 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.00353/0.00353, allocations: 231 kB / 451 MB, free: 145.1 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.5702/0.5702, allocations: 80.03 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004701/0.0004703, allocations: 12 kB / 0.6265 GB, free: 96.52 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1061, allocations: 54.87 MB / 0.6801 GB, free: 41.64 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4637/0.5699, allocations: 84.44 MB / 0.7626 GB, free: 0.8867 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003929/0.5703, allocations: 105.4 kB / 0.7627 GB, free: 0.8242 MB / 346.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Fluid/Dissipation.mo:5587:11-5590:61:writable] Error: Type mismatch in binding rho = rho, expected subtype of Real[3], got type Real. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Fluid/Dissipation.mo:5598:11-5601:59:writable] Error: Type mismatch in binding rho = rho, expected subtype of Real[3], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.02908/0.5994, allocations: 6.018 MB / 0.7686 GB, free: 11.67 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.5995, allocations: 0 / 0.7686 GB, free: 11.67 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.509e-05/0.5995, allocations: 3.938 kB / 0.7686 GB, free: 11.67 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0008068/0.6003, allocations: 459.9 kB / 0.769 GB, free: 11.18 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.6004, allocations: 11.97 kB / 0.769 GB, free: 11.17 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007874/0.6012, allocations: 78.78 kB / 0.7691 GB, free: 11.1 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003363/0.6015, allocations: 218 kB / 0.7693 GB, free: 10.85 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.245e-05/0.6016, allocations: 7.062 kB / 0.7693 GB, free: 10.85 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.329e-05/0.6016, allocations: 14.62 kB / 0.7693 GB, free: 10.84 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008261/0.6025, allocations: 282.3 kB / 0.7696 GB, free: 10.61 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.6025, allocations: 4 kB / 0.7696 GB, free: 10.6 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.554e-05/0.6026, allocations: 3.438 kB / 0.7696 GB, free: 10.6 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.725e-05/0.6026, allocations: 22.75 kB / 0.7696 GB, free: 10.58 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000874/0.6035, allocations: 270 kB / 0.7699 GB, free: 10.38 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001969/0.6055, allocations: 0.7899 MB / 0.7706 GB, free: 9.562 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006825/0.6062, allocations: 189.1 kB / 0.7708 GB, free: 9.387 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000308/0.6065, allocations: 71.02 kB / 0.7709 GB, free: 9.32 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.715e-05/0.6066, allocations: 7.5 kB / 0.7709 GB, free: 9.316 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.291e-05/0.6066, allocations: 38.59 kB / 0.7709 GB, free: 9.27 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 3.106e-06/0.6067, allocations: 0 / 0.7709 GB, free: 9.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.001163/0.6078, allocations: 262.5 kB / 0.7712 GB, free: 9.027 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.721e-05/0.6079, allocations: 58.58 kB / 0.7712 GB, free: 8.961 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002853/0.6082, allocations: 184.4 kB / 0.7714 GB, free: 8.789 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.216e-05/0.6082, allocations: 25.7 kB / 0.7714 GB, free: 8.758 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/0.6084, allocations: 139.6 kB / 0.7716 GB, free: 8.633 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.611e-05/0.6084, allocations: 39.12 kB / 0.7716 GB, free: 8.598 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.344e-05/0.6085, allocations: 7.438 kB / 0.7716 GB, free: 8.594 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.6086, allocations: 329.5 kB / 0.7719 GB, free: 8.27 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003192/0.609, allocations: 70.67 kB / 0.772 GB, free: 8.207 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003726/0.6094, allocations: 129.2 kB / 0.7721 GB, free: 8.066 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00038/0.6097, allocations: 93.86 kB / 0.7722 GB, free: 7.988 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.6098, allocations: 0 / 0.7722 GB, free: 7.988 MB / 362.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0009605/0.6107, allocations: 256.8 kB / 0.7725 GB, free: 7.758 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.712e-05/0.6108, allocations: 8 kB / 0.7725 GB, free: 7.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.6108, allocations: 0.625 kB / 0.7725 GB, free: 7.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.102e-05/0.6108, allocations: 8.219 kB / 0.7725 GB, free: 7.742 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007521/0.6116, allocations: 82.73 kB / 0.7725 GB, free: 7.668 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001462/0.6131, allocations: 1.787 MB / 0.7743 GB, free: 5.828 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003875/0.6135, allocations: 23.73 kB / 0.7743 GB, free: 5.805 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.049e-05/0.6136, allocations: 19.55 kB / 0.7743 GB, free: 5.789 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 initialization (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002411/0.6138, allocations: 149 kB / 0.7745 GB, free: 5.641 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.787e-05/0.6139, allocations: 8 kB / 0.7745 GB, free: 5.633 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001375/0.6153, allocations: 296.8 kB / 0.7748 GB, free: 5.371 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/0.6153, allocations: 4 kB / 0.7748 GB, free: 5.367 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.6153, allocations: 0 / 0.7748 GB, free: 5.367 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.6153, allocations: 0 / 0.7748 GB, free: 5.367 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000433/0.6158, allocations: 238 kB / 0.775 GB, free: 5.109 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.6158, allocations: 0 / 0.775 GB, free: 5.109 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005511/0.6164, allocations: 71.2 kB / 0.7751 GB, free: 5.047 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.043e-06/0.6164, allocations: 3.938 kB / 0.7751 GB, free: 5.043 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.286e-05/0.6164, allocations: 4 kB / 0.7751 GB, free: 5.039 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0013/0.6177, allocations: 1.789 MB / 0.7768 GB, free: 3.195 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.6178, allocations: 32 / 0.7768 GB, free: 3.195 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007344/0.6185, allocations: 267.4 kB / 0.7771 GB, free: 2.941 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.633e-05/0.6186, allocations: 92.92 kB / 0.7772 GB, free: 2.832 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.348e-05/0.6187, allocations: 3.25 kB / 0.7772 GB, free: 2.832 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002555/0.619, allocations: 15.48 kB / 0.7772 GB, free: 2.82 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.152e-05/0.619, allocations: 11.97 kB / 0.7772 GB, free: 2.809 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.412e-05/0.6191, allocations: 4 kB / 0.7772 GB, free: 2.805 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002175/0.6193, allocations: 153.9 kB / 0.7773 GB, free: 2.672 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6193, allocations: 3.938 kB / 0.7773 GB, free: 2.668 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005327/0.6199, allocations: 66.56 kB / 0.7774 GB, free: 2.609 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 (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003614/0.6202, allocations: 150.1 kB / 0.7776 GB, free: 2.457 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001067/0.6213, allocations: 204.2 kB / 0.7777 GB, free: 2.281 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/0.6213, allocations: 0 / 0.7777 GB, free: 2.281 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005898/0.6219, allocations: 110.4 kB / 0.7779 GB, free: 2.188 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000438/0.6224, allocations: 18.55 kB / 0.7779 GB, free: 2.176 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001315/0.6237, allocations: 443.3 kB / 0.7783 GB, free: 1.742 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005575/0.6243, allocations: 0.7551 MB / 0.779 GB, free: 0.9648 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000363/0.6247, allocations: 49.39 kB / 0.7791 GB, free: 0.918 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001349/0.6248, allocations: 23.42 kB / 0.7791 GB, free: 0.8945 MB / 362.7 MB Notification: Performance of SimCode: time 1.723e-06/0.6249, allocations: 0 / 0.7791 GB, free: 0.8945 MB / 362.7 MB Notification: Performance of Templates: time 0.01096/0.6358, allocations: 3.076 MB / 0.7821 GB, free: 13.87 MB / 378.7 MB