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.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,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001484/0.001484, allocations: 191.5 kB / 16.25 MB, free: 6.633 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.654/1.654, allocations: 205.1 MB / 222.1 MB, free: 4.66 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.3928/0.3928, allocations: 39.92 MB / 309.4 MB, free: 9.055 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.001796/0.001796, allocations: 71.89 kB / 377.1 MB, free: 12.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1442, allocations: 56.88 MB / 434 MB, free: 3.727 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall): time 0.00499/0.1493, allocations: 2.315 MB / 436.3 MB, free: 1.391 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003855/0.1531, allocations: 2.076 MB / 438.4 MB, free: 15.3 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002999/0.1535, allocations: 0 / 438.4 MB, free: 15.3 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004716/0.1541, allocations: 67.66 kB / 438.5 MB, free: 15.24 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004768/0.1545, allocations: 95.42 kB / 438.6 MB, free: 15.14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001812/0.1564, allocations: 382.8 kB / 438.9 MB, free: 14.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001028/0.1574, allocations: 0.5208 MB / 439.5 MB, free: 14.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002232/0.1577, allocations: 69.03 kB / 439.5 MB, free: 14.17 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005809/0.1582, allocations: 179 kB / 439.7 MB, free: 14 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003435/0.1586, allocations: 222.8 kB / 439.9 MB, free: 13.78 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.046e-05/0.1586, allocations: 12 kB / 439.9 MB, free: 13.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00134/0.16, allocations: 0.6708 MB / 440.6 MB, free: 13.09 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000134/0.1601, allocations: 99.47 kB / 440.7 MB, free: 13 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002201/0.1604, allocations: 210.5 kB / 440.9 MB, free: 12.79 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009922/0.1614, allocations: 0.8217 MB / 441.7 MB, free: 11.96 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.874e-06/0.1614, allocations: 0 / 441.7 MB, free: 11.96 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.627e-06/0.1614, allocations: 0 / 441.7 MB, free: 11.96 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.071e-05/0.1614, allocations: 0 / 441.7 MB, free: 11.96 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001425/0.1629, allocations: 0.8425 MB / 442.6 MB, free: 11.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.182e-05/0.1629, allocations: 8.031 kB / 442.6 MB, free: 11.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001124/0.163, allocations: 56.28 kB / 442.6 MB, free: 11.01 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005584/0.1636, allocations: 319.3 kB / 442.9 MB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.022e-05/0.1637, allocations: 41.69 kB / 443 MB, free: 10.62 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000103/0.1638, allocations: 56.12 kB / 443 MB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001699/0.1655, allocations: 0.7696 MB / 443.8 MB, free: 9.777 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.119e-05/0.1655, allocations: 7.938 kB / 443.8 MB, free: 9.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-05/0.1656, allocations: 20 kB / 443.8 MB, free: 9.75 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.265e-05/0.1657, allocations: 29.3 kB / 443.9 MB, free: 9.719 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001409/0.1671, allocations: 0.5515 MB / 444.4 MB, free: 9.168 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003092/0.1702, allocations: 1.68 MB / 446.1 MB, free: 7.426 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007967/0.1711, allocations: 307.5 kB / 446.4 MB, free: 7.098 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000497/0.1716, allocations: 158.4 kB / 446.6 MB, free: 6.934 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.081e-05/0.1717, allocations: 11.98 kB / 446.6 MB, free: 6.922 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.902e-05/0.1717, allocations: 34.56 kB / 446.6 MB, free: 6.879 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 2.936e-06/0.1717, allocations: 0 / 446.6 MB, free: 6.879 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.00181/0.1735, allocations: 0.508 MB / 447.1 MB, free: 6.371 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.967e-05/0.1736, allocations: 114.7 kB / 447.2 MB, free: 6.234 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009259/0.1746, allocations: 0.6314 MB / 447.9 MB, free: 5.59 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.859e-05/0.1746, allocations: 25.7 kB / 447.9 MB, free: 5.559 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002607/0.1749, allocations: 295.6 kB / 448.2 MB, free: 5.262 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.818e-05/0.175, allocations: 75 kB / 448.2 MB, free: 5.188 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002792/0.1753, allocations: 122.1 kB / 448.4 MB, free: 5.062 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001798/0.1755, allocations: 366.8 kB / 448.7 MB, free: 4.695 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005528/0.1761, allocations: 184.9 kB / 448.9 MB, free: 4.516 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008665/0.1769, allocations: 461.4 kB / 449.3 MB, free: 3.934 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001623/0.1786, allocations: 0.6788 MB / 450 MB, free: 3.125 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.167e-06/0.1786, allocations: 4 kB / 450 MB, free: 3.121 MB / 382.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002175/0.1808, allocations: 0.6806 MB / 450.7 MB, free: 2.434 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.113e-05/0.1809, allocations: 15.94 kB / 450.7 MB, free: 2.418 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001169/0.181, allocations: 52.05 kB / 450.8 MB, free: 2.367 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.835e-05/0.181, allocations: 12 kB / 450.8 MB, free: 2.355 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005114/0.1816, allocations: 71.81 kB / 450.9 MB, free: 2.285 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.985e-05/0.1816, allocations: 15.94 kB / 450.9 MB, free: 2.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008491/0.1825, allocations: 102.9 kB / 451 MB, free: 2.168 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.489e-05/0.1826, allocations: 40 kB / 451 MB, free: 2.129 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (57): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004569/0.1831, allocations: 253.4 kB / 451.3 MB, free: 1.871 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002115/0.1833, allocations: 55.38 kB / 451.3 MB, free: 1.816 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001569/0.1849, allocations: 469.1 kB / 451.8 MB, free: 1.355 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-05/0.1849, allocations: 8 kB / 451.8 MB, free: 1.348 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.1849, allocations: 3.938 kB / 451.8 MB, free: 1.344 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.185, allocations: 0 / 451.8 MB, free: 1.344 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001021/0.186, allocations: 409.3 kB / 452.2 MB, free: 0.8945 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001128/0.1861, allocations: 43.98 kB / 452.2 MB, free: 0.8516 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002407/0.1864, allocations: 27.97 kB / 452.3 MB, free: 0.8242 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.636e-06/0.1864, allocations: 3.938 kB / 452.3 MB, free: 0.8203 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.027e-05/0.1865, allocations: 12 kB / 452.3 MB, free: 0.8086 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.542e-06/0.1865, allocations: 7.938 kB / 452.3 MB, free: 0.8008 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.1865, allocations: 0 / 452.3 MB, free: 0.8008 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00154/0.188, allocations: 0.6188 MB / 452.9 MB, free: 168 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001859/0.1882, allocations: 132.4 kB / 453 MB, free: 16 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001207/0.1884, allocations: 11.94 kB / 453 MB, free: 4 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.3242/0.5126, allocations: 11.66 kB / 453.1 MB, free: 52.21 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002157/0.5129, allocations: 25.11 kB / 453.1 MB, free: 52.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-05/0.513, allocations: 12.86 kB / 453.1 MB, free: 52.21 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007327/0.5137, allocations: 447.9 kB / 453.5 MB, free: 52.12 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5137, allocations: 0.5625 kB / 453.5 MB, free: 52.12 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001108/0.5148, allocations: 189.1 kB / 453.7 MB, free: 52.12 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005685/0.5154, allocations: 232.6 kB / 453.9 MB, free: 52.03 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001211/0.5166, allocations: 0.7707 MB / 454.7 MB, free: 51.66 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.5167, allocations: 0 / 454.7 MB, free: 51.66 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000449/0.5171, allocations: 483.1 kB / 455.2 MB, free: 51.28 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008109/0.5179, allocations: 129.5 kB / 455.3 MB, free: 51.28 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002011/0.52, allocations: 1.134 MB / 456.4 MB, free: 50.83 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004258/0.5204, allocations: 0.8895 MB / 457.3 MB, free: 50.13 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003653/0.5208, allocations: 132.8 kB / 457.5 MB, free: 50.12 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.499e-05/0.5209, allocations: 33 kB / 457.5 MB, free: 50.12 MB / 382.1 MB Notification: Performance of SimCode: time 7.51e-07/0.5209, allocations: 3.094 kB / 457.5 MB, free: 50.12 MB / 382.1 MB Notification: Performance of Templates: time 0.01693/0.5378, allocations: 10.24 MB / 467.7 MB, free: 49.37 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe 2>&1)