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_turbulent_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_turbulent_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.1.|K.2.|K.3.|K.4.|L|eta|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_mdot.4.|input_dp.1.|input_dp.2.|input_dp.3.|input_dp.4.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|M_FLOW.4.|DP.1.|DP.2.|DP.3.|DP.4.|velocity.1.|velocity.2.|velocity.3.|velocity.4.|Re.1.|Re.2.|Re.3.|Re.4.|DP_plot.1.|DP_plot.2.|DP_plot.3.|DP_plot.4.|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|zeta_TOT.4.|lambda_FRI.1.|lambda_FRI.2.|lambda_FRI.3.|lambda_FRI.4.|input_DP.y",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002712/0.002717, allocations: 352.3 kB / 15.95 MB, free: 6.215 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.808/3.808, allocations: 341.5 MB / 358.2 MB, free: 12.64 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003518/0.003518, allocations: 217.1 kB / 397.9 MB, free: 4.984 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4876/0.4876, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004916/0.0004918, allocations: 12 kB / 0.5592 GB, free: 53.44 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09114/0.09166, allocations: 48.71 MB / 0.6068 GB, free: 4.629 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.002278/0.09401, allocations: 1.485 MB / 0.6082 GB, free: 3.129 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0029/0.09697, allocations: 1.521 MB / 0.6097 GB, free: 1.605 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001306/0.09716, allocations: 0 / 0.6097 GB, free: 1.605 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002811/0.09746, allocations: 39.75 kB / 0.6097 GB, free: 1.566 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003464/0.09782, allocations: 75.64 kB / 0.6098 GB, free: 1.492 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.3276/0.4254, allocations: 344.3 kB / 0.6101 GB, free: 88.68 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004472/0.4259, allocations: 265.4 kB / 0.6104 GB, free: 88.68 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.426, allocations: 34.77 kB / 0.6104 GB, free: 88.68 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001935/0.4262, allocations: 85.31 kB / 0.6105 GB, free: 88.68 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002353/0.4265, allocations: 125.3 kB / 0.6106 GB, free: 88.65 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.626e-05/0.4265, allocations: 6.875 kB / 0.6106 GB, free: 88.65 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001653/0.4282, allocations: 0.6584 MB / 0.6113 GB, free: 88.62 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00014/0.4284, allocations: 74.56 kB / 0.6114 GB, free: 88.6 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.975e-05/0.4285, allocations: 66.7 kB / 0.6114 GB, free: 88.56 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008891/0.4294, allocations: 348.9 kB / 0.6118 GB, free: 88.54 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.4294, allocations: 1.625 kB / 0.6118 GB, free: 88.54 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.4294, allocations: 0 / 0.6118 GB, free: 88.54 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.4294, allocations: 0.9688 kB / 0.6118 GB, free: 88.54 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001154/0.4306, allocations: 0.5864 MB / 0.6123 GB, free: 88.07 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.282e-05/0.4307, allocations: 15.19 kB / 0.6123 GB, free: 88.07 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.423e-05/0.4308, allocations: 32.91 kB / 0.6124 GB, free: 88.05 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003379/0.4311, allocations: 233.1 kB / 0.6126 GB, free: 87.83 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.127e-05/0.4312, allocations: 20.94 kB / 0.6126 GB, free: 87.83 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.216e-05/0.4312, allocations: 24.69 kB / 0.6126 GB, free: 87.83 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001195/0.4324, allocations: 473.2 kB / 0.6131 GB, free: 87.79 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.864e-05/0.4325, allocations: 6.219 kB / 0.6131 GB, free: 87.79 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.245e-05/0.4325, allocations: 8.625 kB / 0.6131 GB, free: 87.79 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001021/0.4326, allocations: 46.78 kB / 0.6131 GB, free: 87.79 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001535/0.4342, allocations: 0.5562 MB / 0.6137 GB, free: 87.79 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002899/0.4371, allocations: 1.315 MB / 0.615 GB, free: 87.08 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008574/0.438, allocations: 281.4 kB / 0.6152 GB, free: 87.05 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000345/0.4384, allocations: 100.7 kB / 0.6153 GB, free: 87.04 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.886e-05/0.4385, allocations: 12.09 kB / 0.6154 GB, free: 87.04 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.4385, allocations: 35.67 kB / 0.6154 GB, free: 87 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 3.356e-06/0.4385, allocations: 0 / 0.6154 GB, free: 87 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.001239/0.4398, allocations: 344.5 kB / 0.6157 GB, free: 86.96 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.607e-05/0.4398, allocations: 54.38 kB / 0.6158 GB, free: 86.89 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001593/0.44, allocations: 141.6 kB / 0.6159 GB, free: 86.79 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.074e-05/0.44, allocations: 31.88 kB / 0.6159 GB, free: 86.75 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.4402, allocations: 189 kB / 0.6161 GB, free: 86.61 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.134e-05/0.4403, allocations: 88.25 kB / 0.6162 GB, free: 86.55 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.366e-05/0.4403, allocations: 6.781 kB / 0.6162 GB, free: 86.55 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.843e-05/0.4404, allocations: 323.3 kB / 0.6165 GB, free: 86.24 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003491/0.4407, allocations: 97.36 kB / 0.6166 GB, free: 86.24 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004114/0.4412, allocations: 177.9 kB / 0.6168 GB, free: 86.14 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004008/0.4416, allocations: 119.8 kB / 0.6169 GB, free: 86.14 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.4416, allocations: 1.375 kB / 0.6169 GB, free: 86.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001003/0.4426, allocations: 340.2 kB / 0.6172 GB, free: 86.08 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.4427, allocations: 6.984 kB / 0.6172 GB, free: 86.08 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.4427, allocations: 3 kB / 0.6172 GB, free: 86.08 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.604e-05/0.4427, allocations: 4.531 kB / 0.6172 GB, free: 86.08 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008985/0.4436, allocations: 125 kB / 0.6173 GB, free: 86.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001067/0.4447, allocations: 2.362 MB / 0.6197 GB, free: 83.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003214/0.445, allocations: 36.02 kB / 0.6197 GB, free: 83.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.756e-05/0.4451, allocations: 12.95 kB / 0.6197 GB, free: 83.72 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000293/0.4454, allocations: 193.1 kB / 0.6199 GB, free: 83.59 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.659e-05/0.4455, allocations: 15.16 kB / 0.6199 GB, free: 83.59 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001292/0.4468, allocations: 363.7 kB / 0.6202 GB, free: 83.54 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.4468, allocations: 4.219 kB / 0.6202 GB, free: 83.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.4468, allocations: 3.188 kB / 0.6203 GB, free: 83.54 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.238e-05/0.4469, allocations: 95.11 kB / 0.6203 GB, free: 83.44 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.37e-05/0.4469, allocations: 4.969 kB / 0.6203 GB, free: 83.44 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002497/0.4472, allocations: 16.38 kB / 0.6204 GB, free: 83.43 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.849e-05/0.4473, allocations: 24.67 kB / 0.6204 GB, free: 83.43 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001557/0.4489, allocations: 480.3 kB / 0.6208 GB, free: 83.28 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001346/0.4502, allocations: 0.5831 MB / 0.6214 GB, free: 83.07 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003949/0.4507, allocations: 120.5 kB / 0.6215 GB, free: 83.07 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.685e-05/0.4507, allocations: 96.14 kB / 0.6216 GB, free: 82.99 MB / 362.7 MB Notification: Performance of Backend: time 9.22e-07/0.4508, allocations: 4.375 kB / 0.6216 GB, free: 82.99 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00205/0.4528, allocations: 433.2 kB / 0.622 GB, free: 82.88 MB / 362.7 MB Notification: Performance of SimCode: time 0.001481/0.4543, allocations: 1.115 MB / 0.6231 GB, free: 82.04 MB / 362.7 MB Notification: Performance of Templates: time 0.01512/0.4695, allocations: 4.896 MB / 0.6279 GB, free: 81.77 MB / 362.7 MB