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.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,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001272/0.001272, 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.001407/0.001407, 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.454/1.454, allocations: 227.4 MB / 246.8 MB, free: 10.49 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.2297/0.2297, allocations: 46.11 MB / 344.2 MB, free: 11.52 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.00223/0.00223, allocations: 77.38 kB / 417.8 MB, free: 19.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1354, allocations: 62.45 MB / 480.2 MB, free: 5.074 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent): time 0.005899/0.1413, allocations: 2.134 MB / 482.4 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002987/0.1444, allocations: 1.219 MB / 483.6 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001653/0.1445, allocations: 0 / 483.6 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004128/0.145, allocations: 71.53 kB / 483.7 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003795/0.1454, allocations: 87.44 kB / 483.7 MB, free: 1.539 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007924/0.1462, allocations: 183.3 kB / 483.9 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007161/0.147, allocations: 434 kB / 484.3 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.1471, allocations: 44.72 kB / 484.4 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003941/0.1475, allocations: 167.1 kB / 484.5 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003664/0.1479, allocations: 183.1 kB / 484.7 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.392e-05/0.148, allocations: 12 kB / 484.7 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000593/0.1486, allocations: 223.7 kB / 485 MB, free: 324 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001399/0.1487, allocations: 91.53 kB / 485 MB, free: 232 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002478/0.149, allocations: 166.8 kB / 485.2 MB, free: 64 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008207/0.1498, allocations: 494.5 kB / 485.7 MB, free: 15.58 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1498, allocations: 11.86 kB / 485.7 MB, free: 15.57 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1499, allocations: 0 / 485.7 MB, free: 15.57 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.04e-05/0.1499, allocations: 4 kB / 485.7 MB, free: 15.56 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001503/0.1514, allocations: 0.698 MB / 486.4 MB, free: 14.82 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.1514, allocations: 12.03 kB / 486.4 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001215/0.1516, allocations: 78.72 kB / 486.5 MB, free: 14.72 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005464/0.1521, allocations: 76.42 kB / 486.6 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004995/0.1526, allocations: 300.2 kB / 486.9 MB, free: 14.31 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.793e-05/0.1527, allocations: 25.38 kB / 486.9 MB, free: 14.29 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.653e-05/0.1528, allocations: 40.38 kB / 486.9 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001171/0.154, allocations: 0.5778 MB / 487.5 MB, free: 13.65 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.154, allocations: 4 kB / 487.5 MB, free: 13.65 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.644e-05/0.154, allocations: 19.94 kB / 487.5 MB, free: 13.63 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-05/0.1541, allocations: 20.98 kB / 487.5 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000846/0.1549, allocations: 427.6 kB / 488 MB, free: 13.19 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002012/0.1569, allocations: 1.383 MB / 489.3 MB, free: 11.74 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005544/0.1575, allocations: 271.6 kB / 489.6 MB, free: 11.45 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003325/0.1579, allocations: 134.5 kB / 489.7 MB, free: 11.31 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.629e-05/0.1579, allocations: 15.97 kB / 489.8 MB, free: 11.29 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.866e-05/0.158, allocations: 38.56 kB / 489.8 MB, free: 11.25 MB / 366.1 MB Notification: Performance of pre-optimization done (n=17): time 1.803e-06/0.158, allocations: 0 / 489.8 MB, free: 11.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=17): time 0.001189/0.1592, allocations: 464.2 kB / 490.2 MB, free: 10.79 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.446e-05/0.1592, allocations: 110.8 kB / 490.4 MB, free: 10.66 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005936/0.1598, allocations: 0.5017 MB / 490.9 MB, free: 10.15 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.935e-05/0.1599, allocations: 25.7 kB / 490.9 MB, free: 10.12 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001785/0.1601, allocations: 208.2 kB / 491.1 MB, free: 9.91 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.735e-05/0.1601, allocations: 55.2 kB / 491.1 MB, free: 9.855 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.1602, allocations: 49.7 kB / 491.2 MB, free: 9.801 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001802/0.1604, allocations: 354.8 kB / 491.5 MB, free: 9.445 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003428/0.1608, allocations: 123.9 kB / 491.7 MB, free: 9.324 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003616/0.1611, allocations: 171.9 kB / 491.8 MB, free: 9.141 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006791/0.1618, allocations: 308.8 kB / 492.1 MB, free: 8.82 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.1618, allocations: 0 / 492.1 MB, free: 8.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008524/0.1627, allocations: 372.8 kB / 492.5 MB, free: 8.449 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.1627, allocations: 14.42 kB / 492.5 MB, free: 8.438 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.692e-05/0.1628, allocations: 28.16 kB / 492.5 MB, free: 8.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.1628, allocations: 4 kB / 492.5 MB, free: 8.406 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002112/0.163, allocations: 39.95 kB / 492.6 MB, free: 8.367 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.163, allocations: 0 / 492.6 MB, free: 8.367 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002629/0.1633, allocations: 63.36 kB / 492.6 MB, free: 8.305 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.086e-05/0.1633, allocations: 12 kB / 492.6 MB, free: 8.293 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (18): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002144/0.1636, allocations: 189.7 kB / 492.8 MB, free: 8.098 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/0.1637, allocations: 47.41 kB / 492.9 MB, free: 8.051 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007886/0.1645, allocations: 383.4 kB / 493.3 MB, free: 7.668 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.814e-06/0.1645, allocations: 4 kB / 493.3 MB, free: 7.664 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.1645, allocations: 0 / 493.3 MB, free: 7.664 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.1645, allocations: 7.984 kB / 493.3 MB, free: 7.656 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005761/0.1651, allocations: 361.3 kB / 493.6 MB, free: 7.254 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.941e-05/0.1652, allocations: 24 kB / 493.6 MB, free: 7.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001577/0.1653, allocations: 39.84 kB / 493.7 MB, free: 7.191 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.197e-06/0.1653, allocations: 7.984 kB / 493.7 MB, free: 7.184 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.457e-05/0.1654, allocations: 4 kB / 493.7 MB, free: 7.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.219e-05/0.1654, allocations: 4 kB / 493.7 MB, free: 7.176 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1654, allocations: 0 / 493.7 MB, free: 7.176 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009053/0.1663, allocations: 0.5715 MB / 494.3 MB, free: 6.586 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001337/0.1665, allocations: 124.6 kB / 494.4 MB, free: 6.445 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.146e-05/0.1665, allocations: 3.984 kB / 494.4 MB, free: 6.441 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002828/0.1668, allocations: 19.97 kB / 494.4 MB, free: 6.422 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.814e-05/0.1669, allocations: 23.92 kB / 494.4 MB, free: 6.398 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.652e-05/0.1669, allocations: 12 kB / 494.4 MB, free: 6.387 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004336/0.1674, allocations: 379 kB / 494.8 MB, free: 6.023 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1674, allocations: 0 / 494.8 MB, free: 6.023 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005185/0.1679, allocations: 107.9 kB / 494.9 MB, free: 5.918 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001408/0.1693, allocations: 1.171 MB / 496.1 MB, free: 4.719 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009376/0.1703, allocations: 0.5302 MB / 496.6 MB, free: 4.133 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.1703, allocations: 4.312 kB / 496.6 MB, free: 4.129 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004983/0.1708, allocations: 383.1 kB / 497 MB, free: 3.699 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006736/0.1715, allocations: 98.27 kB / 497.1 MB, free: 3.602 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00672/0.1782, allocations: 4.815 MB / 0.4902 GB, free: 14.66 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004735/0.1787, allocations: 0.8536 MB / 0.491 GB, free: 13.78 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001721/0.1789, allocations: 63.25 kB / 0.491 GB, free: 13.72 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000149/0.179, allocations: 103.4 kB / 0.4911 GB, free: 13.62 MB / 382.1 MB Notification: Performance of SimCode: time 6.22e-07/0.179, allocations: 0 / 0.4911 GB, free: 13.62 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03465/0.2137, allocations: 11.3 MB / 0.5022 GB, free: 2.531 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.223/8.437, allocations: 7.281 kB / 0.5022 GB, free: 2.523 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_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.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe 2>&1)