Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.2_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.2_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.001275/0.001275, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 192.8 kB / 16.13 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.665/1.665, allocations: 205.1 MB / 222 MB, free: 5.02 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4024/0.4024, allocations: 39.94 MB / 309.3 MB, free: 9.246 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.2. 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.001873/0.001874, allocations: 63.92 kB / 376.9 MB, free: 13.19 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1859/0.1878, allocations: 56.89 MB / 433.8 MB, free: 4.203 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC): time 0.004466/0.1923, allocations: 2.221 MB / 436.1 MB, free: 1.961 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003274/0.1956, allocations: 1.839 MB / 437.9 MB, free: 116 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001721/0.1959, allocations: 0 / 437.9 MB, free: 116 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004361/0.1963, allocations: 71.64 kB / 438 MB, free: 44 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005139/0.1969, allocations: 139.4 kB / 438.1 MB, free: 15.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00097/0.1979, allocations: 287.1 kB / 438.4 MB, free: 15.62 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006169/0.1985, allocations: 0.6419 MB / 439 MB, free: 14.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.1986, allocations: 65.31 kB / 439.1 MB, free: 14.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002256/0.1988, allocations: 171 kB / 439.3 MB, free: 14.74 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002936/0.1991, allocations: 234.9 kB / 439.5 MB, free: 14.51 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.1e-05/0.1992, allocations: 8 kB / 439.5 MB, free: 14.5 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001007/0.2002, allocations: 0.5928 MB / 440.1 MB, free: 13.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001594/0.2004, allocations: 107.5 kB / 440.2 MB, free: 13.8 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001965/0.2006, allocations: 202.6 kB / 440.4 MB, free: 13.61 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001041/0.2016, allocations: 0.7513 MB / 441.1 MB, free: 12.85 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.205e-06/0.2016, allocations: 0 / 441.1 MB, free: 12.85 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.2016, allocations: 0 / 441.1 MB, free: 12.85 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.748e-06/0.2017, allocations: 0 / 441.1 MB, free: 12.85 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.001566/0.2032, allocations: 0.8074 MB / 441.9 MB, free: 12 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.03e-05/0.2033, allocations: 12.03 kB / 442 MB, free: 11.98 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001225/0.2034, allocations: 52.28 kB / 442 MB, free: 11.93 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004208/0.2039, allocations: 315.4 kB / 442.3 MB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.19e-05/0.2039, allocations: 41.69 kB / 442.4 MB, free: 11.55 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.181e-05/0.204, allocations: 56.11 kB / 442.4 MB, free: 11.49 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001095/0.2051, allocations: 0.7598 MB / 443.2 MB, free: 10.73 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.2051, allocations: 4 kB / 443.2 MB, free: 10.72 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.739e-05/0.2052, allocations: 19.98 kB / 443.2 MB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.855e-05/0.2052, allocations: 57.28 kB / 443.2 MB, free: 10.65 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001275/0.2065, allocations: 0.7975 MB / 444 MB, free: 9.848 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002279/0.2088, allocations: 1.528 MB / 445.6 MB, free: 8.266 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007753/0.2096, allocations: 460.4 kB / 446 MB, free: 7.809 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002885/0.2099, allocations: 165.1 kB / 446.2 MB, free: 7.645 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.517e-05/0.21, allocations: 12.44 kB / 446.2 MB, free: 7.633 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/0.21, allocations: 34.56 kB / 446.2 MB, free: 7.59 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 1.943e-06/0.21, allocations: 0 / 446.2 MB, free: 7.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.001214/0.2112, allocations: 0.5358 MB / 446.8 MB, free: 7.047 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.572e-05/0.2113, allocations: 55.41 kB / 446.8 MB, free: 6.98 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000653/0.212, allocations: 0.5874 MB / 447.4 MB, free: 6.383 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.865e-05/0.212, allocations: 29.7 kB / 447.4 MB, free: 6.348 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002184/0.2122, allocations: 283.4 kB / 447.7 MB, free: 6.066 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.85e-05/0.2123, allocations: 94.64 kB / 447.8 MB, free: 5.973 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001925/0.2125, allocations: 126.1 kB / 447.9 MB, free: 5.844 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.2127, allocations: 358.8 kB / 448.3 MB, free: 5.484 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003797/0.2131, allocations: 192.9 kB / 448.5 MB, free: 5.297 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000629/0.2137, allocations: 436.9 kB / 448.9 MB, free: 4.754 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001336/0.2151, allocations: 0.66 MB / 449.6 MB, free: 3.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/0.2151, allocations: 4 kB / 449.6 MB, free: 3.977 MB / 382.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001215/0.2163, allocations: 0.68 MB / 450.2 MB, free: 3.289 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.94e-05/0.2163, allocations: 8 kB / 450.2 MB, free: 3.281 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/0.2164, allocations: 12 kB / 450.3 MB, free: 3.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.288e-05/0.2164, allocations: 8 kB / 450.3 MB, free: 3.262 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001412/0.2178, allocations: 251.9 kB / 450.5 MB, free: 3.016 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2932/0.511, allocations: 7.308 MB / 457.8 MB, free: 46.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006178/0.5117, allocations: 93.42 kB / 457.9 MB, free: 46.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-05/0.5117, allocations: 32.75 kB / 457.9 MB, free: 46.89 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.0003505/0.5121, allocations: 265.3 kB / 458.2 MB, free: 46.77 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.098e-05/0.5122, allocations: 46.12 kB / 458.2 MB, free: 46.77 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001003/0.5132, allocations: 0.5636 MB / 458.8 MB, free: 46.71 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/0.5132, allocations: 8.406 kB / 458.8 MB, free: 46.71 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.5132, allocations: 1.344 kB / 458.8 MB, free: 46.71 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.5132, allocations: 3.188 kB / 458.8 MB, free: 46.71 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000493/0.5137, allocations: 430.5 kB / 459.2 MB, free: 46.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.5137, allocations: 2.875 kB / 459.2 MB, free: 46.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008618/0.5146, allocations: 210.3 kB / 459.5 MB, free: 46.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.364e-06/0.5146, allocations: 2.844 kB / 459.5 MB, free: 46.52 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.265e-05/0.5147, allocations: 15.31 kB / 459.5 MB, free: 46.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002505/0.5172, allocations: 7.293 MB / 466.8 MB, free: 39.52 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.5172, allocations: 5.375 kB / 466.8 MB, free: 39.52 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000741/0.5179, allocations: 0.5052 MB / 467.3 MB, free: 39.37 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001112/0.5181, allocations: 130.2 kB / 467.4 MB, free: 39.25 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.2e-05/0.5182, allocations: 9.781 kB / 467.4 MB, free: 39.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002358/0.5184, allocations: 6.594 kB / 467.4 MB, free: 39.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.624e-05/0.5185, allocations: 28.77 kB / 467.4 MB, free: 39.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.128e-05/0.5185, allocations: 21.36 kB / 467.5 MB, free: 39.25 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003992/0.5189, allocations: 407.4 kB / 467.9 MB, free: 39.16 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5189, allocations: 0 / 467.9 MB, free: 39.16 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007378/0.5197, allocations: 180.4 kB / 468 MB, free: 39.15 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.0004345/0.5201, allocations: 206.2 kB / 468.2 MB, free: 39.05 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001499/0.5216, allocations: 0.6258 MB / 468.9 MB, free: 39.05 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.5217, allocations: 0 / 468.9 MB, free: 39.05 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009654/0.5226, allocations: 352.7 kB / 469.2 MB, free: 39.05 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005733/0.5232, allocations: 111.6 kB / 469.3 MB, free: 39.04 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001641/0.5249, allocations: 1.14 MB / 470.5 MB, free: 38.55 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004045/0.5253, allocations: 0.9039 MB / 471.4 MB, free: 37.84 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003951/0.5257, allocations: 173.6 kB / 471.5 MB, free: 37.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.708e-05/0.5258, allocations: 40.16 kB / 471.6 MB, free: 37.81 MB / 382.1 MB Notification: Performance of SimCode: time 1.853e-06/0.5258, allocations: 3.828 kB / 471.6 MB, free: 37.81 MB / 382.1 MB Notification: Performance of Templates: time 0.01489/0.5407, allocations: 10.29 MB / 481.9 MB, free: 37.16 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe 2>&1)