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.006999/0.006999, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001291/0.001292, allocations: 189.1 kB / 16.67 MB, free: 5.523 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.615/1.615, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2017/0.2017, allocations: 38 MB / 307.9 MB, free: 6 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.001453/0.001453, allocations: 67.91 kB / 433 MB, free: 14.43 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1223, allocations: 56.47 MB / 489.5 MB, free: 5.883 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.003322/0.1257, allocations: 1.859 MB / 491.4 MB, free: 4.008 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001513/0.1272, allocations: 0.846 MB / 492.2 MB, free: 3.156 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.63e-05/0.1273, allocations: 0 / 492.2 MB, free: 3.156 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003578/0.1277, allocations: 59.66 kB / 492.3 MB, free: 3.098 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004693/0.1282, allocations: 87.55 kB / 492.3 MB, free: 3.012 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004047/0.1286, allocations: 71.8 kB / 492.4 MB, free: 2.941 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004416/0.129, allocations: 266.7 kB / 492.7 MB, free: 2.68 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.811e-05/0.1291, allocations: 36.31 kB / 492.7 MB, free: 2.641 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002099/0.1294, allocations: 99.5 kB / 492.8 MB, free: 2.543 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002058/0.1296, allocations: 119.4 kB / 492.9 MB, free: 2.426 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.566e-05/0.1296, allocations: 4 kB / 492.9 MB, free: 2.422 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002712/0.1299, allocations: 119.8 kB / 493 MB, free: 2.305 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001048/0.13, allocations: 67.69 kB / 493.1 MB, free: 2.238 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001173/0.1301, allocations: 107.3 kB / 493.2 MB, free: 2.133 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004236/0.1306, allocations: 298.8 kB / 493.5 MB, free: 1.84 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1306, allocations: 4 kB / 493.5 MB, free: 1.836 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1306, allocations: 0 / 493.5 MB, free: 1.836 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.1306, allocations: 0 / 493.5 MB, free: 1.836 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.0008547/0.1315, allocations: 0.542 MB / 494 MB, free: 1.246 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.1315, allocations: 15.89 kB / 494.1 MB, free: 1.23 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.316e-05/0.1316, allocations: 24.66 kB / 494.1 MB, free: 1.207 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002381/0.1318, allocations: 255.4 kB / 494.3 MB, free: 0.9219 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.28e-05/0.1319, allocations: 20.94 kB / 494.4 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.832e-05/0.1319, allocations: 24.12 kB / 494.4 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005759/0.1325, allocations: 381.2 kB / 494.8 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.1325, allocations: 0 / 494.8 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.467e-05/0.1325, allocations: 8 kB / 494.8 MB, free: 0.4961 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.819e-05/0.1326, allocations: 24.64 kB / 494.8 MB, free: 484 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005806/0.1332, allocations: 378.3 kB / 495.2 MB, free: 104 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00125/0.1344, allocations: 0.8423 MB / 496 MB, free: 15.21 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004843/0.1349, allocations: 254.3 kB / 496.2 MB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002083/0.1351, allocations: 104.8 kB / 496.3 MB, free: 14.84 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.826e-05/0.1352, allocations: 11.91 kB / 496.4 MB, free: 14.83 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/0.1352, allocations: 34.56 kB / 496.4 MB, free: 14.79 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.773e-06/0.1353, allocations: 0 / 496.4 MB, free: 14.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008702/0.1361, allocations: 325.1 kB / 496.7 MB, free: 14.46 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.5e-05/0.1362, allocations: 59.55 kB / 496.8 MB, free: 14.39 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004002/0.1366, allocations: 346.8 kB / 497.1 MB, free: 14.04 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.891e-05/0.1366, allocations: 33.64 kB / 497.1 MB, free: 14 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001425/0.1368, allocations: 164 kB / 497.3 MB, free: 13.84 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.804e-05/0.1369, allocations: 59.19 kB / 497.4 MB, free: 13.78 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/0.137, allocations: 61.92 kB / 497.4 MB, free: 13.71 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.1371, allocations: 338.8 kB / 497.8 MB, free: 13.38 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002271/0.1374, allocations: 96.36 kB / 497.8 MB, free: 13.28 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002979/0.1377, allocations: 191.9 kB / 498 MB, free: 13.05 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004946/0.1382, allocations: 306.7 kB / 498.3 MB, free: 12.72 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.1382, allocations: 0 / 498.3 MB, free: 12.72 MB / 382.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006084/0.1388, allocations: 348.7 kB / 498.7 MB, free: 12.37 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.1388, allocations: 8 kB / 498.7 MB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.1389, allocations: 7.938 kB / 498.7 MB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.1389, allocations: 4 kB / 498.7 MB, free: 12.35 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005793/0.1395, allocations: 127.9 kB / 498.8 MB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001842/0.1413, allocations: 3.649 MB / 0.4907 GB, free: 8.438 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002062/0.1415, allocations: 39.58 kB / 0.4907 GB, free: 8.398 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.517e-05/0.1416, allocations: 12.28 kB / 0.4907 GB, free: 8.387 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.0002653/0.1419, allocations: 193.4 kB / 0.4909 GB, free: 8.188 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.416e-05/0.1419, allocations: 27.62 kB / 0.4909 GB, free: 8.16 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006594/0.1426, allocations: 323.5 kB / 0.4913 GB, free: 7.836 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.1426, allocations: 4 kB / 0.4913 GB, free: 7.832 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.1426, allocations: 4 kB / 0.4913 GB, free: 7.828 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.1426, allocations: 0 / 0.4913 GB, free: 7.828 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000333/0.1429, allocations: 293.4 kB / 0.4915 GB, free: 7.492 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.143, allocations: 0 / 0.4915 GB, free: 7.492 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004742/0.1434, allocations: 111.9 kB / 0.4917 GB, free: 7.383 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.1435, allocations: 0 / 0.4917 GB, free: 7.383 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.933e-05/0.1435, allocations: 8 kB / 0.4917 GB, free: 7.375 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001775/0.1453, allocations: 3.641 MB / 0.4952 GB, free: 3.594 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.72e-06/0.1453, allocations: 7.922 kB / 0.4952 GB, free: 3.586 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005157/0.1458, allocations: 347.2 kB / 0.4956 GB, free: 3.23 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.924e-05/0.1459, allocations: 112.7 kB / 0.4957 GB, free: 3.102 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.499e-05/0.1459, allocations: 4 kB / 0.4957 GB, free: 3.098 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001631/0.1461, allocations: 11.94 kB / 0.4957 GB, free: 3.086 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.438e-05/0.1462, allocations: 19.97 kB / 0.4957 GB, free: 3.066 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.738e-05/0.1462, allocations: 4 kB / 0.4957 GB, free: 3.062 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002277/0.1464, allocations: 253.8 kB / 0.4959 GB, free: 2.82 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1464, allocations: 0 / 0.4959 GB, free: 2.82 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003772/0.1468, allocations: 71.94 kB / 0.496 GB, free: 2.75 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.0002365/0.1471, allocations: 127.2 kB / 0.4961 GB, free: 2.617 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008726/0.1479, allocations: 327.6 kB / 0.4964 GB, free: 2.297 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.148, allocations: 0 / 0.4964 GB, free: 2.297 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005378/0.1485, allocations: 191.4 kB / 0.4966 GB, free: 2.113 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004114/0.1489, allocations: 65.47 kB / 0.4967 GB, free: 2.047 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009911/0.1499, allocations: 0.5769 MB / 0.4973 GB, free: 1.438 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004181/0.1504, allocations: 0.7873 MB / 0.498 GB, free: 0.625 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001757/0.1505, allocations: 78.89 kB / 0.4981 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.482e-05/0.1506, allocations: 31.42 kB / 0.4981 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1506, allocations: 3.938 kB / 0.4981 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of Templates: time 0.009912/0.1605, allocations: 5.422 MB / 0.5034 GB, free: 11.1 MB / 398.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)