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.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,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.1_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.001436/0.001436, 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.002175/0.002175, allocations: 191.2 kB / 16.25 MB, free: 6.641 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.705/1.705, allocations: 205.1 MB / 222.1 MB, free: 4.734 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.3487/0.3487, allocations: 37.97 MB / 307.4 MB, free: 10.02 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.001393/0.001393, allocations: 77.3 kB / 374.8 MB, free: 15.5 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1316, allocations: 56.47 MB / 431.2 MB, free: 6.941 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall): time 0.003934/0.1355, allocations: 2.307 MB / 433.5 MB, free: 4.613 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002921/0.1385, allocations: 2.08 MB / 435.6 MB, free: 2.523 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001069/0.1386, allocations: 4 kB / 435.6 MB, free: 2.52 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003161/0.139, allocations: 67.66 kB / 435.7 MB, free: 2.453 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002635/0.1393, allocations: 91.42 kB / 435.8 MB, free: 2.363 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001056/0.1403, allocations: 378.8 kB / 436.1 MB, free: 1.992 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000569/0.1409, allocations: 0.521 MB / 436.7 MB, free: 1.469 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.141, allocations: 65.31 kB / 436.7 MB, free: 1.398 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002296/0.1413, allocations: 191 kB / 436.9 MB, free: 1.211 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002616/0.1415, allocations: 222.8 kB / 437.1 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.757e-05/0.1416, allocations: 12 kB / 437.1 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009179/0.1425, allocations: 0.6669 MB / 437.8 MB, free: 320 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001222/0.1426, allocations: 107.5 kB / 437.9 MB, free: 212 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001712/0.1428, allocations: 206.6 kB / 438.1 MB, free: 4 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008896/0.1437, allocations: 0.8214 MB / 438.9 MB, free: 15.18 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1437, allocations: 0 / 438.9 MB, free: 15.18 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.1437, allocations: 0 / 438.9 MB, free: 15.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.1437, allocations: 4 kB / 438.9 MB, free: 15.18 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.001264/0.145, allocations: 0.8347 MB / 439.8 MB, free: 14.29 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.1451, allocations: 12.03 kB / 439.8 MB, free: 14.28 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001002/0.1452, allocations: 52.28 kB / 439.8 MB, free: 14.23 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003759/0.1456, allocations: 319.5 kB / 440.2 MB, free: 13.88 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.329e-05/0.1456, allocations: 37.69 kB / 440.2 MB, free: 13.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.732e-05/0.1457, allocations: 60.12 kB / 440.3 MB, free: 13.79 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001125/0.1468, allocations: 0.7696 MB / 441 MB, free: 13 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.1468, allocations: 0 / 441 MB, free: 13 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.61e-05/0.1469, allocations: 24 kB / 441 MB, free: 12.97 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.748e-05/0.1469, allocations: 29.3 kB / 441.1 MB, free: 12.94 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008985/0.1478, allocations: 0.5515 MB / 441.6 MB, free: 12.39 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002099/0.1499, allocations: 1.684 MB / 443.3 MB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005341/0.1505, allocations: 311.5 kB / 443.6 MB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003073/0.1508, allocations: 150.4 kB / 443.8 MB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.176e-05/0.1509, allocations: 7.984 kB / 443.8 MB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.1509, allocations: 42.55 kB / 443.8 MB, free: 10.09 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 1.923e-06/0.1509, allocations: 4 kB / 443.8 MB, free: 10.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.001227/0.1521, allocations: 0.4967 MB / 444.3 MB, free: 9.586 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.911e-05/0.1522, allocations: 111 kB / 444.4 MB, free: 9.453 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006885/0.1529, allocations: 0.6353 MB / 445.1 MB, free: 8.805 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.882e-05/0.153, allocations: 33.7 kB / 445.1 MB, free: 8.766 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001862/0.1532, allocations: 291.3 kB / 445.4 MB, free: 8.473 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.012e-05/0.1532, allocations: 67.08 kB / 445.4 MB, free: 8.406 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001591/0.1534, allocations: 130 kB / 445.6 MB, free: 8.273 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.1535, allocations: 362.8 kB / 445.9 MB, free: 7.91 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000366/0.1539, allocations: 192.9 kB / 446.1 MB, free: 7.723 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005112/0.1544, allocations: 458.5 kB / 446.6 MB, free: 7.145 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009369/0.1554, allocations: 0.6744 MB / 447.2 MB, free: 6.344 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/0.1554, allocations: 8 kB / 447.2 MB, free: 6.336 MB / 382.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001155/0.1565, allocations: 0.6845 MB / 447.9 MB, free: 5.645 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/0.1566, allocations: 11.94 kB / 447.9 MB, free: 5.633 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.914e-05/0.1567, allocations: 55.92 kB / 448 MB, free: 5.578 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.505e-05/0.1567, allocations: 12 kB / 448 MB, free: 5.566 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002901/0.157, allocations: 75.81 kB / 448.1 MB, free: 5.492 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.557e-05/0.157, allocations: 15.94 kB / 448.1 MB, free: 5.477 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003982/0.1574, allocations: 98.94 kB / 448.2 MB, free: 5.379 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.787e-05/0.1575, allocations: 40.12 kB / 448.2 MB, free: 5.34 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.0002658/0.1578, allocations: 257.4 kB / 448.5 MB, free: 5.078 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/0.1579, allocations: 55.28 kB / 448.5 MB, free: 5.023 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008888/0.1588, allocations: 465.7 kB / 449 MB, free: 4.562 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.857e-06/0.1588, allocations: 4 kB / 449 MB, free: 4.559 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.1588, allocations: 0 / 449 MB, free: 4.559 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.1588, allocations: 0 / 449 MB, free: 4.559 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005516/0.1594, allocations: 409.3 kB / 449.4 MB, free: 4.109 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-05/0.1594, allocations: 39.98 kB / 449.4 MB, free: 4.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001384/0.1596, allocations: 31.91 kB / 449.5 MB, free: 4.039 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.184e-06/0.1596, allocations: 7.938 kB / 449.5 MB, free: 4.031 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.471e-05/0.1596, allocations: 15.94 kB / 449.5 MB, free: 4.016 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.1597, allocations: 0 / 449.5 MB, free: 4.016 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1597, allocations: 0 / 449.5 MB, free: 4.016 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007871/0.1604, allocations: 0.611 MB / 450.1 MB, free: 3.387 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001087/0.1606, allocations: 144.3 kB / 450.2 MB, free: 3.227 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.678e-05/0.1606, allocations: 7.875 kB / 450.2 MB, free: 3.219 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002921/0.1609, allocations: 23.98 kB / 450.3 MB, free: 3.195 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.629e-05/0.161, allocations: 23.97 kB / 450.3 MB, free: 3.172 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.182e-05/0.1611, allocations: 16 kB / 450.3 MB, free: 3.156 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004261/0.1615, allocations: 450.7 kB / 450.7 MB, free: 2.719 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1615, allocations: 0 / 450.7 MB, free: 2.719 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007404/0.1623, allocations: 183.9 kB / 450.9 MB, free: 2.539 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.0004734/0.1627, allocations: 230.9 kB / 451.1 MB, free: 2.301 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001099/0.1639, allocations: 0.7793 MB / 451.9 MB, free: 1.449 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1639, allocations: 0 / 451.9 MB, free: 1.449 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004864/0.1644, allocations: 489 kB / 452.4 MB, free: 0.8984 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007264/0.1651, allocations: 122.4 kB / 452.5 MB, free: 0.7812 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2085/0.3736, allocations: 1.124 MB / 453.6 MB, free: 53.36 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004699/0.3741, allocations: 0.8902 MB / 454.5 MB, free: 52.67 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004195/0.3746, allocations: 132.6 kB / 454.7 MB, free: 52.66 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.33e-05/0.3747, allocations: 33.91 kB / 454.7 MB, free: 52.66 MB / 382.1 MB Notification: Performance of SimCode: time 1.112e-06/0.3747, allocations: 2.719 kB / 454.7 MB, free: 52.66 MB / 382.1 MB Notification: Performance of Templates: time 0.01534/0.39, allocations: 10.23 MB / 464.9 MB, free: 51.96 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe 2>&1)