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_turbulent_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_turbulent_KC,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001608/0.001608, allocations: 186.6 kB / 16.25 MB, free: 6.621 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.652/1.652, allocations: 205.1 MB / 222.1 MB, free: 4.699 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.4024/0.4024, allocations: 37.98 MB / 307.4 MB, free: 10.05 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.001519/0.001518, allocations: 70.41 kB / 374.8 MB, free: 15.5 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1326, allocations: 56.46 MB / 431.2 MB, free: 6.941 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.004192/0.1369, allocations: 1.933 MB / 433.2 MB, free: 4.988 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001531/0.1385, allocations: 0.8344 MB / 434 MB, free: 4.148 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001148/0.1386, allocations: 0 / 434 MB, free: 4.148 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004165/0.1391, allocations: 55.73 kB / 434 MB, free: 4.094 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003837/0.1395, allocations: 75.62 kB / 434.1 MB, free: 4.02 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003/0.1398, allocations: 67.81 kB / 434.2 MB, free: 3.953 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003257/0.1401, allocations: 266.7 kB / 434.4 MB, free: 3.691 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.134e-05/0.1402, allocations: 36.66 kB / 434.5 MB, free: 3.656 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001748/0.1404, allocations: 95.52 kB / 434.6 MB, free: 3.562 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002173/0.1406, allocations: 131.4 kB / 434.7 MB, free: 3.434 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.709e-05/0.1406, allocations: 4 kB / 434.7 MB, free: 3.43 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002442/0.1409, allocations: 119.8 kB / 434.8 MB, free: 3.312 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001103/0.141, allocations: 67.67 kB / 434.9 MB, free: 3.246 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001246/0.1411, allocations: 99.3 kB / 435 MB, free: 3.148 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004084/0.1416, allocations: 302.8 kB / 435.3 MB, free: 2.852 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.1416, allocations: 4 kB / 435.3 MB, free: 2.848 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.1416, allocations: 0 / 435.3 MB, free: 2.848 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.827e-06/0.1416, allocations: 0 / 435.3 MB, free: 2.848 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0009558/0.1426, allocations: 0.5498 MB / 435.8 MB, free: 2.25 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.1426, allocations: 11.89 kB / 435.8 MB, free: 2.238 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.782e-05/0.1427, allocations: 36.5 kB / 435.9 MB, free: 2.203 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002478/0.143, allocations: 239.5 kB / 436.1 MB, free: 1.934 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/0.143, allocations: 16.94 kB / 436.1 MB, free: 1.918 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.611e-05/0.143, allocations: 24.12 kB / 436.2 MB, free: 1.895 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005966/0.1436, allocations: 381.2 kB / 436.5 MB, free: 1.512 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.1436, allocations: 3.938 kB / 436.5 MB, free: 1.508 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.091e-05/0.1437, allocations: 19.92 kB / 436.6 MB, free: 1.488 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.052e-05/0.1437, allocations: 20.64 kB / 436.6 MB, free: 1.469 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005453/0.1443, allocations: 374.3 kB / 436.9 MB, free: 1.105 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001264/0.1456, allocations: 0.8384 MB / 437.8 MB, free: 220 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004631/0.146, allocations: 262.3 kB / 438 MB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001841/0.1462, allocations: 92.83 kB / 438.1 MB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.032e-05/0.1463, allocations: 15.94 kB / 438.1 MB, free: 15.84 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.1463, allocations: 30.56 kB / 438.2 MB, free: 15.8 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.232e-06/0.1463, allocations: 0 / 438.2 MB, free: 15.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.000754/0.1471, allocations: 337.2 kB / 438.5 MB, free: 15.46 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/0.1471, allocations: 51.41 kB / 438.6 MB, free: 15.4 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003228/0.1474, allocations: 342.8 kB / 438.9 MB, free: 15.06 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.1475, allocations: 33.64 kB / 438.9 MB, free: 15.02 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.1476, allocations: 168 kB / 439.1 MB, free: 14.85 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.209e-05/0.1477, allocations: 63.17 kB / 439.1 MB, free: 14.79 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.426e-05/0.1478, allocations: 53.94 kB / 439.2 MB, free: 14.73 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.1479, allocations: 338.8 kB / 439.5 MB, free: 14.39 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002064/0.1481, allocations: 100.4 kB / 439.6 MB, free: 14.29 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002501/0.1484, allocations: 180 kB / 439.8 MB, free: 14.08 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004761/0.1489, allocations: 314.7 kB / 440.1 MB, free: 13.73 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.1489, allocations: 0 / 440.1 MB, free: 13.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006299/0.1495, allocations: 348.9 kB / 440.4 MB, free: 13.38 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.1496, allocations: 4 kB / 440.5 MB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.1496, allocations: 4 kB / 440.5 MB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.353e-05/0.1496, allocations: 4 kB / 440.5 MB, free: 13.37 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005981/0.1502, allocations: 123.9 kB / 440.6 MB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00248/0.1527, allocations: 3.645 MB / 444.2 MB, free: 9.465 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002576/0.153, allocations: 47.55 kB / 444.3 MB, free: 9.418 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.592e-05/0.153, allocations: 16 kB / 444.3 MB, free: 9.402 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002785/0.1533, allocations: 185.7 kB / 444.5 MB, free: 9.211 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.023e-05/0.1534, allocations: 27.62 kB / 444.5 MB, free: 9.184 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006926/0.1541, allocations: 323.4 kB / 444.8 MB, free: 8.863 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.1541, allocations: 0 / 444.8 MB, free: 8.863 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1541, allocations: 0 / 444.8 MB, free: 8.863 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.1541, allocations: 3.984 kB / 444.8 MB, free: 8.859 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003548/0.1545, allocations: 305.3 kB / 445.1 MB, free: 8.512 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.1545, allocations: 7.938 kB / 445.1 MB, free: 8.504 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004826/0.155, allocations: 107.9 kB / 445.2 MB, free: 8.398 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.155, allocations: 0 / 445.2 MB, free: 8.398 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.993e-05/0.155, allocations: 4 kB / 445.2 MB, free: 8.395 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001866/0.1569, allocations: 3.645 MB / 448.9 MB, free: 4.609 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/0.1569, allocations: 3.938 kB / 448.9 MB, free: 4.605 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005049/0.1574, allocations: 359.7 kB / 449.2 MB, free: 4.238 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.919e-05/0.1575, allocations: 101 kB / 449.3 MB, free: 4.121 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.179e-05/0.1575, allocations: 4 kB / 449.3 MB, free: 4.117 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001686/0.1577, allocations: 15.92 kB / 449.4 MB, free: 4.102 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.998e-05/0.1578, allocations: 15.97 kB / 449.4 MB, free: 4.086 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.654e-05/0.1578, allocations: 8 kB / 449.4 MB, free: 4.078 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000222/0.158, allocations: 245.9 kB / 449.6 MB, free: 3.836 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.158, allocations: 4 kB / 449.6 MB, free: 3.832 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003712/0.1584, allocations: 71.94 kB / 449.7 MB, free: 3.762 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 (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002551/0.1587, allocations: 139.1 kB / 449.8 MB, free: 3.613 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008816/0.1596, allocations: 336.4 kB / 450.2 MB, free: 3.285 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1596, allocations: 0 / 450.2 MB, free: 3.285 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005267/0.1601, allocations: 187.7 kB / 450.3 MB, free: 3.102 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004136/0.1605, allocations: 72.77 kB / 450.4 MB, free: 3.031 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008952/0.1614, allocations: 0.6369 MB / 451 MB, free: 2.363 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002981/0.1617, allocations: 0.7988 MB / 451.8 MB, free: 1.535 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002008/0.162, allocations: 82.88 kB / 451.9 MB, free: 1.457 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.682e-05/0.162, allocations: 27.44 kB / 452 MB, free: 1.43 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.162, allocations: 0 / 452 MB, free: 1.43 MB / 382.1 MB Notification: Performance of Templates: time 0.225/0.387, allocations: 5.274 MB / 457.2 MB, free: 53.9 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1)