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.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,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_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.0013/0.0013, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001421/0.001421, allocations: 210.4 kB / 18.58 MB, free: 4.578 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.62 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.2395/0.2395, allocations: 46.1 MB / 344.2 MB, free: 11.62 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.003767/0.003767, allocations: 84.58 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1487, allocations: 62.45 MB / 480.2 MB, free: 5.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.003634/0.1523, allocations: 2.032 MB / 482.3 MB, free: 3.109 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001938/0.1543, allocations: 1.153 MB / 483.4 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.46e-05/0.1544, allocations: 0 / 483.4 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002587/0.1547, allocations: 63.59 kB / 483.5 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001908/0.1549, allocations: 71.53 kB / 483.5 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005412/0.1554, allocations: 179.3 kB / 483.7 MB, free: 1.645 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000391/0.1558, allocations: 322.6 kB / 484 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.783e-05/0.1559, allocations: 36.72 kB / 484.1 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002172/0.1561, allocations: 119.4 kB / 484.2 MB, free: 1.176 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002013/0.1564, allocations: 139.2 kB / 484.3 MB, free: 1.039 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.463e-05/0.1564, allocations: 12 kB / 484.3 MB, free: 1.027 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004011/0.1568, allocations: 211.7 kB / 484.5 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.607e-05/0.1569, allocations: 71.66 kB / 484.6 MB, free: 0.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001473/0.1571, allocations: 127.2 kB / 484.7 MB, free: 0.625 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005357/0.1576, allocations: 402.8 kB / 485.1 MB, free: 236 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.1576, allocations: 8 kB / 485.1 MB, free: 228 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1576, allocations: 0 / 485.1 MB, free: 228 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.1577, allocations: 0 / 485.1 MB, free: 228 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001161/0.1588, allocations: 0.6159 MB / 485.8 MB, free: 15.56 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.1589, allocations: 8.031 kB / 485.8 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.575e-05/0.159, allocations: 66.72 kB / 485.8 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003797/0.1593, allocations: 68.52 kB / 485.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003334/0.1597, allocations: 271.4 kB / 486.2 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.239e-05/0.1597, allocations: 20.56 kB / 486.2 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.436e-05/0.1598, allocations: 24 kB / 486.2 MB, free: 15.06 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007713/0.1606, allocations: 429.9 kB / 486.6 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.1606, allocations: 3.938 kB / 486.6 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.964e-05/0.1606, allocations: 8 kB / 486.6 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.291e-05/0.1606, allocations: 20.55 kB / 486.7 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007264/0.1614, allocations: 321.9 kB / 487 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001574/0.163, allocations: 1.1 MB / 488.1 MB, free: 13.12 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005367/0.1635, allocations: 243.7 kB / 488.3 MB, free: 12.85 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003037/0.1638, allocations: 106.5 kB / 488.4 MB, free: 12.74 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.713e-05/0.1639, allocations: 15.88 kB / 488.4 MB, free: 12.72 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.505e-05/0.1639, allocations: 42.5 kB / 488.5 MB, free: 12.67 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.823e-06/0.1639, allocations: 0 / 488.5 MB, free: 12.67 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.001089/0.165, allocations: 357.2 kB / 488.8 MB, free: 12.32 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.133e-05/0.1651, allocations: 110.7 kB / 488.9 MB, free: 12.18 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005044/0.1656, allocations: 405.6 kB / 489.3 MB, free: 11.78 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.707e-05/0.1657, allocations: 25.7 kB / 489.3 MB, free: 11.75 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001628/0.1658, allocations: 199.7 kB / 489.5 MB, free: 11.55 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.625e-05/0.1659, allocations: 43.36 kB / 489.6 MB, free: 11.51 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001174/0.166, allocations: 69.89 kB / 489.7 MB, free: 11.43 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001783/0.1662, allocations: 342.8 kB / 490 MB, free: 11.09 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000317/0.1665, allocations: 116.1 kB / 490.1 MB, free: 10.97 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004052/0.1669, allocations: 231.8 kB / 490.3 MB, free: 10.69 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000726/0.1677, allocations: 371.3 kB / 490.7 MB, free: 10.27 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/0.1677, allocations: 0 / 490.7 MB, free: 10.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009219/0.1686, allocations: 408.5 kB / 491.1 MB, free: 9.867 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.432e-05/0.1687, allocations: 10.81 kB / 491.1 MB, free: 9.859 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.55e-05/0.1687, allocations: 24 kB / 491.1 MB, free: 9.836 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.1687, allocations: 4 kB / 491.1 MB, free: 9.832 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002568/0.169, allocations: 56.42 kB / 491.2 MB, free: 9.777 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.274e-05/0.169, allocations: 7.938 kB / 491.2 MB, free: 9.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000274/0.1693, allocations: 55.5 kB / 491.2 MB, free: 9.715 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.042e-05/0.1693, allocations: 16 kB / 491.3 MB, free: 9.699 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (27): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0001983/0.1695, allocations: 181 kB / 491.4 MB, free: 9.516 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001095/0.1697, allocations: 27.62 kB / 491.5 MB, free: 9.488 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000646/0.1703, allocations: 292.2 kB / 491.7 MB, free: 9.195 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.206e-06/0.1703, allocations: 4 kB / 491.8 MB, free: 9.191 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/0.1703, allocations: 3.938 kB / 491.8 MB, free: 9.188 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.1703, allocations: 0 / 491.8 MB, free: 9.188 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005094/0.1709, allocations: 309.4 kB / 492.1 MB, free: 8.836 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-05/0.1709, allocations: 19.98 kB / 492.1 MB, free: 8.816 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001516/0.1711, allocations: 27.97 kB / 492.1 MB, free: 8.789 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/0.1711, allocations: 4 kB / 492.1 MB, free: 8.785 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.842e-05/0.1711, allocations: 4 kB / 492.1 MB, free: 8.781 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.1711, allocations: 0 / 492.1 MB, free: 8.781 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.1711, allocations: 4.031 kB / 492.1 MB, free: 8.777 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008038/0.1719, allocations: 0.5092 MB / 492.6 MB, free: 8.25 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/0.1721, allocations: 108.7 kB / 492.7 MB, free: 8.125 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.227e-05/0.1721, allocations: 8 kB / 492.7 MB, free: 8.117 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002556/0.1724, allocations: 11.98 kB / 492.8 MB, free: 8.105 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.978e-05/0.1725, allocations: 23.91 kB / 492.8 MB, free: 8.082 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.963e-05/0.1725, allocations: 12 kB / 492.8 MB, free: 8.07 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003276/0.1728, allocations: 287.1 kB / 493.1 MB, free: 7.789 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1728, allocations: 0 / 493.1 MB, free: 7.789 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00055/0.1734, allocations: 95.92 kB / 493.2 MB, free: 7.695 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 (11): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.001322/0.1747, allocations: 1.1 MB / 494.3 MB, free: 6.566 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008724/0.1756, allocations: 438.7 kB / 494.7 MB, free: 6.102 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1756, allocations: 0 / 494.7 MB, free: 6.102 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004295/0.1761, allocations: 274 kB / 495 MB, free: 5.797 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005984/0.1767, allocations: 77.83 kB / 495 MB, free: 5.723 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00582/0.1825, allocations: 3.857 MB / 498.9 MB, free: 1.672 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005219/0.183, allocations: 0.8026 MB / 499.7 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002249/0.1833, allocations: 62.91 kB / 499.8 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001384/0.1834, allocations: 83.41 kB / 499.8 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of SimCode: time 1.483e-06/0.1834, allocations: 4 kB / 499.8 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0333/0.2167, allocations: 9.035 MB / 0.4969 GB, free: 7.855 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.125/8.341, allocations: 2.297 kB / 0.497 GB, free: 7.855 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_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.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1)