Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001726/0.001726, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001969/0.001969, allocations: 195.4 kB / 16.53 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.669/1.669, allocations: 205.1 MB / 222.4 MB, free: 4.621 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3411/0.3411, allocations: 37.99 MB / 307.7 MB, free: 10.02 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001591/0.001591, allocations: 80.44 kB / 375.3 MB, free: 15.17 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1725/0.1741, allocations: 56.46 MB / 431.7 MB, free: 6.613 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC): time 0.004219/0.1784, allocations: 2.168 MB / 433.9 MB, free: 4.422 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003339/0.1817, allocations: 1.827 MB / 435.7 MB, free: 2.586 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002816/0.1821, allocations: 4 kB / 435.7 MB, free: 2.582 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004545/0.1826, allocations: 67.59 kB / 435.8 MB, free: 2.516 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000557/0.1831, allocations: 155.2 kB / 435.9 MB, free: 2.363 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009103/0.1841, allocations: 326.7 kB / 436.3 MB, free: 2.043 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005822/0.1847, allocations: 489.6 kB / 436.7 MB, free: 1.562 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.1848, allocations: 65.31 kB / 436.8 MB, free: 1.492 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002445/0.1851, allocations: 191 kB / 437 MB, free: 1.305 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002884/0.1854, allocations: 218.9 kB / 437.2 MB, free: 1.09 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.861e-05/0.1854, allocations: 12 kB / 437.2 MB, free: 1.078 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009344/0.1863, allocations: 0.5928 MB / 437.8 MB, free: 496 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001483/0.1865, allocations: 123.4 kB / 437.9 MB, free: 372 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001908/0.1867, allocations: 194.6 kB / 438.1 MB, free: 176 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009274/0.1876, allocations: 0.7591 MB / 438.9 MB, free: 15.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1877, allocations: 0 / 438.9 MB, free: 15.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1877, allocations: 0 / 438.9 MB, free: 15.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.016e-06/0.1877, allocations: 0 / 438.9 MB, free: 15.41 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.001238/0.1889, allocations: 0.8108 MB / 439.7 MB, free: 14.55 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.189, allocations: 12.03 kB / 439.7 MB, free: 14.54 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001076/0.1891, allocations: 56.28 kB / 439.8 MB, free: 14.49 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004049/0.1895, allocations: 311.4 kB / 440.1 MB, free: 14.14 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.899e-05/0.1896, allocations: 41.67 kB / 440.1 MB, free: 14.11 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.194e-05/0.1896, allocations: 56.12 kB / 440.2 MB, free: 14.05 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00109/0.1907, allocations: 0.752 MB / 440.9 MB, free: 13.29 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.796e-05/0.1908, allocations: 0 / 440.9 MB, free: 13.29 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.057e-05/0.1908, allocations: 23.94 kB / 440.9 MB, free: 13.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.17e-05/0.1909, allocations: 61.27 kB / 441 MB, free: 13.21 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001303/0.1922, allocations: 0.8013 MB / 441.8 MB, free: 12.41 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002297/0.1945, allocations: 1.528 MB / 443.3 MB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000773/0.1953, allocations: 456.4 kB / 443.8 MB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002922/0.1956, allocations: 157.2 kB / 443.9 MB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.084e-05/0.1957, allocations: 8.469 kB / 443.9 MB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.176e-05/0.1957, allocations: 38.56 kB / 444 MB, free: 10.16 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 1.703e-06/0.1957, allocations: 0 / 444 MB, free: 10.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.001126/0.1968, allocations: 0.5435 MB / 444.5 MB, free: 9.609 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.355e-05/0.1969, allocations: 55.41 kB / 444.6 MB, free: 9.543 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006201/0.1975, allocations: 0.5797 MB / 445.1 MB, free: 8.953 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.162e-05/0.1976, allocations: 29.7 kB / 445.2 MB, free: 8.918 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002425/0.1978, allocations: 287.4 kB / 445.5 MB, free: 8.633 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.408e-05/0.1979, allocations: 102.5 kB / 445.6 MB, free: 8.531 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001711/0.1981, allocations: 130.1 kB / 445.7 MB, free: 8.398 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.1983, allocations: 362.7 kB / 446 MB, free: 8.035 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003467/0.1986, allocations: 192.9 kB / 446.2 MB, free: 7.848 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005471/0.1992, allocations: 429.1 kB / 446.6 MB, free: 7.312 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009784/0.2002, allocations: 0.66 MB / 447.3 MB, free: 6.539 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/0.2002, allocations: 4 kB / 447.3 MB, free: 6.535 MB / 382.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001186/0.2014, allocations: 0.6767 MB / 448 MB, free: 5.852 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.513e-05/0.2014, allocations: 8 kB / 448 MB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/0.2014, allocations: 11.94 kB / 448 MB, free: 5.832 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.859e-05/0.2015, allocations: 12 kB / 448 MB, free: 5.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00103/0.2025, allocations: 247.8 kB / 448.3 MB, free: 5.578 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2783/0.4808, allocations: 7.315 MB / 455.6 MB, free: 51.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006248/0.4815, allocations: 87.77 kB / 455.7 MB, free: 51.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.065e-05/0.4816, allocations: 35.2 kB / 455.7 MB, free: 51.75 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 24 (m_flow_IN_con_4[3].roughness,m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].roughness,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 12 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 12 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003209/0.4819, allocations: 266.9 kB / 456 MB, free: 51.63 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.065e-05/0.482, allocations: 53 kB / 456 MB, free: 51.63 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001005/0.483, allocations: 0.5619 MB / 456.6 MB, free: 51.57 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.074e-06/0.483, allocations: 3.375 kB / 456.6 MB, free: 51.57 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.483, allocations: 0 / 456.6 MB, free: 51.57 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.483, allocations: 0 / 456.6 MB, free: 51.57 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005007/0.4836, allocations: 430.9 kB / 457 MB, free: 51.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.4836, allocations: 0 / 457 MB, free: 51.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008023/0.4844, allocations: 217.8 kB / 457.2 MB, free: 51.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.054e-06/0.4844, allocations: 0 / 457.2 MB, free: 51.38 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.91e-05/0.4844, allocations: 13.27 kB / 457.2 MB, free: 51.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002642/0.4871, allocations: 7.298 MB / 464.5 MB, free: 44.38 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.4871, allocations: 0 / 464.5 MB, free: 44.38 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009289/0.488, allocations: 0.5075 MB / 465 MB, free: 44.24 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001718/0.4882, allocations: 125.8 kB / 465.1 MB, free: 44.12 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.225e-05/0.4883, allocations: 10.52 kB / 465.2 MB, free: 44.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000237/0.4886, allocations: 14.86 kB / 465.2 MB, free: 44.11 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001168/0.4887, allocations: 23.62 kB / 465.2 MB, free: 44.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.421e-05/0.4887, allocations: 18.73 kB / 465.2 MB, free: 44.11 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005503/0.4893, allocations: 404.5 kB / 465.6 MB, free: 44.03 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.134e-06/0.4893, allocations: 2.75 kB / 465.6 MB, free: 44.03 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009797/0.4903, allocations: 180.1 kB / 465.8 MB, free: 44.02 MB / 382.1 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 (28): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 12 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 12 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005724/0.4909, allocations: 224.6 kB / 466 MB, free: 43.92 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001854/0.4927, allocations: 0.677 MB / 466.7 MB, free: 43.92 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.4927, allocations: 0 / 466.7 MB, free: 43.92 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00097/0.4937, allocations: 352.1 kB / 467 MB, free: 43.92 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006619/0.4944, allocations: 125.8 kB / 467.1 MB, free: 43.91 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001561/0.496, allocations: 0.9845 MB / 468.1 MB, free: 43.57 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002897/0.4963, allocations: 0.9073 MB / 469 MB, free: 42.87 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003628/0.4966, allocations: 179.1 kB / 469.2 MB, free: 42.84 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.419e-05/0.4967, allocations: 36.88 kB / 469.3 MB, free: 42.83 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4967, allocations: 0 / 469.3 MB, free: 42.83 MB / 382.1 MB Notification: Performance of Templates: time 0.01617/0.5129, allocations: 10.73 MB / 480 MB, free: 42.15 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe 2>&1)