Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC,tolerance=1e-06,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.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC") Notification: Performance of loadModel(ModelicaTest): time 2.082/2.082, allocations: 209.2 MB / 224.8 MB, free: 1.211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000429/0.0004291, allocations: 12 kB / 282.5 MB, free: 9.742 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08454/0.08499, allocations: 48.71 MB / 331.2 MB, free: 8.938 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC): time 0.002529/0.08756, allocations: 1.598 MB / 332.8 MB, free: 7.328 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00157/0.08915, allocations: 0.8229 MB / 333.6 MB, free: 6.5 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.306e-05/0.08925, allocations: 0 / 333.6 MB, free: 6.5 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002411/0.0895, allocations: 55.72 kB / 333.7 MB, free: 6.445 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003111/0.08983, allocations: 83.72 kB / 333.8 MB, free: 6.363 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002627/0.09011, allocations: 75.84 kB / 333.9 MB, free: 6.289 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003556/0.09048, allocations: 251.4 kB / 334.1 MB, free: 6.043 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.954e-05/0.09059, allocations: 44.7 kB / 334.1 MB, free: 6 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002146/0.09082, allocations: 115.5 kB / 334.3 MB, free: 5.887 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002265/0.09106, allocations: 139.4 kB / 334.4 MB, free: 5.75 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.963e-05/0.09112, allocations: 15.98 kB / 334.4 MB, free: 5.734 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003331/0.09146, allocations: 143.7 kB / 334.5 MB, free: 5.594 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001161/0.0916, allocations: 87.7 kB / 334.6 MB, free: 5.508 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.517e-05/0.0917, allocations: 81.45 kB / 334.7 MB, free: 5.422 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004239/0.09214, allocations: 267.6 kB / 335 MB, free: 5.16 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.562e-06/0.09216, allocations: 0 / 335 MB, free: 5.16 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.882e-06/0.09217, allocations: 4 kB / 335 MB, free: 5.156 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.646e-06/0.09219, allocations: 0 / 335 MB, free: 5.156 MB / 282.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.001045/0.09324, allocations: 0.5889 MB / 335.6 MB, free: 4.516 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.09329, allocations: 8.031 kB / 335.6 MB, free: 4.508 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001004/0.0934, allocations: 39.53 kB / 335.6 MB, free: 4.469 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004151/0.09383, allocations: 278.3 kB / 335.9 MB, free: 4.156 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.177e-05/0.09388, allocations: 32.98 kB / 335.9 MB, free: 4.125 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.428e-05/0.09397, allocations: 36 kB / 336 MB, free: 4.09 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001145/0.09512, allocations: 0.5529 MB / 336.5 MB, free: 3.531 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.09516, allocations: 0 / 336.5 MB, free: 3.531 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.208e-05/0.09522, allocations: 15.98 kB / 336.5 MB, free: 3.516 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.713e-05/0.09531, allocations: 44.97 kB / 336.6 MB, free: 3.473 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001288/0.09661, allocations: 0.5777 MB / 337.1 MB, free: 2.895 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002339/0.09896, allocations: 1.202 MB / 338.3 MB, free: 1.641 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009125/0.0999, allocations: 372 kB / 338.7 MB, free: 1.27 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.136e-05/0.09997, allocations: 20.16 kB / 338.7 MB, free: 1.25 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.186e-05/0.1, allocations: 30.75 kB / 338.8 MB, free: 1.211 MB / 282.7 MB Notification: Performance of pre-optimization done (n=22): time 2.933e-06/0.1, allocations: 0 / 338.8 MB, free: 1.211 MB / 282.7 MB Notification: Performance of matching and sorting (n=22): time 0.001327/0.1014, allocations: 481.9 kB / 339.2 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.087e-05/0.1014, allocations: 55.41 kB / 339.3 MB, free: 0.668 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000668/0.1021, allocations: 449.6 kB / 339.7 MB, free: 228 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.066e-05/0.1022, allocations: 29.7 kB / 339.7 MB, free: 192 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.2051/0.3073, allocations: 223.3 kB / 340 MB, free: 15.98 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001252/0.3075, allocations: 74.66 kB / 340 MB, free: 15.96 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.416e-05/0.3075, allocations: 4.031 kB / 340 MB, free: 15.96 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.164e-05/0.3076, allocations: 320.7 kB / 340.4 MB, free: 15.65 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003802/0.308, allocations: 123.4 kB / 340.5 MB, free: 15.65 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003432/0.3083, allocations: 126.4 kB / 340.6 MB, free: 15.65 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003869/0.3087, allocations: 134.2 kB / 340.7 MB, free: 15.65 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.315e-06/0.3087, allocations: 0 / 340.7 MB, free: 15.65 MB / 282.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008889/0.3096, allocations: 330 kB / 341.1 MB, free: 15.61 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.3097, allocations: 8.25 kB / 341.1 MB, free: 15.61 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.922e-06/0.3097, allocations: 1.219 kB / 341.1 MB, free: 15.61 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.3097, allocations: 2.031 kB / 341.1 MB, free: 15.61 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001038/0.3108, allocations: 151.2 kB / 341.2 MB, free: 15.61 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002508/0.3133, allocations: 5.517 MB / 346.7 MB, free: 10.34 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003003/0.3136, allocations: 51.38 kB / 346.8 MB, free: 10.31 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.104e-05/0.3137, allocations: 11.25 kB / 346.8 MB, free: 10.31 MB / 282.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.0002534/0.314, allocations: 197.4 kB / 347 MB, free: 10.19 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.889e-05/0.3141, allocations: 36.88 kB / 347 MB, free: 10.17 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001202/0.3153, allocations: 461 kB / 347.5 MB, free: 10.11 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.88e-06/0.3153, allocations: 2.156 kB / 347.5 MB, free: 10.11 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.3153, allocations: 2.359 kB / 347.5 MB, free: 10.11 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.3153, allocations: 2.938 kB / 347.5 MB, free: 10.11 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005789/0.3159, allocations: 377.4 kB / 347.8 MB, free: 9.914 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.313e-06/0.3159, allocations: 0.8438 kB / 347.8 MB, free: 9.914 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00098/0.3169, allocations: 158.7 kB / 348 MB, free: 9.906 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.611e-06/0.317, allocations: 1.156 kB / 348 MB, free: 9.906 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.602e-05/0.317, allocations: 9.609 kB / 348 MB, free: 9.906 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002523/0.3195, allocations: 5.517 MB / 353.5 MB, free: 4.613 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.3196, allocations: 1.125 kB / 353.5 MB, free: 4.613 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009546/0.3205, allocations: 467.3 kB / 354 MB, free: 4.449 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001115/0.3207, allocations: 116.2 kB / 354.1 MB, free: 4.336 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.178e-05/0.3208, allocations: 9.547 kB / 354.1 MB, free: 4.332 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002748/0.321, allocations: 12.88 kB / 354.1 MB, free: 4.332 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.636e-05/0.3211, allocations: 18.73 kB / 354.1 MB, free: 4.332 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.926e-05/0.3212, allocations: 16.72 kB / 354.2 MB, free: 4.332 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004718/0.3217, allocations: 333.7 kB / 354.5 MB, free: 4.25 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.4e-07/0.3217, allocations: 0.5469 kB / 354.5 MB, free: 4.25 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000513/0.3222, allocations: 103.9 kB / 354.6 MB, free: 4.238 MB / 282.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.0002377/0.3225, allocations: 148.5 kB / 354.7 MB, free: 4.148 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001615/0.3241, allocations: 411.5 kB / 355.1 MB, free: 4.133 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.162e-06/0.3241, allocations: 0 / 355.1 MB, free: 4.133 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001185/0.3253, allocations: 290.4 kB / 355.4 MB, free: 4.105 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005166/0.3259, allocations: 86.62 kB / 355.5 MB, free: 4.074 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001565/0.3274, allocations: 0.8971 MB / 356.4 MB, free: 3.625 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003715/0.3278, allocations: 0.8659 MB / 357.3 MB, free: 2.906 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001296/0.328, allocations: 32.38 kB / 357.3 MB, free: 2.898 MB / 282.7 MB Notification: Performance of SimCode: time 1.378e-06/0.328, allocations: 0 / 357.3 MB, free: 2.898 MB / 282.7 MB Notification: Performance of Templates: time 0.02608/0.3541, allocations: 18.53 MB / 375.8 MB, free: 9.465 MB / 298.7 MB