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.001629/0.001628, 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.001594/0.001594, allocations: 194.7 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.687/1.687, allocations: 205.1 MB / 222.4 MB, free: 4.625 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.3519/0.3519, allocations: 39.94 MB / 309.7 MB, free: 9.281 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.001555/0.001556, allocations: 73.94 kB / 377.6 MB, free: 12.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.1549, allocations: 56.88 MB / 434.5 MB, free: 3.652 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC): time 0.003808/0.1587, allocations: 2.176 MB / 436.7 MB, free: 1.461 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002804/0.1616, allocations: 1.823 MB / 438.5 MB, free: 15.63 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001028/0.1617, allocations: 0 / 438.5 MB, free: 15.63 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003526/0.1621, allocations: 67.59 kB / 438.6 MB, free: 15.56 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000452/0.1625, allocations: 151.2 kB / 438.7 MB, free: 15.41 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007896/0.1633, allocations: 334.6 kB / 439.1 MB, free: 15.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005338/0.1639, allocations: 489.6 kB / 439.5 MB, free: 14.61 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000126/0.164, allocations: 69.31 kB / 439.6 MB, free: 14.53 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002687/0.1643, allocations: 187 kB / 439.8 MB, free: 14.35 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003018/0.1646, allocations: 218.9 kB / 440 MB, free: 14.13 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.822e-05/0.1646, allocations: 12 kB / 440 MB, free: 14.12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009347/0.1656, allocations: 0.5889 MB / 440.6 MB, free: 13.53 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000143/0.1657, allocations: 119.4 kB / 440.7 MB, free: 13.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001963/0.1659, allocations: 194.6 kB / 440.9 MB, free: 13.22 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000877/0.1668, allocations: 0.7669 MB / 441.7 MB, free: 12.45 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.788e-06/0.1668, allocations: 0 / 441.7 MB, free: 12.45 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1668, allocations: 3.938 kB / 441.7 MB, free: 12.45 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.1668, allocations: 0 / 441.7 MB, free: 12.45 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.001269/0.1681, allocations: 0.8035 MB / 442.5 MB, free: 11.6 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.1682, allocations: 15.97 kB / 442.5 MB, free: 11.58 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001108/0.1683, allocations: 56.28 kB / 442.6 MB, free: 11.53 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004119/0.1687, allocations: 307.5 kB / 442.9 MB, free: 11.19 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.214e-05/0.1688, allocations: 45.67 kB / 442.9 MB, free: 11.14 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.359e-05/0.1688, allocations: 52.12 kB / 442.9 MB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001132/0.17, allocations: 0.7598 MB / 443.7 MB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.819e-05/0.17, allocations: 3.938 kB / 443.7 MB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.104e-05/0.1701, allocations: 20 kB / 443.7 MB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.034e-05/0.1702, allocations: 57.27 kB / 443.8 MB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001289/0.1715, allocations: 0.8014 MB / 444.6 MB, free: 9.445 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002279/0.1737, allocations: 1.528 MB / 446.1 MB, free: 7.863 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007788/0.1745, allocations: 452.4 kB / 446.6 MB, free: 7.414 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002939/0.1748, allocations: 161.2 kB / 446.7 MB, free: 7.254 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.605e-05/0.1749, allocations: 8.453 kB / 446.7 MB, free: 7.246 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.734e-05/0.1749, allocations: 38.56 kB / 446.8 MB, free: 7.199 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 2.054e-06/0.1749, allocations: 3.938 kB / 446.8 MB, free: 7.195 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.001225/0.1762, allocations: 0.5397 MB / 447.3 MB, free: 6.648 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.508e-05/0.1763, allocations: 55.41 kB / 447.4 MB, free: 6.582 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007292/0.177, allocations: 0.5835 MB / 447.9 MB, free: 5.988 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.558e-05/0.177, allocations: 29.7 kB / 448 MB, free: 5.953 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002303/0.1773, allocations: 279.4 kB / 448.2 MB, free: 5.676 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.22e-05/0.1774, allocations: 98.64 kB / 448.3 MB, free: 5.578 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001792/0.1776, allocations: 138.1 kB / 448.5 MB, free: 5.438 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001783/0.1777, allocations: 358.8 kB / 448.8 MB, free: 5.078 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003372/0.1781, allocations: 184.9 kB / 449 MB, free: 4.898 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005208/0.1786, allocations: 440.9 kB / 449.4 MB, free: 4.352 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009786/0.1796, allocations: 0.6561 MB / 450.1 MB, free: 3.582 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.73e-06/0.1796, allocations: 4 kB / 450.1 MB, free: 3.578 MB / 382.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001132/0.1808, allocations: 0.6805 MB / 450.8 MB, free: 2.891 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.1808, allocations: 8 kB / 450.8 MB, free: 2.883 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/0.1808, allocations: 12.11 kB / 450.8 MB, free: 2.871 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.492e-05/0.1808, allocations: 11.94 kB / 450.8 MB, free: 2.859 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009943/0.1818, allocations: 247.8 kB / 451.1 MB, free: 2.617 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2834/0.4653, allocations: 7.311 MB / 458.4 MB, free: 47.76 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005911/0.4659, allocations: 90.34 kB / 458.5 MB, free: 47.76 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.206e-05/0.466, allocations: 35.58 kB / 458.5 MB, free: 47.76 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.0003424/0.4664, allocations: 264.7 kB / 458.7 MB, free: 47.64 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.644e-05/0.4664, allocations: 52.3 kB / 458.8 MB, free: 47.64 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001034/0.4675, allocations: 0.5594 MB / 459.4 MB, free: 47.58 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.707e-06/0.4675, allocations: 6.156 kB / 459.4 MB, free: 47.58 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.4675, allocations: 3.469 kB / 459.4 MB, free: 47.58 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.4675, allocations: 3.281 kB / 459.4 MB, free: 47.58 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005043/0.468, allocations: 432.8 kB / 459.8 MB, free: 47.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.491e-06/0.468, allocations: 3.938 kB / 459.8 MB, free: 47.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009057/0.469, allocations: 204.5 kB / 460 MB, free: 47.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.697e-06/0.469, allocations: 2.594 kB / 460 MB, free: 47.39 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.773e-05/0.469, allocations: 14.52 kB / 460 MB, free: 47.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00319/0.4722, allocations: 7.298 MB / 467.3 MB, free: 40.39 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.4722, allocations: 3.938 kB / 467.3 MB, free: 40.39 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008795/0.4731, allocations: 0.5032 MB / 467.8 MB, free: 40.24 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001829/0.4733, allocations: 129.4 kB / 467.9 MB, free: 40.11 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.39e-05/0.4734, allocations: 10.5 kB / 468 MB, free: 40.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002309/0.4736, allocations: 14.25 kB / 468 MB, free: 40.11 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001168/0.4738, allocations: 29.66 kB / 468 MB, free: 40.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.633e-05/0.4738, allocations: 16.98 kB / 468 MB, free: 40.11 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004558/0.4743, allocations: 403.6 kB / 468.4 MB, free: 40.02 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4743, allocations: 0 / 468.4 MB, free: 40.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007708/0.4751, allocations: 187.5 kB / 468.6 MB, free: 40.01 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.000512/0.4756, allocations: 208.9 kB / 468.8 MB, free: 39.92 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00168/0.4773, allocations: 0.6736 MB / 469.5 MB, free: 39.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.4773, allocations: 0 / 469.5 MB, free: 39.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009416/0.4782, allocations: 359.3 kB / 469.8 MB, free: 39.88 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005797/0.4788, allocations: 112.5 kB / 469.9 MB, free: 39.85 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001477/0.4803, allocations: 0.9999 MB / 470.9 MB, free: 39.43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003105/0.4806, allocations: 0.908 MB / 471.8 MB, free: 38.71 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003837/0.481, allocations: 168.8 kB / 472 MB, free: 38.69 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.31e-05/0.4811, allocations: 36.95 kB / 472 MB, free: 38.68 MB / 382.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4811, allocations: 0 / 472 MB, free: 38.68 MB / 382.1 MB Notification: Performance of Templates: time 0.01632/0.4974, allocations: 10.73 MB / 482.8 MB, free: 37.99 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)