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.HelicalPipe.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.HelicalPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_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.001271/0.001271, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001282/0.001282, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.473/1.473, allocations: 227.4 MB / 246.8 MB, free: 10.54 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.2223/0.2223, allocations: 46.11 MB / 344.2 MB, free: 11.57 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.003182/0.003182, allocations: 80.73 kB / 417.8 MB, free: 19.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1331, allocations: 62.45 MB / 480.2 MB, free: 5.105 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC): time 0.003854/0.137, allocations: 2.031 MB / 482.3 MB, free: 3.059 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001759/0.1388, allocations: 0.9307 MB / 483.2 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.449e-05/0.1389, allocations: 3.938 kB / 483.2 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000371/0.1393, allocations: 63.64 kB / 483.3 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004045/0.1397, allocations: 111.4 kB / 483.4 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002924/0.14, allocations: 91.64 kB / 483.5 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004839/0.1405, allocations: 394.2 kB / 483.8 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.636e-05/0.1406, allocations: 36.72 kB / 483.9 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003191/0.141, allocations: 159.2 kB / 484 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002604/0.1413, allocations: 183.1 kB / 484.2 MB, free: 1.098 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.291e-05/0.1413, allocations: 8 kB / 484.2 MB, free: 1.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003065/0.1416, allocations: 155.7 kB / 484.4 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001174/0.1417, allocations: 95.53 kB / 484.5 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001637/0.1419, allocations: 154.9 kB / 484.6 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005909/0.1425, allocations: 426.6 kB / 485 MB, free: 280 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1425, allocations: 0 / 485 MB, free: 280 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1425, allocations: 0 / 485 MB, free: 280 kB / 350.1 MB Notification: Performance of Transformations before backend: time 9.518e-06/0.1425, allocations: 4 kB / 485 MB, free: 276 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.001149/0.1437, allocations: 0.6651 MB / 485.7 MB, free: 15.56 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.722e-05/0.1438, allocations: 12.03 kB / 485.7 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001091/0.1439, allocations: 86.7 kB / 485.8 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.759e-05/0.144, allocations: 44.45 kB / 485.8 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003617/0.1443, allocations: 267.7 kB / 486.1 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.222e-05/0.1444, allocations: 29.36 kB / 486.1 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.784e-05/0.1445, allocations: 40.31 kB / 486.2 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009098/0.1454, allocations: 0.5609 MB / 486.7 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.1454, allocations: 4 kB / 486.7 MB, free: 14.47 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.025e-05/0.1455, allocations: 19.98 kB / 486.8 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.905e-05/0.1455, allocations: 40.91 kB / 486.8 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001013/0.1465, allocations: 0.5698 MB / 487.4 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001963/0.1485, allocations: 1.179 MB / 488.5 MB, free: 12.61 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007801/0.1493, allocations: 374.2 kB / 488.9 MB, free: 12.23 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000319/0.1497, allocations: 140.8 kB / 489.1 MB, free: 12.09 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.658e-05/0.1497, allocations: 7.984 kB / 489.1 MB, free: 12.09 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.988e-05/0.1498, allocations: 38.56 kB / 489.1 MB, free: 12.04 MB / 366.1 MB Notification: Performance of pre-optimization done (n=22): time 2.695e-06/0.1498, allocations: 0 / 489.1 MB, free: 12.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001277/0.1511, allocations: 468.4 kB / 489.6 MB, free: 11.58 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.611e-05/0.1512, allocations: 59.41 kB / 489.6 MB, free: 11.51 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006424/0.1518, allocations: 449.6 kB / 490.1 MB, free: 11.06 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.386e-05/0.1519, allocations: 25.7 kB / 490.1 MB, free: 11.03 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002081/0.1521, allocations: 192.3 kB / 490.3 MB, free: 10.84 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001132/0.1522, allocations: 74.91 kB / 490.3 MB, free: 10.76 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001412/0.1524, allocations: 53.69 kB / 490.4 MB, free: 10.7 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002477/0.1526, allocations: 350.8 kB / 490.7 MB, free: 10.35 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002956/0.1529, allocations: 123.9 kB / 490.9 MB, free: 10.23 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002538/0.1532, allocations: 115.9 kB / 491 MB, free: 10.12 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005556/0.1537, allocations: 260.6 kB / 491.2 MB, free: 9.859 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.1538, allocations: 3.938 kB / 491.2 MB, free: 9.855 MB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006987/0.1545, allocations: 340.6 kB / 491.6 MB, free: 9.52 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.1545, allocations: 11.88 kB / 491.6 MB, free: 9.508 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.1545, allocations: 4 kB / 491.6 MB, free: 9.504 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.1545, allocations: 4 kB / 491.6 MB, free: 9.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007511/0.1553, allocations: 151.9 kB / 491.7 MB, free: 9.352 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003964/0.1593, allocations: 5.516 MB / 497.2 MB, free: 3.625 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003068/0.1596, allocations: 47.39 kB / 497.3 MB, free: 3.578 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.333e-05/0.1596, allocations: 15.98 kB / 497.3 MB, free: 3.562 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 9 * 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): 9 systems {1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002845/0.1599, allocations: 189.6 kB / 497.5 MB, free: 3.367 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.16e-05/0.16, allocations: 31.62 kB / 497.5 MB, free: 3.336 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009769/0.161, allocations: 464.5 kB / 498 MB, free: 2.875 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.161, allocations: 0 / 498 MB, free: 2.875 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.161, allocations: 3.938 kB / 498 MB, free: 2.871 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-06/0.1611, allocations: 0 / 498 MB, free: 2.871 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005209/0.1616, allocations: 381.2 kB / 498.3 MB, free: 2.449 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.1616, allocations: 0 / 498.3 MB, free: 2.449 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007022/0.1623, allocations: 155.9 kB / 498.5 MB, free: 2.297 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.7e-06/0.1623, allocations: 0 / 498.5 MB, free: 2.297 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.628e-05/0.1624, allocations: 8 kB / 498.5 MB, free: 2.289 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003545/0.1659, allocations: 5.516 MB / 0.4922 GB, free: 12.56 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.1659, allocations: 3.938 kB / 0.4922 GB, free: 12.56 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007123/0.1666, allocations: 451 kB / 0.4926 GB, free: 12.1 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001186/0.1668, allocations: 120.6 kB / 0.4928 GB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.282e-05/0.1668, allocations: 8 kB / 0.4928 GB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001932/0.167, allocations: 4 kB / 0.4928 GB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.264e-05/0.1671, allocations: 27.91 kB / 0.4928 GB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.049e-05/0.1672, allocations: 11.98 kB / 0.4928 GB, free: 11.91 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003803/0.1676, allocations: 335.1 kB / 0.4931 GB, free: 11.59 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1676, allocations: 4 kB / 0.4931 GB, free: 11.59 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004056/0.168, allocations: 99.94 kB / 0.4932 GB, free: 11.49 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 (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 9 * 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): 9 systems {1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001251/0.1692, allocations: 1.016 MB / 0.4942 GB, free: 10.45 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001233/0.1705, allocations: 439.5 kB / 0.4946 GB, free: 10.02 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1705, allocations: 4 kB / 0.4946 GB, free: 10.01 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008596/0.1714, allocations: 271.7 kB / 0.4949 GB, free: 9.746 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004882/0.1719, allocations: 93.38 kB / 0.495 GB, free: 9.656 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005781/0.1777, allocations: 4.441 MB / 0.4993 GB, free: 5.133 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004945/0.1782, allocations: 0.8582 MB / 0.5002 GB, free: 4.246 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002426/0.1784, allocations: 83.22 kB / 0.5002 GB, free: 4.168 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001686/0.1786, allocations: 111.4 kB / 0.5004 GB, free: 4.062 MB / 382.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1786, allocations: 0 / 0.5004 GB, free: 4.062 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2266/0.4052, allocations: 11.34 MB / 0.5114 GB, free: 43.12 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.89/12.3, allocations: 10.84 kB / 0.5114 GB, free: 43.11 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe 2>&1)