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_nominalPressureLossLawDensity_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_nominalPressureLossLawDensity_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|A_cross|A_cross_nom|dp_nom|m_flow_nom|exp|NominalMassFlowRate|V_flow_nom|zeta_TOT|zeta_TOT_nom|rho_nom|rho.1.|rho.2.|rho.3.|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_nominalPressureLossLawDensity_DPMFLOW") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004986/0.004993, allocations: 359.5 kB / 15.95 MB, free: 6.207 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.513/4.513, 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.003547/0.003547, allocations: 238 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.6652/0.6652, allocations: 80.02 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006597/0.0006601, allocations: 16 kB / 0.6265 GB, free: 96.51 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1075, allocations: 54.87 MB / 0.6801 GB, free: 41.62 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4813/0.5889, allocations: 87.87 MB / 0.7659 GB, free: 13.48 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004027/0.5894, allocations: 98.81 kB / 0.766 GB, free: 13.42 MB / 362.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Fluid/Dissipation.mo:5367:11-5379:61:writable] Error: Type mismatch in binding A_cross = A_cross, 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:5381:11-5382:129:writable] Error: Type mismatch in binding zeta_TOT = zeta_TOT, expected subtype of Real[3], got type (type .Modelica.Icons.TypeReal bc:Real). [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Fluid/Dissipation.mo:5385:11-5397:67:writable] Error: Type mismatch in binding A_cross = A_cross, 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:5399:11-5400:123:writable] Error: Type mismatch in binding zeta_TOT = zeta_TOT, expected subtype of Real[3], got type (type .Modelica.Icons.TypeReal bc:Real). Notification: Performance of FrontEnd - DAE generated: time 0.03956/0.6289, allocations: 8.894 MB / 0.7747 GB, free: 5.656 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.629, allocations: 0 / 0.7747 GB, free: 5.656 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.35e-05/0.629, allocations: 4 kB / 0.7747 GB, free: 5.652 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: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.0009358/0.63, allocations: 0.5298 MB / 0.7752 GB, free: 5.09 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.63, allocations: 8.031 kB / 0.7752 GB, free: 5.082 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.275e-05/0.6301, allocations: 35.58 kB / 0.7753 GB, free: 5.047 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003444/0.6305, allocations: 233.9 kB / 0.7755 GB, free: 4.785 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.571e-05/0.6306, allocations: 31.66 kB / 0.7755 GB, free: 4.766 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.702e-05/0.6306, allocations: 34.31 kB / 0.7756 GB, free: 4.742 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00116/0.6318, allocations: 488.5 kB / 0.776 GB, free: 4.383 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/0.6318, allocations: 0 / 0.776 GB, free: 4.383 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.216e-05/0.6319, allocations: 10.75 kB / 0.776 GB, free: 4.383 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.705e-05/0.632, allocations: 32.88 kB / 0.7761 GB, free: 4.352 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00107/0.633, allocations: 434.6 kB / 0.7765 GB, free: 4.047 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002367/0.6354, allocations: 1.177 MB / 0.7776 GB, free: 2.91 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002995/0.6358, allocations: 86.78 kB / 0.7777 GB, free: 2.828 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002066/0.636, allocations: 43.95 kB / 0.7778 GB, free: 2.789 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.686e-05/0.6361, allocations: 20.02 kB / 0.7778 GB, free: 2.77 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/0.6361, allocations: 30.56 kB / 0.7778 GB, free: 2.73 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 2.475e-06/0.6361, allocations: 0 / 0.7778 GB, free: 2.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007545/0.6369, allocations: 169.8 kB / 0.778 GB, free: 2.578 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.536e-05/0.6369, allocations: 55.36 kB / 0.778 GB, free: 2.512 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002117/0.6372, allocations: 170.3 kB / 0.7782 GB, free: 2.348 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.607e-05/0.6372, allocations: 25.7 kB / 0.7782 GB, free: 2.316 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001732/0.6374, allocations: 217.5 kB / 0.7784 GB, free: 2.113 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.452e-05/0.6374, allocations: 30.8 kB / 0.7784 GB, free: 2.086 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.419e-05/0.6375, allocations: 3.5 kB / 0.7784 GB, free: 2.086 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.6376, allocations: 329.8 kB / 0.7788 GB, free: 1.762 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002396/0.6379, allocations: 54.89 kB / 0.7788 GB, free: 1.715 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003364/0.6382, allocations: 172.7 kB / 0.779 GB, free: 1.504 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002907/0.6385, allocations: 86.17 kB / 0.7791 GB, free: 1.434 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.177e-06/0.6385, allocations: 0 / 0.7791 GB, free: 1.434 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008078/0.6394, allocations: 265.1 kB / 0.7793 GB, free: 1.203 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.45e-05/0.6394, allocations: 4 kB / 0.7793 GB, free: 1.199 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.6394, allocations: 4 kB / 0.7793 GB, free: 1.195 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.898e-05/0.6395, allocations: 8 kB / 0.7793 GB, free: 1.188 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005864/0.6401, allocations: 98.3 kB / 0.7794 GB, free: 1.102 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001233/0.6413, allocations: 1.784 MB / 0.7812 GB, free: 15.26 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002626/0.6416, allocations: 30.67 kB / 0.7812 GB, free: 15.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.925e-05/0.6417, allocations: 15.31 kB / 0.7812 GB, free: 15.22 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 7 (dp_IN_con[3].target,dp_IN_con[2].target,dp_IN_con[1].target,m_flow_IN_con[3].target,m_flow_IN_con[2].target,m_flow_IN_con[1].target,NominalMassFlowRate) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 22 * 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.0003107/0.642, allocations: 179 kB / 0.7814 GB, free: 15.05 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.836e-05/0.642, allocations: 11.91 kB / 0.7814 GB, free: 15.04 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008448/0.6429, allocations: 204.2 kB / 0.7816 GB, free: 14.87 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.6429, allocations: 0 / 0.7816 GB, free: 14.87 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.495e-06/0.6429, allocations: 7.953 kB / 0.7816 GB, free: 14.86 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.6429, allocations: 0 / 0.7816 GB, free: 14.86 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005038/0.6435, allocations: 300.1 kB / 0.7819 GB, free: 14.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.6435, allocations: 0 / 0.7819 GB, free: 14.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000413/0.6439, allocations: 70.72 kB / 0.7819 GB, free: 14.49 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.095e-06/0.6439, allocations: 7.938 kB / 0.7819 GB, free: 14.48 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.073e-05/0.6439, allocations: 7.375 kB / 0.782 GB, free: 14.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001228/0.6452, allocations: 1.772 MB / 0.7837 GB, free: 12.65 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.6452, allocations: 3.953 kB / 0.7837 GB, free: 12.65 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005455/0.6458, allocations: 225 kB / 0.7839 GB, free: 12.43 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.099e-05/0.6459, allocations: 84.92 kB / 0.784 GB, free: 12.33 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.879e-05/0.6459, allocations: 7.984 kB / 0.784 GB, free: 12.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001481/0.6461, allocations: 4 kB / 0.784 GB, free: 12.32 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.885e-05/0.6462, allocations: 11.23 kB / 0.784 GB, free: 12.31 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.453e-05/0.6462, allocations: 7.953 kB / 0.784 GB, free: 12.3 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001341/0.6463, allocations: 112.6 kB / 0.7841 GB, free: 12.2 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.6464, allocations: 4 kB / 0.7841 GB, free: 12.2 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006962/0.6471, allocations: 106.1 kB / 0.7842 GB, free: 12.1 MB / 378.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 (7): * Single equations (assignments): 4 * 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.0004395/0.6475, allocations: 177.3 kB / 0.7844 GB, free: 11.92 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009441/0.6485, allocations: 197.4 kB / 0.7846 GB, free: 11.75 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/0.6485, allocations: 0 / 0.7846 GB, free: 11.75 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005241/0.649, allocations: 93.7 kB / 0.7847 GB, free: 11.67 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003872/0.6494, allocations: 6.297 kB / 0.7847 GB, free: 11.67 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00132/0.6508, allocations: 0.5873 MB / 0.7853 GB, free: 11.08 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000503/0.6513, allocations: 0.8047 MB / 0.786 GB, free: 10.26 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003502/0.6517, allocations: 65.19 kB / 0.7861 GB, free: 10.2 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.173e-05/0.6517, allocations: 15.44 kB / 0.7861 GB, free: 10.18 MB / 378.7 MB Notification: Performance of SimCode: time 1.413e-06/0.6518, allocations: 0 / 0.7861 GB, free: 10.18 MB / 378.7 MB Notification: Performance of Templates: time 0.01116/0.6629, allocations: 3.264 MB / 0.7893 GB, free: 6.973 MB / 378.7 MB