Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001381/0.001381, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001439/0.001439, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.494/1.494, allocations: 227.4 MB / 246.8 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2424/0.2424, allocations: 46.12 MB / 344.2 MB, free: 11.55 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002231/0.002231, allocations: 82.27 kB / 417.8 MB, free: 19.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1222, allocations: 62.45 MB / 480.2 MB, free: 5.098 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.003318/0.1255, allocations: 1.879 MB / 482.1 MB, free: 3.207 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00143/0.127, allocations: 0.8451 MB / 483 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.644e-05/0.1271, allocations: 4 kB / 483 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003186/0.1275, allocations: 63.64 kB / 483 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003064/0.1278, allocations: 79.58 kB / 483.1 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000337/0.1281, allocations: 75.72 kB / 483.2 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000304/0.1284, allocations: 266.7 kB / 483.4 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.525e-05/0.1285, allocations: 24.39 kB / 483.5 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002092/0.1287, allocations: 107.5 kB / 483.6 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001789/0.1289, allocations: 115.4 kB / 483.7 MB, free: 1.637 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.897e-05/0.129, allocations: 12 kB / 483.7 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002781/0.1292, allocations: 119.8 kB / 483.8 MB, free: 1.508 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.413e-05/0.1293, allocations: 67.69 kB / 483.9 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001156/0.1295, allocations: 103.3 kB / 484 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003913/0.1299, allocations: 303.1 kB / 484.3 MB, free: 1.043 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.145e-06/0.1299, allocations: 0 / 484.3 MB, free: 1.043 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1299, allocations: 0 / 484.3 MB, free: 1.043 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.68e-06/0.1299, allocations: 4 kB / 484.3 MB, free: 1.039 MB / 350.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.0008487/0.1308, allocations: 0.5558 MB / 484.8 MB, free: 448 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.1308, allocations: 8.031 kB / 484.8 MB, free: 440 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.317e-05/0.1309, allocations: 66.72 kB / 484.9 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.014e-05/0.131, allocations: 32.55 kB / 484.9 MB, free: 332 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002663/0.1312, allocations: 239.9 kB / 485.2 MB, free: 52 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.194e-05/0.1313, allocations: 16.94 kB / 485.2 MB, free: 36 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.472e-05/0.1313, allocations: 27.94 kB / 485.2 MB, free: 8 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006224/0.1319, allocations: 373.2 kB / 485.6 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.132, allocations: 4 kB / 485.6 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.709e-05/0.132, allocations: 12 kB / 485.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.874e-05/0.1321, allocations: 28.64 kB / 485.6 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006398/0.1327, allocations: 370.3 kB / 486 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001351/0.1341, allocations: 0.8501 MB / 486.8 MB, free: 14.33 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005016/0.1346, allocations: 254.3 kB / 487.1 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000212/0.1348, allocations: 100.7 kB / 487.2 MB, free: 13.97 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.543e-05/0.1348, allocations: 3.984 kB / 487.2 MB, free: 13.96 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.237e-05/0.1349, allocations: 46.55 kB / 487.2 MB, free: 13.91 MB / 366.1 MB Notification: Performance of pre-optimization done (n=16): time 2.124e-06/0.1349, allocations: 0 / 487.2 MB, free: 13.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007952/0.1357, allocations: 329.2 kB / 487.6 MB, free: 13.58 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.1358, allocations: 51.41 kB / 487.6 MB, free: 13.52 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003857/0.1362, allocations: 342.8 kB / 487.9 MB, free: 13.18 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/0.1362, allocations: 29.7 kB / 488 MB, free: 13.14 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00013/0.1363, allocations: 164 kB / 488.1 MB, free: 12.98 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.365e-05/0.1364, allocations: 59.2 kB / 488.2 MB, free: 12.92 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.1365, allocations: 61.94 kB / 488.2 MB, free: 12.85 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.1367, allocations: 338.8 kB / 488.6 MB, free: 12.51 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002208/0.1369, allocations: 96.38 kB / 488.7 MB, free: 12.42 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002886/0.1372, allocations: 187.9 kB / 488.9 MB, free: 12.2 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005409/0.1377, allocations: 313.9 kB / 489.2 MB, free: 11.85 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.1378, allocations: 0 / 489.2 MB, free: 11.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006427/0.1384, allocations: 349 kB / 489.5 MB, free: 11.5 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.1384, allocations: 12.06 kB / 489.5 MB, free: 11.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.1384, allocations: 7.984 kB / 489.5 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.1385, allocations: 4 kB / 489.5 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005794/0.1391, allocations: 123.9 kB / 489.6 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002466/0.1415, allocations: 3.645 MB / 493.3 MB, free: 7.574 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002435/0.1418, allocations: 39.53 kB / 493.3 MB, free: 7.535 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.281e-05/0.1418, allocations: 23.92 kB / 493.4 MB, free: 7.512 MB / 366.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.0002636/0.1421, allocations: 173.7 kB / 493.5 MB, free: 7.332 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.183e-05/0.1422, allocations: 27.62 kB / 493.5 MB, free: 7.305 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006933/0.1429, allocations: 323.6 kB / 493.9 MB, free: 6.977 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.1429, allocations: 4 kB / 493.9 MB, free: 6.973 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.1429, allocations: 0 / 493.9 MB, free: 6.973 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.1429, allocations: 3.984 kB / 493.9 MB, free: 6.969 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003772/0.1433, allocations: 305.3 kB / 494.2 MB, free: 6.621 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1433, allocations: 0 / 494.2 MB, free: 6.621 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004762/0.1438, allocations: 103.9 kB / 494.3 MB, free: 6.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.1438, allocations: 4 kB / 494.3 MB, free: 6.516 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.33e-05/0.1438, allocations: 11.98 kB / 494.3 MB, free: 6.504 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002269/0.1461, allocations: 3.649 MB / 497.9 MB, free: 2.715 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1461, allocations: 3.938 kB / 497.9 MB, free: 2.711 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005535/0.1467, allocations: 345.7 kB / 498.3 MB, free: 2.359 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.683e-05/0.1468, allocations: 100.8 kB / 498.4 MB, free: 2.242 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.919e-05/0.1468, allocations: 11.94 kB / 498.4 MB, free: 2.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001736/0.147, allocations: 12.08 kB / 498.4 MB, free: 2.219 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.513e-05/0.1471, allocations: 23.92 kB / 498.4 MB, free: 2.195 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.79e-05/0.1471, allocations: 7.984 kB / 498.4 MB, free: 2.188 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002501/0.1474, allocations: 241.9 kB / 498.7 MB, free: 1.953 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1474, allocations: 0 / 498.7 MB, free: 1.953 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003844/0.1478, allocations: 83.92 kB / 498.7 MB, free: 1.871 MB / 366.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.0009957/0.1488, allocations: 0.9071 MB / 499.7 MB, free: 0.9375 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000938/0.1497, allocations: 346.4 kB / 500 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.1497, allocations: 4 kB / 500 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005773/0.1503, allocations: 180.5 kB / 0.4885 GB, free: 432 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004152/0.1507, allocations: 75.27 kB / 0.4885 GB, free: 360 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004626/0.1554, allocations: 3.389 MB / 0.4918 GB, free: 12.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005143/0.1559, allocations: 0.7912 MB / 0.4926 GB, free: 11.98 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002432/0.1562, allocations: 74.91 kB / 0.4927 GB, free: 11.91 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001278/0.1563, allocations: 75.41 kB / 0.4927 GB, free: 11.84 MB / 382.1 MB Notification: Performance of SimCode: time 1.072e-06/0.1563, allocations: 0 / 0.4927 GB, free: 11.84 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03539/0.1917, allocations: 8.501 MB / 0.501 GB, free: 3.582 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.83/12.02, allocations: 19 kB / 0.5011 GB, free: 3.566 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1)