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_laminar.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_laminar,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001458/0.001458, 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.002058/0.002058, allocations: 190.5 kB / 16.53 MB, free: 6.664 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.624/1.624, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.4157/0.4157, allocations: 39.94 MB / 309.7 MB, free: 9.266 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.001514/0.001514, allocations: 67.91 kB / 377.6 MB, free: 12.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1476, allocations: 56.88 MB / 434.5 MB, free: 3.648 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar): time 0.004018/0.1517, allocations: 2.196 MB / 436.7 MB, free: 1.434 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001959/0.1537, allocations: 1.161 MB / 437.9 MB, free: 272 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001672/0.1539, allocations: 4 kB / 437.9 MB, free: 268 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003848/0.1543, allocations: 63.59 kB / 437.9 MB, free: 204 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002565/0.1546, allocations: 99.3 kB / 438 MB, free: 104 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005678/0.1552, allocations: 179.5 kB / 438.2 MB, free: 15.93 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006038/0.1558, allocations: 0.4937 MB / 438.7 MB, free: 15.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.1559, allocations: 61.12 kB / 438.8 MB, free: 15.36 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002248/0.1561, allocations: 171.2 kB / 438.9 MB, free: 15.2 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002692/0.1564, allocations: 203 kB / 439.1 MB, free: 15 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.825e-05/0.1565, allocations: 12 kB / 439.1 MB, free: 14.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005132/0.157, allocations: 319.5 kB / 439.5 MB, free: 14.67 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001284/0.1571, allocations: 111.4 kB / 439.6 MB, free: 14.56 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000192/0.1573, allocations: 182.8 kB / 439.7 MB, free: 14.38 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006846/0.158, allocations: 0.5722 MB / 440.3 MB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.158, allocations: 3.938 kB / 440.3 MB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.158, allocations: 0 / 440.3 MB, free: 13.8 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.636e-06/0.1581, allocations: 0 / 440.3 MB, free: 13.8 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001424/0.1595, allocations: 0.7565 MB / 441.1 MB, free: 13 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.1595, allocations: 8.031 kB / 441.1 MB, free: 12.99 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.908e-05/0.1596, allocations: 52.31 kB / 441.1 MB, free: 12.94 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003662/0.16, allocations: 295.5 kB / 441.4 MB, free: 12.61 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.037e-05/0.1601, allocations: 37.36 kB / 441.5 MB, free: 12.57 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.278e-05/0.1601, allocations: 44.12 kB / 441.5 MB, free: 12.53 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001017/0.1611, allocations: 0.6597 MB / 442.2 MB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.1612, allocations: 0 / 442.2 MB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.246e-05/0.1612, allocations: 16 kB / 442.2 MB, free: 11.84 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.375e-05/0.1613, allocations: 32.98 kB / 442.2 MB, free: 11.81 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008765/0.1622, allocations: 479.5 kB / 442.7 MB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002032/0.1642, allocations: 1.507 MB / 444.2 MB, free: 9.77 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005976/0.1648, allocations: 303.5 kB / 444.5 MB, free: 9.445 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003624/0.1652, allocations: 150.4 kB / 444.6 MB, free: 9.289 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.848e-05/0.1653, allocations: 19.92 kB / 444.7 MB, free: 9.27 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.142e-05/0.1653, allocations: 34.56 kB / 444.7 MB, free: 9.227 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.783e-06/0.1653, allocations: 3.938 kB / 444.7 MB, free: 9.223 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.001352/0.1667, allocations: 0.4892 MB / 445.2 MB, free: 8.727 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.949e-05/0.1668, allocations: 106.8 kB / 445.3 MB, free: 8.598 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000679/0.1675, allocations: 0.5447 MB / 445.8 MB, free: 8.039 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.702e-05/0.1675, allocations: 29.7 kB / 445.9 MB, free: 8.004 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001963/0.1677, allocations: 220 kB / 446.1 MB, free: 7.785 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.678e-05/0.1678, allocations: 70.98 kB / 446.1 MB, free: 7.715 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001388/0.168, allocations: 89.94 kB / 446.2 MB, free: 7.621 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000185/0.1682, allocations: 358.7 kB / 446.6 MB, free: 7.262 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003577/0.1685, allocations: 156.1 kB / 446.7 MB, free: 7.109 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004908/0.169, allocations: 279.1 kB / 447 MB, free: 6.785 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008359/0.1699, allocations: 450.9 kB / 447.4 MB, free: 6.289 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.1699, allocations: 0 / 447.4 MB, free: 6.289 MB / 382.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001021/0.1709, allocations: 0.4965 MB / 447.9 MB, free: 5.785 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.1709, allocations: 4 kB / 447.9 MB, free: 5.781 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.356e-05/0.171, allocations: 43.98 kB / 448 MB, free: 5.738 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.161e-05/0.1711, allocations: 7.938 kB / 448 MB, free: 5.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002422/0.1713, allocations: 48.44 kB / 448 MB, free: 5.684 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.323e-05/0.1713, allocations: 7.984 kB / 448 MB, free: 5.676 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003189/0.1716, allocations: 67.27 kB / 448.1 MB, free: 5.609 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.118e-05/0.1717, allocations: 27.98 kB / 448.1 MB, free: 5.582 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,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 (33): * Single equations (assignments): 21 * 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.0002424/0.1719, allocations: 213.5 kB / 448.4 MB, free: 5.363 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001072/0.1721, allocations: 43.44 kB / 448.4 MB, free: 5.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008638/0.1729, allocations: 452.1 kB / 448.8 MB, free: 4.883 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/0.173, allocations: 7.938 kB / 448.8 MB, free: 4.875 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.173, allocations: 4 kB / 448.8 MB, free: 4.871 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.173, allocations: 0 / 448.8 MB, free: 4.871 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005769/0.1736, allocations: 381.3 kB / 449.2 MB, free: 4.449 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.815e-05/0.1736, allocations: 35.98 kB / 449.3 MB, free: 4.414 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00015/0.1738, allocations: 23.97 kB / 449.3 MB, free: 4.391 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.1738, allocations: 8 kB / 449.3 MB, free: 4.383 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.759e-05/0.1738, allocations: 15.98 kB / 449.3 MB, free: 4.367 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.1738, allocations: 3.938 kB / 449.3 MB, free: 4.363 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.1738, allocations: 3.938 kB / 449.3 MB, free: 4.359 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000906/0.1748, allocations: 0.6072 MB / 449.9 MB, free: 3.734 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001253/0.1749, allocations: 132.5 kB / 450 MB, free: 3.586 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.859e-05/0.175, allocations: 4 kB / 450 MB, free: 3.582 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002917/0.1753, allocations: 27.91 kB / 450.1 MB, free: 3.555 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.896e-05/0.1754, allocations: 23.92 kB / 450.1 MB, free: 3.531 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.949e-05/0.1754, allocations: 15.98 kB / 450.1 MB, free: 3.516 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004355/0.1758, allocations: 395 kB / 450.5 MB, free: 3.133 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1759, allocations: 0 / 450.5 MB, free: 3.133 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006112/0.1765, allocations: 139.8 kB / 450.6 MB, free: 2.996 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.0003631/0.1768, allocations: 155.1 kB / 450.8 MB, free: 2.832 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001043/0.1779, allocations: 0.6883 MB / 451.5 MB, free: 2.07 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.1779, allocations: 4.062 kB / 451.5 MB, free: 2.066 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005489/0.1785, allocations: 476.2 kB / 451.9 MB, free: 1.527 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007234/0.1792, allocations: 121.7 kB / 452.1 MB, free: 1.41 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001609/0.1808, allocations: 0.8977 MB / 453 MB, free: 492 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2051/0.386, allocations: 0.8683 MB / 453.8 MB, free: 51.38 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003269/0.3863, allocations: 82.48 kB / 453.9 MB, free: 51.38 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.766e-05/0.3864, allocations: 27.47 kB / 453.9 MB, free: 51.37 MB / 382.1 MB Notification: Performance of SimCode: time 8.22e-07/0.3864, allocations: 0 / 453.9 MB, free: 51.37 MB / 382.1 MB Notification: Performance of Templates: time 0.01261/0.399, allocations: 8.51 MB / 462.4 MB, free: 50.83 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.pipe 2>&1)