Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.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.HeatTransfer.HelicalPipe.kc_turbulent_KC,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|n_nt.1.|n_nt.2.|n_nt.3.|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|Nu.1.|Nu.2.|Nu.3.|m_flow_1.1.|m_flow_1.2.|m_flow_1.3.|m_flow_2.1.|m_flow_2.2.|m_flow_2.3.|m_flow_3.1.|m_flow_3.2.|m_flow_3.3.|kc_1.1.|kc_1.2.|kc_1.3.|kc_2.1.|kc_2.2.|kc_2.3.|kc_3.1.|kc_3.2.|kc_3.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|Re_3.1.|Re_3.2.|Re_3.3.|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002783/0.002789, allocations: 359 kB / 15.95 MB, free: 6.195 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 3.842/3.842, allocations: 388.9 MB / 405.6 MB, free: 10.32 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.0035/0.0035, allocations: 240.9 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.6027/0.6027, allocations: 80.03 MB / 0.5627 GB, free: 19.85 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004471/0.0004473, allocations: 12 kB / 0.6265 GB, free: 96.52 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09522/0.0957, allocations: 54.87 MB / 0.6801 GB, free: 41.64 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4439/0.5396, allocations: 86.88 MB / 0.7649 GB, free: 14.39 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003787/0.5401, allocations: 101.4 kB / 0.765 GB, free: 14.33 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04891/0.589, allocations: 9.401 MB / 0.7742 GB, free: 6.184 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.589, allocations: 0 / 0.7742 GB, free: 6.184 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.76e-05/0.5891, allocations: 8 kB / 0.7742 GB, free: 6.176 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.00131/0.5904, allocations: 0.5841 MB / 0.7748 GB, free: 5.566 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 9.672e-05/0.5905, allocations: 8.031 kB / 0.7748 GB, free: 5.559 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001363/0.5907, allocations: 43.48 kB / 0.7749 GB, free: 5.516 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005008/0.5912, allocations: 283.9 kB / 0.7751 GB, free: 5.211 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.851e-05/0.5912, allocations: 31.06 kB / 0.7752 GB, free: 5.191 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.265e-05/0.5913, allocations: 41.3 kB / 0.7752 GB, free: 5.164 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001402/0.5927, allocations: 0.537 MB / 0.7757 GB, free: 4.742 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.848e-05/0.5928, allocations: 0 / 0.7757 GB, free: 4.742 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.201e-05/0.5928, allocations: 25.97 kB / 0.7757 GB, free: 4.73 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.394e-05/0.5929, allocations: 28.98 kB / 0.7758 GB, free: 4.703 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001575/0.5945, allocations: 0.5824 MB / 0.7763 GB, free: 4.254 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003133/0.5977, allocations: 1.177 MB / 0.7775 GB, free: 3.176 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001149/0.5989, allocations: 374.2 kB / 0.7778 GB, free: 2.84 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004595/0.5994, allocations: 151.4 kB / 0.778 GB, free: 2.707 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.901e-05/0.5995, allocations: 8.172 kB / 0.778 GB, free: 2.699 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.204e-05/0.5995, allocations: 38.19 kB / 0.778 GB, free: 2.656 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 3.136e-06/0.5995, allocations: 0 / 0.778 GB, free: 2.656 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.001657/0.6012, allocations: 473.3 kB / 0.7785 GB, free: 2.234 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.636e-05/0.6013, allocations: 59.36 kB / 0.7785 GB, free: 2.164 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008097/0.6021, allocations: 450.9 kB / 0.779 GB, free: 1.797 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.634e-05/0.6021, allocations: 35.52 kB / 0.779 GB, free: 1.758 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001668/0.6023, allocations: 185.8 kB / 0.7792 GB, free: 1.633 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001036/0.6024, allocations: 70.95 kB / 0.7793 GB, free: 1.574 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.408e-05/0.6025, allocations: 0 / 0.7793 GB, free: 1.574 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001801/0.6027, allocations: 350.6 kB / 0.7796 GB, free: 1.238 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004422/0.6031, allocations: 126.7 kB / 0.7797 GB, free: 1.129 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004275/0.6036, allocations: 122.1 kB / 0.7798 GB, free: 1.02 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004693/0.6041, allocations: 130.1 kB / 0.7799 GB, free: 0.9102 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.6041, allocations: 4 kB / 0.78 GB, free: 0.9062 MB / 362.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001121/0.6052, allocations: 349.3 kB / 0.7803 GB, free: 0.5938 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.6053, allocations: 4 kB / 0.7803 GB, free: 0.5898 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.6053, allocations: 0 / 0.7803 GB, free: 0.5898 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.266e-05/0.6053, allocations: 4 kB / 0.7803 GB, free: 0.5859 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001389/0.6067, allocations: 159.7 kB / 0.7804 GB, free: 460 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004282/0.611, allocations: 5.527 MB / 0.7858 GB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004592/0.6115, allocations: 45.77 kB / 0.7859 GB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.645e-05/0.6116, allocations: 10.75 kB / 0.7859 GB, free: 10.74 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * 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: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003509/0.6119, allocations: 195 kB / 0.7861 GB, free: 10.55 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.467e-05/0.612, allocations: 31.62 kB / 0.7861 GB, free: 10.52 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001461/0.6135, allocations: 460.2 kB / 0.7866 GB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/0.6136, allocations: 4 kB / 0.7866 GB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.437e-06/0.6136, allocations: 11.89 kB / 0.7866 GB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.6136, allocations: 0 / 0.7866 GB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007622/0.6144, allocations: 377.8 kB / 0.7869 GB, free: 9.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.6144, allocations: 0 / 0.7869 GB, free: 9.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001485/0.6159, allocations: 161.2 kB / 0.7871 GB, free: 9.613 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.836e-06/0.6159, allocations: 0 / 0.7871 GB, free: 9.613 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.216e-05/0.616, allocations: 7.312 kB / 0.7871 GB, free: 9.609 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004175/0.6202, allocations: 5.521 MB / 0.7925 GB, free: 3.953 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/0.6202, allocations: 7.891 kB / 0.7925 GB, free: 3.945 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001232/0.6215, allocations: 448.9 kB / 0.7929 GB, free: 3.531 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001835/0.6217, allocations: 116.6 kB / 0.793 GB, free: 3.398 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.756e-05/0.6218, allocations: 7.312 kB / 0.793 GB, free: 3.395 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003549/0.6221, allocations: 15.8 kB / 0.793 GB, free: 3.383 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.587e-05/0.6222, allocations: 19.92 kB / 0.7931 GB, free: 3.363 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.445e-05/0.6223, allocations: 11.19 kB / 0.7931 GB, free: 3.355 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005878/0.6229, allocations: 331.5 kB / 0.7934 GB, free: 3.09 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6229, allocations: 4 kB / 0.7934 GB, free: 3.086 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001065/0.624, allocations: 117.9 kB / 0.7935 GB, free: 2.98 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 (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * 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: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001039/0.6251, allocations: 172.7 kB / 0.7937 GB, free: 2.805 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002341/0.6274, allocations: 414 kB / 0.7941 GB, free: 2.445 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.6275, allocations: 0 / 0.7941 GB, free: 2.445 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00159/0.6291, allocations: 288.8 kB / 0.7943 GB, free: 2.195 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009343/0.63, allocations: 74.95 kB / 0.7944 GB, free: 2.141 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002203/0.6323, allocations: 0.8813 MB / 0.7953 GB, free: 1.277 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000572/0.6329, allocations: 0.8645 MB / 0.7961 GB, free: 408 kB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004053/0.6333, allocations: 79.22 kB / 0.7962 GB, free: 332 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001235/0.6335, allocations: 27.42 kB / 0.7962 GB, free: 304 kB / 378.7 MB Notification: Performance of SimCode: time 1.112e-06/0.6335, allocations: 8 kB / 0.7962 GB, free: 296 kB / 378.7 MB Notification: Performance of Templates: time 0.02068/0.6542, allocations: 7.018 MB / 0.8031 GB, free: 9.352 MB / 394.7 MB