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_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.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_turbulent_KC,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.2_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.0009885/0.0009887, allocations: 99.31 kB / 15.05 MB, free: 1.105 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.001129/0.001129, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.409/1.409, allocations: 205.4 MB / 222.1 MB, free: 5.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.3081/0.3081, allocations: 39.99 MB / 310.4 MB, free: 9.953 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.0005423/0.0005424, allocations: 16 kB / 378.8 MB, free: 12.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.112, allocations: 57.96 MB / 436.8 MB, free: 2.562 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.002027/0.1141, allocations: 1.517 MB / 438.3 MB, free: 1.031 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001118/0.1152, allocations: 0.7378 MB / 439.1 MB, free: 296 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.505e-05/0.1153, allocations: 0 / 439.1 MB, free: 296 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001913/0.1155, allocations: 55.78 kB / 439.1 MB, free: 240 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001984/0.1157, allocations: 55.83 kB / 439.2 MB, free: 184 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002043/0.1159, allocations: 59.8 kB / 439.2 MB, free: 124 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002264/0.1161, allocations: 179.6 kB / 439.4 MB, free: 15.95 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.439e-05/0.1162, allocations: 32.66 kB / 439.4 MB, free: 15.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000124/0.1163, allocations: 71.7 kB / 439.5 MB, free: 15.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001228/0.1165, allocations: 83.61 kB / 439.6 MB, free: 15.76 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.988e-05/0.1165, allocations: 8 kB / 439.6 MB, free: 15.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002766/0.1168, allocations: 123.8 kB / 439.7 MB, free: 15.63 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.143e-05/0.1169, allocations: 59.75 kB / 439.8 MB, free: 15.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.641e-05/0.1169, allocations: 61.58 kB / 439.8 MB, free: 15.51 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002215/0.1172, allocations: 199.4 kB / 440 MB, free: 15.31 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.963e-06/0.1172, allocations: 0 / 440 MB, free: 15.31 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1172, allocations: 0 / 440 MB, free: 15.31 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.578e-06/0.1172, allocations: 0 / 440 MB, free: 15.31 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0006971/0.1179, allocations: 0.5106 MB / 440.5 MB, free: 14.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.1179, allocations: 12.02 kB / 440.5 MB, free: 14.74 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.666e-05/0.118, allocations: 31.67 kB / 440.6 MB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003016/0.1183, allocations: 230.6 kB / 440.8 MB, free: 14.45 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.137e-05/0.1183, allocations: 20.55 kB / 440.8 MB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.332e-05/0.1184, allocations: 27.98 kB / 440.8 MB, free: 14.4 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000622/0.119, allocations: 377.2 kB / 441.2 MB, free: 14.02 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.1191, allocations: 0 / 441.2 MB, free: 14.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.18e-05/0.1191, allocations: 15.95 kB / 441.2 MB, free: 14 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.663e-05/0.1191, allocations: 24.64 kB / 441.3 MB, free: 13.98 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006168/0.1198, allocations: 382.3 kB / 441.6 MB, free: 13.61 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001445/0.1212, allocations: 0.854 MB / 442.5 MB, free: 12.7 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004686/0.1217, allocations: 266.3 kB / 442.7 MB, free: 12.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.425e-05/0.1218, allocations: 0 / 442.7 MB, free: 12.43 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/0.1218, allocations: 38.62 kB / 442.8 MB, free: 12.39 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.593e-06/0.1218, allocations: 0 / 442.8 MB, free: 12.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.000791/0.1226, allocations: 345.3 kB / 443.1 MB, free: 12.05 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.06e-05/0.1226, allocations: 59.34 kB / 443.2 MB, free: 11.98 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003278/0.123, allocations: 338.8 kB / 443.5 MB, free: 11.64 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.375e-05/0.123, allocations: 25.7 kB / 443.5 MB, free: 11.61 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/0.1231, allocations: 176 kB / 443.7 MB, free: 11.43 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.432e-05/0.1232, allocations: 59.2 kB / 443.8 MB, free: 11.37 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.175e-05/0.1232, allocations: 0 / 443.8 MB, free: 11.37 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.1233, allocations: 346.7 kB / 444.1 MB, free: 11.02 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002007/0.1235, allocations: 104.4 kB / 444.2 MB, free: 10.92 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002557/0.1238, allocations: 188 kB / 444.4 MB, free: 10.7 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002339/0.1241, allocations: 127.8 kB / 444.5 MB, free: 10.57 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.1241, allocations: 0 / 444.5 MB, free: 10.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006076/0.1247, allocations: 356.9 kB / 444.9 MB, free: 10.22 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.1247, allocations: 4.375 kB / 444.9 MB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.123e-05/0.1247, allocations: 8 kB / 444.9 MB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.196e-05/0.1248, allocations: 4 kB / 444.9 MB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006149/0.1254, allocations: 123.8 kB / 445 MB, free: 10.08 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002384/0.1278, allocations: 3.649 MB / 448.6 MB, free: 6.293 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002544/0.1281, allocations: 47.55 kB / 448.7 MB, free: 6.246 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.656e-05/0.1281, allocations: 16 kB / 448.7 MB, free: 6.23 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 (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002739/0.1284, allocations: 173.7 kB / 448.9 MB, free: 6.051 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.968e-05/0.1284, allocations: 27.91 kB / 448.9 MB, free: 6.023 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006685/0.1291, allocations: 343.5 kB / 449.2 MB, free: 5.684 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/0.1291, allocations: 4 kB / 449.2 MB, free: 5.68 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.1291, allocations: 3.938 kB / 449.2 MB, free: 5.676 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1291, allocations: 4 kB / 449.2 MB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003664/0.1295, allocations: 297.4 kB / 449.5 MB, free: 5.332 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.1295, allocations: 0 / 449.5 MB, free: 5.332 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004732/0.13, allocations: 99.91 kB / 449.6 MB, free: 5.234 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.007e-06/0.13, allocations: 4 kB / 449.6 MB, free: 5.23 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.01e-05/0.1301, allocations: 7.984 kB / 449.6 MB, free: 5.223 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001893/0.132, allocations: 3.649 MB / 453.3 MB, free: 1.434 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.132, allocations: 4.031 kB / 453.3 MB, free: 1.43 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000554/0.1325, allocations: 370.8 kB / 453.7 MB, free: 1.055 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.182e-05/0.1326, allocations: 112.6 kB / 453.8 MB, free: 0.9258 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.391e-05/0.1327, allocations: 8 kB / 453.8 MB, free: 0.918 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001658/0.1329, allocations: 11.98 kB / 453.8 MB, free: 0.9062 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.164e-05/0.1329, allocations: 15.98 kB / 453.8 MB, free: 0.8906 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.736e-05/0.133, allocations: 7.984 kB / 453.8 MB, free: 0.8828 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002353/0.1332, allocations: 241.9 kB / 454.1 MB, free: 0.6445 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1332, allocations: 0 / 454.1 MB, free: 0.6445 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003997/0.1336, allocations: 75.98 kB / 454.1 MB, free: 0.5703 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 (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002575/0.1339, allocations: 143 kB / 454.3 MB, free: 428 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008813/0.1348, allocations: 324.2 kB / 454.6 MB, free: 104 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.1348, allocations: 0 / 454.6 MB, free: 104 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.1769/0.3117, allocations: 193.3 kB / 454.8 MB, free: 49.79 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005349/0.3123, allocations: 57.92 kB / 454.8 MB, free: 49.78 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/0.3134, allocations: 0.6375 MB / 455.5 MB, free: 49.52 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002112/0.3136, allocations: 0.8013 MB / 456.3 MB, free: 48.82 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002057/0.3138, allocations: 80.22 kB / 456.3 MB, free: 48.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.291e-05/0.3139, allocations: 23.05 kB / 456.4 MB, free: 48.82 MB / 382.1 MB Notification: Performance of SimCode: time 9.82e-07/0.3139, allocations: 0 / 456.4 MB, free: 48.82 MB / 382.1 MB Notification: Performance of Templates: time 0.007387/0.3213, allocations: 4.775 MB / 461.1 MB, free: 48.58 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1) Environment - environmentSimulation: