Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,fileNamePrefix="ModelicaTest_3_2_3_cpp_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_3_2_3_cpp_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/Complex 3.2.3+maint.om/package.mo): time 0.002303/0.002303, allocations: 184.4 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.09/2.09, allocations: 205.4 MB / 222.5 MB, free: 9.105 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001571/0.001571, allocations: 100.3 kB / 270.9 MB, free: 8.352 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.6474/0.6474, allocations: 43.54 MB / 362.7 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005113/0.0005114, allocations: 12 kB / 431.5 MB, free: 6.016 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1482, allocations: 58.85 MB / 490.3 MB, free: 11.08 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.003272/0.1515, allocations: 1.63 MB / 492 MB, free: 9.438 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002462/0.154, allocations: 0.9872 MB / 493 MB, free: 8.445 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001297/0.1542, allocations: 4 kB / 493 MB, free: 8.441 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003268/0.1546, allocations: 51.72 kB / 493 MB, free: 8.391 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002191/0.1548, allocations: 55.83 kB / 493.1 MB, free: 8.336 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000707/0.1555, allocations: 123.7 kB / 493.2 MB, free: 8.215 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004173/0.156, allocations: 219.5 kB / 493.4 MB, free: 8 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.1561, allocations: 36.7 kB / 493.4 MB, free: 7.965 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002302/0.1563, allocations: 99.61 kB / 493.5 MB, free: 7.867 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002199/0.1566, allocations: 111.5 kB / 493.6 MB, free: 7.758 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.585e-05/0.1566, allocations: 8 kB / 493.7 MB, free: 7.75 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005945/0.1572, allocations: 191.7 kB / 493.8 MB, free: 7.562 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001113/0.1574, allocations: 63.73 kB / 493.9 MB, free: 7.5 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.488e-05/0.1575, allocations: 65.58 kB / 494 MB, free: 7.43 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004871/0.158, allocations: 243.6 kB / 494.2 MB, free: 7.191 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.158, allocations: 0 / 494.2 MB, free: 7.191 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.158, allocations: 0 / 494.2 MB, free: 7.191 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.158, allocations: 0 / 494.2 MB, free: 7.191 MB / 378.7 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.001501/0.1595, allocations: 0.5885 MB / 494.8 MB, free: 6.555 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.1596, allocations: 11.97 kB / 494.8 MB, free: 6.543 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001145/0.1597, allocations: 70.53 kB / 494.9 MB, free: 6.465 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.018e-05/0.1598, allocations: 35.58 kB / 494.9 MB, free: 6.43 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000425/0.1602, allocations: 258.4 kB / 495.2 MB, free: 6.137 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.929e-05/0.1603, allocations: 16.56 kB / 495.2 MB, free: 6.121 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.583e-05/0.1604, allocations: 28 kB / 495.2 MB, free: 6.094 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001272/0.1616, allocations: 441.8 kB / 495.6 MB, free: 5.645 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.818e-05/0.1617, allocations: 0 / 495.6 MB, free: 5.645 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.626e-05/0.1617, allocations: 12 kB / 495.7 MB, free: 5.633 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.241e-05/0.1618, allocations: 16.56 kB / 495.7 MB, free: 5.617 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001259/0.1631, allocations: 357.8 kB / 496 MB, free: 5.27 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002503/0.1656, allocations: 1.108 MB / 497.1 MB, free: 4.098 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008811/0.1665, allocations: 255.7 kB / 497.4 MB, free: 3.82 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.246e-05/0.1666, allocations: 4 kB / 497.4 MB, free: 3.816 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.921e-05/0.1666, allocations: 34.67 kB / 497.4 MB, free: 3.773 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 3.016e-06/0.1667, allocations: 3.938 kB / 497.4 MB, free: 3.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.001971/0.1686, allocations: 0.6138 MB / 498 MB, free: 3.094 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.136e-05/0.1688, allocations: 106.8 kB / 498.1 MB, free: 2.965 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007665/0.1695, allocations: 413.5 kB / 498.5 MB, free: 2.551 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.452e-05/0.1696, allocations: 25.7 kB / 498.6 MB, free: 2.52 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002084/0.1698, allocations: 242.2 kB / 498.8 MB, free: 2.277 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.793e-05/0.1699, allocations: 43.34 kB / 498.8 MB, free: 2.234 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.912e-05/0.1699, allocations: 8 kB / 498.9 MB, free: 2.227 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.1701, allocations: 318.8 kB / 499.2 MB, free: 1.906 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005701/0.1707, allocations: 136.1 kB / 499.3 MB, free: 1.773 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006625/0.1714, allocations: 239.7 kB / 499.5 MB, free: 1.484 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006514/0.172, allocations: 167.8 kB / 499.7 MB, free: 1.32 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.155e-06/0.1721, allocations: 4 kB / 499.7 MB, free: 1.316 MB / 378.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001597/0.1737, allocations: 405.2 kB / 0.4884 GB, free: 0.9141 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.062e-05/0.1737, allocations: 8 kB / 0.4884 GB, free: 0.9062 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.996e-05/0.1738, allocations: 19.98 kB / 0.4884 GB, free: 0.8867 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.145e-05/0.1739, allocations: 8.5 kB / 0.4884 GB, free: 0.8789 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004602/0.1743, allocations: 67.89 kB / 0.4885 GB, free: 0.8125 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.641e-05/0.1744, allocations: 4 kB / 0.4885 GB, free: 0.8086 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005445/0.1749, allocations: 71.36 kB / 0.4885 GB, free: 0.7383 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.996e-05/0.175, allocations: 12 kB / 0.4886 GB, free: 0.7266 MB / 378.7 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.0003251/0.1753, allocations: 189.6 kB / 0.4887 GB, free: 0.5312 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000131/0.1755, allocations: 31.62 kB / 0.4888 GB, free: 0.5 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001114/0.1766, allocations: 292.2 kB / 0.489 GB, free: 208 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.241e-05/0.1766, allocations: 4 kB / 0.489 GB, free: 204 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.438e-06/0.1766, allocations: 0 / 0.489 GB, free: 204 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.1767, allocations: 3.938 kB / 0.4891 GB, free: 200 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3294/0.5061, allocations: 305.3 kB / 0.4893 GB, free: 43.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.745e-05/0.5063, allocations: 19.8 kB / 0.4894 GB, free: 43.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003439/0.5066, allocations: 35.59 kB / 0.4894 GB, free: 43.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.216e-06/0.5066, allocations: 0 / 0.4894 GB, free: 43.02 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.649e-05/0.5067, allocations: 8.562 kB / 0.4894 GB, free: 43.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.934e-06/0.5067, allocations: 3.891 kB / 0.4894 GB, free: 43.02 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.5067, allocations: 1.25 kB / 0.4894 GB, free: 43.02 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001275/0.508, allocations: 0.5426 MB / 0.4899 GB, free: 42.71 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001354/0.5081, allocations: 109.1 kB / 0.49 GB, free: 42.61 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.538e-05/0.5082, allocations: 4.531 kB / 0.49 GB, free: 42.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004522/0.5087, allocations: 26.67 kB / 0.4901 GB, free: 42.61 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/0.5088, allocations: 20.55 kB / 0.4901 GB, free: 42.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.434e-05/0.5089, allocations: 8.047 kB / 0.4901 GB, free: 42.61 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005485/0.5094, allocations: 288.3 kB / 0.4904 GB, free: 42.53 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.5095, allocations: 0 / 0.4904 GB, free: 42.53 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007853/0.5102, allocations: 97.39 kB / 0.4905 GB, free: 42.53 MB / 378.7 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.001807/0.5121, allocations: 1.27 MB / 0.4917 GB, free: 41.55 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001448/0.5135, allocations: 457.8 kB / 0.4921 GB, free: 41.36 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.5136, allocations: 0 / 0.4921 GB, free: 41.36 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006577/0.5142, allocations: 289.8 kB / 0.4924 GB, free: 41.18 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007446/0.515, allocations: 68.84 kB / 0.4925 GB, free: 41.18 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006704/0.5217, allocations: 4.741 MB / 0.4971 GB, free: 37.87 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004153/0.5222, allocations: 0.7992 MB / 0.4979 GB, free: 37.17 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002371/0.5224, allocations: 86.02 kB / 0.498 GB, free: 37.16 MB / 378.7 MB Notification: Performance of SimCode: time 1.433e-06/0.5225, allocations: 0 / 0.498 GB, free: 37.16 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.78/3.303, allocations: 6.868 MB / 0.5047 GB, free: 36.68 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.mat does not exist to compare? outputFormat=mat