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.001537/0.001537, allocations: 185.3 kB / 16.41 MB, free: 5.723 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.137/2.137, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001107/0.001107, allocations: 86.55 kB / 270.9 MB, free: 8.395 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.5493/0.5493, allocations: 43.56 MB / 362.7 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004961/0.0004964, allocations: 12 kB / 431.5 MB, free: 5.844 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1356, allocations: 58.85 MB / 490.4 MB, free: 10.9 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4863/0.622, allocations: 92.76 MB / 0.5694 GB, free: 9.734 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003897/0.6224, allocations: 99.94 kB / 0.5695 GB, free: 9.637 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0648/0.6873, allocations: 13.47 MB / 0.5827 GB, free: 12.1 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.6873, allocations: 0 / 0.5827 GB, free: 12.1 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.432e-05/0.6874, allocations: 4 kB / 0.5827 GB, free: 12.1 MB / 410.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.001355/0.6887, allocations: 0.5836 MB / 0.5833 GB, free: 11.47 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.541e-05/0.6888, allocations: 12.03 kB / 0.5833 GB, free: 11.46 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001169/0.6889, allocations: 69.97 kB / 0.5833 GB, free: 11.38 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.658e-05/0.689, allocations: 27.62 kB / 0.5834 GB, free: 11.36 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004565/0.6895, allocations: 262.4 kB / 0.5836 GB, free: 11.06 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.311e-05/0.6895, allocations: 20.56 kB / 0.5836 GB, free: 11.04 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.184e-05/0.6896, allocations: 24 kB / 0.5837 GB, free: 11.02 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001258/0.6909, allocations: 441.8 kB / 0.5841 GB, free: 10.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/0.6909, allocations: 4.969 kB / 0.5841 GB, free: 10.56 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.302e-05/0.691, allocations: 12 kB / 0.5841 GB, free: 10.55 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.988e-05/0.691, allocations: 20.55 kB / 0.5841 GB, free: 10.53 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001244/0.6923, allocations: 356.6 kB / 0.5845 GB, free: 10.19 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002395/0.6947, allocations: 1.104 MB / 0.5855 GB, free: 9.02 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008631/0.6956, allocations: 255.7 kB / 0.5858 GB, free: 8.742 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.435e-05/0.6957, allocations: 96 / 0.5858 GB, free: 8.742 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.832e-05/0.6957, allocations: 42.48 kB / 0.5858 GB, free: 8.691 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.643e-06/0.6957, allocations: 0 / 0.5858 GB, free: 8.691 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.001933/0.6977, allocations: 0.6138 MB / 0.5864 GB, free: 8.016 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.199e-05/0.6978, allocations: 118.8 kB / 0.5865 GB, free: 7.875 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006544/0.6984, allocations: 360.7 kB / 0.5869 GB, free: 7.523 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.137e-05/0.6985, allocations: 25.7 kB / 0.5869 GB, free: 7.492 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002217/0.6987, allocations: 246.2 kB / 0.5871 GB, free: 7.25 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.678e-05/0.6988, allocations: 43.3 kB / 0.5872 GB, free: 7.207 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.888e-05/0.6988, allocations: 8 kB / 0.5872 GB, free: 7.199 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.699, allocations: 322.8 kB / 0.5875 GB, free: 6.875 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005651/0.6996, allocations: 136.1 kB / 0.5876 GB, free: 6.738 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000652/0.7002, allocations: 239.7 kB / 0.5879 GB, free: 6.449 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006277/0.7009, allocations: 159.8 kB / 0.588 GB, free: 6.293 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-05/0.7009, allocations: 4 kB / 0.588 GB, free: 6.289 MB / 410.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00149/0.7024, allocations: 401.2 kB / 0.5884 GB, free: 5.891 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.48e-05/0.7025, allocations: 8 kB / 0.5884 GB, free: 5.883 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.822e-05/0.7025, allocations: 28.45 kB / 0.5884 GB, free: 5.855 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.745e-05/0.7026, allocations: 12 kB / 0.5884 GB, free: 5.844 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004597/0.703, allocations: 55.91 kB / 0.5885 GB, free: 5.789 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.556e-05/0.7031, allocations: 7.984 kB / 0.5885 GB, free: 5.781 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005209/0.7036, allocations: 55.58 kB / 0.5886 GB, free: 5.727 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.867e-05/0.7037, allocations: 20.73 kB / 0.5886 GB, free: 5.707 MB / 410.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.0003118/0.704, allocations: 182.2 kB / 0.5888 GB, free: 5.52 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001238/0.7041, allocations: 31.56 kB / 0.5888 GB, free: 5.488 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001088/0.7052, allocations: 299.1 kB / 0.5891 GB, free: 5.191 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.187e-05/0.7053, allocations: 4 kB / 0.5891 GB, free: 5.188 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.7053, allocations: 0 / 0.5891 GB, free: 5.188 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.7053, allocations: 0 / 0.5891 GB, free: 5.188 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006879/0.706, allocations: 309.4 kB / 0.5894 GB, free: 4.836 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.798e-05/0.7061, allocations: 19.98 kB / 0.5894 GB, free: 4.816 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002791/0.7064, allocations: 31.97 kB / 0.5894 GB, free: 4.785 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.069e-05/0.7064, allocations: 4 kB / 0.5894 GB, free: 4.781 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.235e-05/0.7064, allocations: 8 kB / 0.5894 GB, free: 4.773 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.182e-06/0.7064, allocations: 7.922 kB / 0.5894 GB, free: 4.766 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.7064, allocations: 0 / 0.5894 GB, free: 4.766 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001342/0.7078, allocations: 0.549 MB / 0.59 GB, free: 4.188 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001534/0.708, allocations: 112.7 kB / 0.5901 GB, free: 4.059 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.236e-05/0.7081, allocations: 0 / 0.5901 GB, free: 4.059 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004501/0.7085, allocations: 27.97 kB / 0.5901 GB, free: 4.031 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/0.7086, allocations: 19.94 kB / 0.5901 GB, free: 4.012 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.163e-05/0.7087, allocations: 8 kB / 0.5901 GB, free: 4.004 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004975/0.7092, allocations: 295 kB / 0.5904 GB, free: 3.715 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.7092, allocations: 96 / 0.5904 GB, free: 3.715 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007681/0.71, allocations: 99.88 kB / 0.5905 GB, free: 3.617 MB / 410.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.002062/0.7121, allocations: 1.312 MB / 0.5918 GB, free: 2.273 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001396/0.7135, allocations: 446.8 kB / 0.5922 GB, free: 1.801 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.7135, allocations: 0 / 0.5922 GB, free: 1.801 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006593/0.7142, allocations: 282 kB / 0.5925 GB, free: 1.488 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007491/0.7149, allocations: 82.44 kB / 0.5926 GB, free: 1.41 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00683/0.7218, allocations: 4.735 MB / 0.5972 GB, free: 12.54 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005311/0.7224, allocations: 0.8067 MB / 0.598 GB, free: 11.71 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002397/0.7226, allocations: 79.41 kB / 0.598 GB, free: 11.63 MB / 426.7 MB Notification: Performance of SimCode: time 1.303e-06/0.7226, allocations: 3.938 kB / 0.5981 GB, free: 11.62 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.757/3.48, allocations: 7.062 MB / 0.6049 GB, free: 4.59 MB / 426.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