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.002161/0.002161, allocations: 181.5 kB / 13.66 MB, free: 1.664 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.188/2.188, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001085/0.001085, allocations: 78.67 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2857/0.2857, allocations: 43.5 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.622e-05/3.632e-05, allocations: 0 / 425.4 MB, free: 23.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1219, allocations: 58.85 MB / 484.3 MB, free: 12.34 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5059/0.6279, allocations: 92.68 MB / 0.5634 GB, free: 10.47 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003659/0.6283, allocations: 101.2 kB / 0.5635 GB, free: 10.41 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06539/0.6937, allocations: 13.48 MB / 0.5767 GB, free: 14.87 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.6938, allocations: 0 / 0.5767 GB, free: 14.87 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.001e-05/0.6938, allocations: 12 kB / 0.5767 GB, free: 14.86 MB / 394.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.001245/0.6951, allocations: 0.5495 MB / 0.5772 GB, free: 14.28 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/0.6952, allocations: 12.03 kB / 0.5772 GB, free: 14.27 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001085/0.6953, allocations: 76.41 kB / 0.5773 GB, free: 14.2 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.095e-05/0.6954, allocations: 31.58 kB / 0.5773 GB, free: 14.17 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000473/0.6959, allocations: 249.8 kB / 0.5776 GB, free: 13.89 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.14e-05/0.6959, allocations: 22.44 kB / 0.5776 GB, free: 13.88 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.652e-05/0.696, allocations: 27.12 kB / 0.5776 GB, free: 13.86 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009076/0.6969, allocations: 397.5 kB / 0.578 GB, free: 13.55 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.6969, allocations: 3.938 kB / 0.578 GB, free: 13.54 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.657e-05/0.697, allocations: 13.98 kB / 0.578 GB, free: 13.54 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.986e-05/0.6971, allocations: 19.88 kB / 0.578 GB, free: 13.52 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006973/0.6978, allocations: 267.5 kB / 0.5783 GB, free: 13.32 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002398/0.7002, allocations: 1.11 MB / 0.5794 GB, free: 12.27 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005768/0.7008, allocations: 217.2 kB / 0.5796 GB, free: 12.05 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002446/0.7011, allocations: 83.34 kB / 0.5797 GB, free: 11.97 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.464e-05/0.7011, allocations: 4 kB / 0.5797 GB, free: 11.97 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.427e-05/0.7012, allocations: 34.59 kB / 0.5797 GB, free: 11.93 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 3.647e-06/0.7012, allocations: 0 / 0.5797 GB, free: 11.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=14): time 0.0007467/0.702, allocations: 209.3 kB / 0.5799 GB, free: 11.73 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.162e-05/0.702, allocations: 106.8 kB / 0.58 GB, free: 11.61 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006385/0.7027, allocations: 373.6 kB / 0.5804 GB, free: 11.29 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.513e-05/0.7027, allocations: 25.7 kB / 0.5804 GB, free: 11.26 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001728/0.7029, allocations: 233.8 kB / 0.5806 GB, free: 11.07 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.158e-05/0.703, allocations: 55.06 kB / 0.5807 GB, free: 11.02 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.501e-05/0.7031, allocations: 3.312 kB / 0.5807 GB, free: 11.02 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.7032, allocations: 325.9 kB / 0.581 GB, free: 10.7 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000285/0.7035, allocations: 82.92 kB / 0.581 GB, free: 10.62 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003942/0.704, allocations: 206.5 kB / 0.5812 GB, free: 10.39 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003546/0.7043, allocations: 117.4 kB / 0.5814 GB, free: 10.29 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.207e-06/0.7044, allocations: 4 kB / 0.5814 GB, free: 10.28 MB / 394.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009426/0.7053, allocations: 324.3 kB / 0.5817 GB, free: 9.996 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.743e-05/0.7054, allocations: 15.42 kB / 0.5817 GB, free: 9.984 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.467e-05/0.7054, allocations: 19.98 kB / 0.5817 GB, free: 9.965 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.267e-05/0.7055, allocations: 4 kB / 0.5817 GB, free: 9.961 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004692/0.7059, allocations: 55.28 kB / 0.5818 GB, free: 9.91 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.004e-05/0.706, allocations: 12.17 kB / 0.5818 GB, free: 9.898 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005148/0.7065, allocations: 58.7 kB / 0.5818 GB, free: 9.844 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.305e-05/0.7066, allocations: 19.94 kB / 0.5818 GB, free: 9.824 MB / 394.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 () * 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.0001547/0.7068, allocations: 129.1 kB / 0.582 GB, free: 9.703 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001233/0.7069, allocations: 27.62 kB / 0.582 GB, free: 9.676 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008875/0.7078, allocations: 270.4 kB / 0.5823 GB, free: 9.438 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.836e-06/0.7078, allocations: 0 / 0.5823 GB, free: 9.438 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.166e-06/0.7078, allocations: 4 kB / 0.5823 GB, free: 9.434 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.7078, allocations: 0 / 0.5823 GB, free: 9.434 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006907/0.7085, allocations: 306.2 kB / 0.5826 GB, free: 9.117 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-05/0.7086, allocations: 19.98 kB / 0.5826 GB, free: 9.098 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003054/0.7089, allocations: 35.53 kB / 0.5826 GB, free: 9.066 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.709, allocations: 3.938 kB / 0.5826 GB, free: 9.062 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.607e-05/0.709, allocations: 15.98 kB / 0.5826 GB, free: 9.047 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.709, allocations: 0 / 0.5826 GB, free: 9.047 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.709, allocations: 0 / 0.5826 GB, free: 9.047 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007451/0.7098, allocations: 485.7 kB / 0.5831 GB, free: 8.57 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001478/0.7099, allocations: 108.7 kB / 0.5832 GB, free: 8.445 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.083e-05/0.71, allocations: 0 / 0.5832 GB, free: 8.445 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004584/0.7105, allocations: 27.66 kB / 0.5832 GB, free: 8.422 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.7106, allocations: 19.94 kB / 0.5832 GB, free: 8.402 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.703e-05/0.7107, allocations: 15.55 kB / 0.5833 GB, free: 8.391 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004757/0.7112, allocations: 275.1 kB / 0.5835 GB, free: 8.172 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.7112, allocations: 0 / 0.5835 GB, free: 8.172 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007704/0.7119, allocations: 102.3 kB / 0.5836 GB, free: 8.078 MB / 394.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 () * 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.001479/0.7134, allocations: 1.229 MB / 0.5848 GB, free: 6.844 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008246/0.7143, allocations: 365.8 kB / 0.5852 GB, free: 6.477 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.7143, allocations: 3.938 kB / 0.5852 GB, free: 6.473 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003837/0.7147, allocations: 250.8 kB / 0.5854 GB, free: 6.207 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006963/0.7154, allocations: 68.11 kB / 0.5855 GB, free: 6.156 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002074/0.7175, allocations: 0.5509 MB / 0.586 GB, free: 5.594 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005376/0.7181, allocations: 0.8004 MB / 0.5868 GB, free: 4.773 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002191/0.7183, allocations: 88.25 kB / 0.5869 GB, free: 4.742 MB / 394.7 MB Notification: Performance of SimCode: time 1.052e-06/0.7183, allocations: 0 / 0.5869 GB, free: 4.742 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.556/3.274, allocations: 6.931 MB / 0.5936 GB, free: 13.84 MB / 410.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