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.001053/0.001053, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001318/0.001318, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.538/1.538, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.3711/0.3711, allocations: 38.03 MB / 308.4 MB, free: 10.39 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.0005892/0.0005892, allocations: 12 kB / 376.4 MB, free: 15.17 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1403, allocations: 57.52 MB / 434 MB, free: 5.539 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC): time 0.002936/0.1432, allocations: 1.766 MB / 435.7 MB, free: 3.758 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002717/0.146, allocations: 1.58 MB / 437.3 MB, free: 2.172 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001145/0.1461, allocations: 4 kB / 437.3 MB, free: 2.168 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002789/0.1464, allocations: 55.72 kB / 437.4 MB, free: 2.113 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003606/0.1468, allocations: 107.6 kB / 437.5 MB, free: 2.008 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007334/0.1475, allocations: 295.1 kB / 437.8 MB, free: 1.719 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003733/0.1479, allocations: 319.3 kB / 438.1 MB, free: 1.406 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.148, allocations: 61.33 kB / 438.1 MB, free: 1.34 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002005/0.1483, allocations: 143.3 kB / 438.3 MB, free: 1.199 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002407/0.1485, allocations: 179.2 kB / 438.4 MB, free: 1.023 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.12e-05/0.1485, allocations: 8 kB / 438.4 MB, free: 1.016 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008379/0.1494, allocations: 0.5851 MB / 439 MB, free: 440 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001114/0.1495, allocations: 95.64 kB / 439.1 MB, free: 344 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.07e-05/0.1496, allocations: 93.45 kB / 439.2 MB, free: 244 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005541/0.1502, allocations: 474.9 kB / 439.7 MB, free: 15.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.265e-06/0.1502, allocations: 0 / 439.7 MB, free: 15.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.976e-06/0.1502, allocations: 4 kB / 439.7 MB, free: 15.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.1502, allocations: 0 / 439.7 MB, free: 15.77 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.001215/0.1514, allocations: 0.7214 MB / 440.4 MB, free: 15 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.1515, allocations: 8.031 kB / 440.4 MB, free: 14.99 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.705e-05/0.1516, allocations: 55.3 kB / 440.5 MB, free: 14.94 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004497/0.152, allocations: 314.3 kB / 440.8 MB, free: 14.59 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.957e-05/0.1521, allocations: 41.25 kB / 440.8 MB, free: 14.55 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.125e-05/0.1522, allocations: 59.92 kB / 440.9 MB, free: 14.49 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00114/0.1533, allocations: 0.752 MB / 441.6 MB, free: 13.73 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/0.1534, allocations: 0 / 441.6 MB, free: 13.73 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.615e-05/0.1534, allocations: 23.98 kB / 441.6 MB, free: 13.71 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.363e-05/0.1535, allocations: 57.27 kB / 441.7 MB, free: 13.65 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001294/0.1548, allocations: 0.8052 MB / 442.5 MB, free: 12.85 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002418/0.1573, allocations: 1.535 MB / 444 MB, free: 11.26 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008512/0.1581, allocations: 456.4 kB / 444.5 MB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.555e-05/0.1582, allocations: 8.219 kB / 444.5 MB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.566e-05/0.1582, allocations: 38.8 kB / 444.5 MB, free: 10.75 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 1.844e-06/0.1582, allocations: 0 / 444.5 MB, free: 10.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.00117/0.1594, allocations: 0.5569 MB / 445.1 MB, free: 10.19 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.841e-05/0.1595, allocations: 51.41 kB / 445.1 MB, free: 10.12 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006296/0.1601, allocations: 0.5796 MB / 445.7 MB, free: 9.535 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001076/0.1602, allocations: 33.7 kB / 445.8 MB, free: 9.496 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000303/0.1605, allocations: 279.4 kB / 446 MB, free: 9.219 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.067e-05/0.1606, allocations: 102.6 kB / 446.1 MB, free: 9.117 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.375e-05/0.1606, allocations: 8 kB / 446.1 MB, free: 9.109 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0003011/0.161, allocations: 358.8 kB / 446.5 MB, free: 8.75 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003603/0.1613, allocations: 200.9 kB / 446.7 MB, free: 8.555 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006608/0.162, allocations: 437.1 kB / 447.1 MB, free: 8.016 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004138/0.1624, allocations: 264 kB / 447.4 MB, free: 7.758 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.1624, allocations: 4 kB / 447.4 MB, free: 7.754 MB / 382.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001241/0.1637, allocations: 0.6806 MB / 448.1 MB, free: 7.066 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.029e-05/0.1637, allocations: 11.75 kB / 448.1 MB, free: 7.059 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.499e-05/0.1637, allocations: 8 kB / 448.1 MB, free: 7.051 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.616e-05/0.1638, allocations: 15.95 kB / 448.1 MB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001034/0.1648, allocations: 243.7 kB / 448.3 MB, free: 6.797 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3147/0.4795, allocations: 7.312 MB / 455.6 MB, free: 49.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009327/0.4805, allocations: 98.88 kB / 455.7 MB, free: 49.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001767/0.4807, allocations: 32.88 kB / 455.8 MB, free: 49.52 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 (linear and non-linear blocks): 12 * 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: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007049/0.4814, allocations: 264.3 kB / 456 MB, free: 49.4 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001436/0.4816, allocations: 46.19 kB / 456.1 MB, free: 49.4 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00171/0.4833, allocations: 0.5767 MB / 456.6 MB, free: 49.34 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.155e-05/0.4833, allocations: 4.422 kB / 456.7 MB, free: 49.34 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.959e-06/0.4834, allocations: 0 / 456.7 MB, free: 49.34 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/0.4834, allocations: 6.094 kB / 456.7 MB, free: 49.34 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008683/0.4843, allocations: 441.8 kB / 457.1 MB, free: 49.15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.68e-06/0.4843, allocations: 2.938 kB / 457.1 MB, free: 49.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001117/0.4854, allocations: 199.1 kB / 457.3 MB, free: 49.15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.575e-05/0.4854, allocations: 0 / 457.3 MB, free: 49.15 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.769e-05/0.4855, allocations: 13.17 kB / 457.3 MB, free: 49.15 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002796/0.4883, allocations: 7.302 MB / 464.6 MB, free: 42.15 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.4883, allocations: 5.25 kB / 464.6 MB, free: 42.15 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009283/0.4892, allocations: 0.509 MB / 465.1 MB, free: 42.01 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002445/0.4895, allocations: 140.1 kB / 465.3 MB, free: 41.88 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001382/0.4897, allocations: 7.391 kB / 465.3 MB, free: 41.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003445/0.49, allocations: 12.91 kB / 465.3 MB, free: 41.88 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.885e-05/0.4901, allocations: 20.7 kB / 465.3 MB, free: 41.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-05/0.4902, allocations: 23.66 kB / 465.3 MB, free: 41.88 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006656/0.4908, allocations: 400.4 kB / 465.7 MB, free: 41.79 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4909, allocations: 4.531 kB / 465.7 MB, free: 41.79 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001116/0.492, allocations: 179.4 kB / 465.9 MB, free: 41.78 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 (linear and non-linear blocks): 12 * 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: 12 {1,1,1,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.0007747/0.4928, allocations: 216.5 kB / 466.1 MB, free: 41.69 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002122/0.4949, allocations: 0.6274 MB / 466.7 MB, free: 41.68 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.4949, allocations: 7.219 kB / 466.7 MB, free: 41.68 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001334/0.4963, allocations: 357.2 kB / 467.1 MB, free: 41.68 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006935/0.497, allocations: 104.4 kB / 467.2 MB, free: 41.67 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002242/0.4992, allocations: 1.101 MB / 468.3 MB, free: 41.21 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00042/0.4997, allocations: 0.9165 MB / 469.2 MB, free: 40.51 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005663/0.5002, allocations: 165.1 kB / 469.4 MB, free: 40.48 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001192/0.5004, allocations: 40.47 kB / 469.4 MB, free: 40.48 MB / 382.1 MB Notification: Performance of SimCode: time 1.743e-06/0.5004, allocations: 4 kB / 469.4 MB, free: 40.47 MB / 382.1 MB Notification: Performance of Templates: time 0.01528/0.5157, allocations: 9.675 MB / 479.1 MB, free: 39.78 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: