Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,fileNamePrefix="ModelicaTest_4_0_0_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_0_0_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 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 94.06 kB / 16.98 MB, free: 5.938 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.001388/0.001388, allocations: 183 kB / 17.87 MB, free: 5.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.387/1.387, allocations: 223.2 MB / 241.8 MB, free: 14.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2292/0.2292, allocations: 44.22 MB / 337.1 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000502/0.0005021, allocations: 9.219 kB / 409.6 MB, free: 27.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1606/0.1612, allocations: 61.9 MB / 471.5 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.00237/0.1636, allocations: 1.634 MB / 473.2 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001531/0.1651, allocations: 0.9515 MB / 474.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.552e-05/0.1652, allocations: 0 / 474.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000259/0.1655, allocations: 43.8 kB / 474.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001545/0.1657, allocations: 55.81 kB / 474.2 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004387/0.1661, allocations: 130.8 kB / 474.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002909/0.1664, allocations: 215.5 kB / 474.6 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.631e-05/0.1665, allocations: 36.72 kB / 474.6 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001628/0.1667, allocations: 99.55 kB / 474.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000172/0.1669, allocations: 111.5 kB / 474.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.972e-05/0.1669, allocations: 8 kB / 474.8 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003393/0.1673, allocations: 191.8 kB / 475 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.431e-05/0.1674, allocations: 59.8 kB / 475.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.643e-05/0.1674, allocations: 69.52 kB / 475.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003263/0.1678, allocations: 247.6 kB / 475.4 MB, free: 9.766 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.1678, allocations: 4 kB / 475.4 MB, free: 9.762 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1678, allocations: 0 / 475.4 MB, free: 9.762 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.122e-06/0.1678, allocations: 3.938 kB / 475.4 MB, free: 9.758 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001192/0.169, allocations: 0.5885 MB / 476 MB, free: 9.121 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.442e-05/0.1691, allocations: 12.03 kB / 476 MB, free: 9.109 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.398e-05/0.1692, allocations: 70.53 kB / 476.1 MB, free: 9.031 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.42e-05/0.1692, allocations: 27.62 kB / 476.1 MB, free: 9.004 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00037/0.1696, allocations: 263 kB / 476.3 MB, free: 8.707 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.555e-05/0.1696, allocations: 20.56 kB / 476.4 MB, free: 8.688 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.651e-05/0.1697, allocations: 27.95 kB / 476.4 MB, free: 8.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000769/0.1705, allocations: 441.8 kB / 476.8 MB, free: 8.211 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.1705, allocations: 0 / 476.8 MB, free: 8.211 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.013e-05/0.1705, allocations: 12 kB / 476.8 MB, free: 8.199 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.595e-05/0.1706, allocations: 24.55 kB / 476.9 MB, free: 8.176 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007078/0.1713, allocations: 345.9 kB / 477.2 MB, free: 7.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001481/0.1728, allocations: 1.1 MB / 478.3 MB, free: 6.676 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004997/0.1733, allocations: 255.7 kB / 478.5 MB, free: 6.398 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.265e-05/0.1733, allocations: 11.98 kB / 478.5 MB, free: 6.387 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.89e-05/0.1734, allocations: 38.56 kB / 478.6 MB, free: 6.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.583e-06/0.1734, allocations: 0 / 478.6 MB, free: 6.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.001163/0.1745, allocations: 0.6137 MB / 479.2 MB, free: 5.664 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.353e-05/0.1746, allocations: 114.8 kB / 479.3 MB, free: 5.527 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000434/0.1751, allocations: 397.5 kB / 479.7 MB, free: 5.129 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.708e-05/0.1751, allocations: 29.7 kB / 479.7 MB, free: 5.094 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001535/0.1753, allocations: 191.8 kB / 479.9 MB, free: 4.902 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.784e-05/0.1753, allocations: 47.38 kB / 480 MB, free: 4.855 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.675e-05/0.1753, allocations: 11.94 kB / 480 MB, free: 4.844 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.1755, allocations: 342.8 kB / 480.3 MB, free: 4.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003018/0.1758, allocations: 128.1 kB / 480.4 MB, free: 4.371 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003856/0.1762, allocations: 247.8 kB / 480.7 MB, free: 4.074 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003523/0.1766, allocations: 155.8 kB / 480.8 MB, free: 3.922 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.838e-06/0.1766, allocations: 4 kB / 480.8 MB, free: 3.918 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008193/0.1774, allocations: 417.1 kB / 481.2 MB, free: 3.504 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/0.1775, allocations: 16.02 kB / 481.3 MB, free: 3.488 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.645e-05/0.1775, allocations: 27.91 kB / 481.3 MB, free: 3.461 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/0.1775, allocations: 8 kB / 481.3 MB, free: 3.453 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002592/0.1778, allocations: 47.97 kB / 481.3 MB, free: 3.406 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.363e-05/0.1778, allocations: 15.92 kB / 481.4 MB, free: 3.391 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002814/0.1781, allocations: 63.52 kB / 481.4 MB, free: 3.328 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.015e-05/0.1781, allocations: 15.98 kB / 481.4 MB, free: 3.312 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001895/0.1783, allocations: 173.9 kB / 481.6 MB, free: 3.133 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.702e-05/0.1784, allocations: 31.61 kB / 481.6 MB, free: 3.102 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006104/0.1791, allocations: 303.9 kB / 481.9 MB, free: 2.797 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/0.1791, allocations: 7.984 kB / 481.9 MB, free: 2.789 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.1791, allocations: 0 / 481.9 MB, free: 2.789 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.1791, allocations: 0 / 481.9 MB, free: 2.789 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004835/0.1796, allocations: 305.3 kB / 482.2 MB, free: 2.441 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-05/0.1796, allocations: 23.98 kB / 482.3 MB, free: 2.418 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001538/0.1798, allocations: 31.97 kB / 482.3 MB, free: 2.387 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.1798, allocations: 4 kB / 482.3 MB, free: 2.383 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.768e-05/0.1798, allocations: 4 kB / 482.3 MB, free: 2.379 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/0.1798, allocations: 3.953 kB / 482.3 MB, free: 2.375 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.1798, allocations: 3.984 kB / 482.3 MB, free: 2.371 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008077/0.1807, allocations: 0.5479 MB / 482.9 MB, free: 1.793 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.898e-05/0.1808, allocations: 120.6 kB / 483 MB, free: 1.656 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.689e-05/0.1808, allocations: 4 kB / 483 MB, free: 1.652 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002606/0.1811, allocations: 27.97 kB / 483 MB, free: 1.625 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.95e-05/0.1812, allocations: 15.98 kB / 483 MB, free: 1.609 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.829e-05/0.1812, allocations: 8 kB / 483 MB, free: 1.602 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002938/0.1815, allocations: 283.1 kB / 483.3 MB, free: 1.328 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.033e-06/0.1815, allocations: 0 / 483.3 MB, free: 1.328 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005264/0.182, allocations: 99.88 kB / 483.4 MB, free: 1.23 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001398/0.1834, allocations: 1.273 MB / 484.7 MB, free: 15.92 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008919/0.1843, allocations: 454.8 kB / 485.1 MB, free: 15.44 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/0.1844, allocations: 0 / 485.1 MB, free: 15.44 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004266/0.1848, allocations: 290.2 kB / 485.4 MB, free: 15.12 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000508/0.1853, allocations: 70.19 kB / 485.5 MB, free: 15.05 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004579/0.1899, allocations: 4.724 MB / 490.2 MB, free: 10.19 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004242/0.1903, allocations: 0.8106 MB / 491 MB, free: 9.355 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002156/0.1906, allocations: 66.91 kB / 491.1 MB, free: 9.285 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001298/0.1907, allocations: 82.78 kB / 491.1 MB, free: 9.207 MB / 366.1 MB Notification: Performance of SimCode: time 1.292e-06/0.1907, allocations: 0 / 491.1 MB, free: 9.207 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02118/0.2119, allocations: 8.141 MB / 499.3 MB, free: 1.328 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002036/0.2122, allocations: 229.1 kB / 499.5 MB, free: 1.082 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.854/2.066, allocations: 3.094 kB / 499.5 MB, free: 1.082 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.mat does not exist to compare? outputFormat=mat