Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.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_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC",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.00116/0.00116, allocations: 183.1 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.604/1.604, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0009783/0.0009783, allocations: 90.86 kB / 270.2 MB, free: 13.37 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.2354/0.2354, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003467/0.0003467, allocations: 12 kB / 431.5 MB, free: 19.49 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1311, allocations: 58.86 MB / 490.4 MB, free: 8.559 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4331/0.5643, allocations: 90.71 MB / 0.5675 GB, free: 9 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003121/0.5646, allocations: 98.17 kB / 0.5676 GB, free: 8.941 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03467/0.5993, allocations: 11.9 MB / 0.5792 GB, free: 14.82 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.5994, allocations: 3.938 kB / 0.5792 GB, free: 14.82 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.792e-05/0.5994, allocations: 4 kB / 0.5792 GB, free: 14.82 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0008861/0.6003, allocations: 0.5006 MB / 0.5797 GB, free: 14.28 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.782e-05/0.6004, allocations: 12.03 kB / 0.5797 GB, free: 14.27 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001019/0.6005, allocations: 71.78 kB / 0.5798 GB, free: 14.21 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.082e-05/0.6005, allocations: 23.72 kB / 0.5798 GB, free: 14.18 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000361/0.6009, allocations: 239.7 kB / 0.58 GB, free: 13.91 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.854e-05/0.6009, allocations: 22.38 kB / 0.58 GB, free: 13.9 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.997e-05/0.601, allocations: 21.94 kB / 0.58 GB, free: 13.89 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006551/0.6017, allocations: 369.1 kB / 0.5804 GB, free: 13.61 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.6017, allocations: 4 kB / 0.5804 GB, free: 13.6 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.9e-05/0.6017, allocations: 11.8 kB / 0.5804 GB, free: 13.6 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.263e-05/0.6018, allocations: 20.64 kB / 0.5804 GB, free: 13.58 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006052/0.6024, allocations: 385.1 kB / 0.5808 GB, free: 13.29 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001489/0.6039, allocations: 0.849 MB / 0.5816 GB, free: 12.5 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004532/0.6044, allocations: 273.1 kB / 0.5819 GB, free: 12.25 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.501e-05/0.6044, allocations: 7.984 kB / 0.5819 GB, free: 12.24 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/0.6044, allocations: 34.25 kB / 0.5819 GB, free: 12.2 MB / 394.7 MB Notification: Performance of pre-optimization done (n=16): time 2.415e-06/0.6044, allocations: 0 / 0.5819 GB, free: 12.2 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.000793/0.6052, allocations: 343.1 kB / 0.5823 GB, free: 11.89 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.6053, allocations: 55.41 kB / 0.5823 GB, free: 11.82 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000343/0.6056, allocations: 306.8 kB / 0.5826 GB, free: 11.57 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.536e-05/0.6057, allocations: 29.7 kB / 0.5826 GB, free: 11.53 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001366/0.6058, allocations: 166.4 kB / 0.5828 GB, free: 11.4 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.15e-05/0.6059, allocations: 54.77 kB / 0.5828 GB, free: 11.36 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.265e-05/0.6059, allocations: 3.938 kB / 0.5828 GB, free: 11.36 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001753/0.6061, allocations: 338.2 kB / 0.5832 GB, free: 11.03 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002157/0.6063, allocations: 104.2 kB / 0.5833 GB, free: 10.93 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002684/0.6066, allocations: 186.7 kB / 0.5834 GB, free: 10.73 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002527/0.6069, allocations: 136.2 kB / 0.5836 GB, free: 10.62 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.703e-06/0.6069, allocations: 4 kB / 0.5836 GB, free: 10.61 MB / 394.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006703/0.6076, allocations: 355.2 kB / 0.5839 GB, free: 10.3 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.791e-05/0.6076, allocations: 10.66 kB / 0.5839 GB, free: 10.29 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.6076, allocations: 3.984 kB / 0.5839 GB, free: 10.29 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/0.6077, allocations: 4 kB / 0.5839 GB, free: 10.28 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000588/0.6083, allocations: 123.5 kB / 0.5841 GB, free: 10.16 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002088/0.6104, allocations: 3.655 MB / 0.5876 GB, free: 6.41 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002305/0.6106, allocations: 35.25 kB / 0.5877 GB, free: 6.379 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.362e-05/0.6106, allocations: 16.25 kB / 0.5877 GB, free: 6.363 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (28): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002194/0.6109, allocations: 185.1 kB / 0.5879 GB, free: 6.188 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.214e-05/0.6109, allocations: 35.52 kB / 0.5879 GB, free: 6.152 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006688/0.6116, allocations: 337.5 kB / 0.5882 GB, free: 5.852 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.6116, allocations: 0 / 0.5882 GB, free: 5.852 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.6116, allocations: 0 / 0.5882 GB, free: 5.852 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.6117, allocations: 0 / 0.5882 GB, free: 5.852 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003809/0.612, allocations: 295.8 kB / 0.5885 GB, free: 5.543 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.6121, allocations: 0 / 0.5885 GB, free: 5.543 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000465/0.6125, allocations: 111.8 kB / 0.5886 GB, free: 5.434 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.902e-06/0.6125, allocations: 7.953 kB / 0.5886 GB, free: 5.426 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.19e-05/0.6126, allocations: 11.67 kB / 0.5886 GB, free: 5.418 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00196/0.6145, allocations: 3.644 MB / 0.5922 GB, free: 1.672 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.6146, allocations: 0 / 0.5922 GB, free: 1.672 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005335/0.6151, allocations: 362.2 kB / 0.5925 GB, free: 1.332 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001263/0.6152, allocations: 104.8 kB / 0.5926 GB, free: 1.211 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.669e-05/0.6153, allocations: 7.891 kB / 0.5926 GB, free: 1.203 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001604/0.6155, allocations: 15.8 kB / 0.5926 GB, free: 1.191 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.275e-05/0.6155, allocations: 15.92 kB / 0.5927 GB, free: 1.176 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-05/0.6156, allocations: 7.984 kB / 0.5927 GB, free: 1.168 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002782/0.6158, allocations: 248.2 kB / 0.5929 GB, free: 0.9648 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6158, allocations: 0 / 0.5929 GB, free: 0.9648 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004368/0.6163, allocations: 75.5 kB / 0.593 GB, free: 0.8984 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001124/0.6174, allocations: 0.9438 MB / 0.5939 GB, free: 15.96 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008909/0.6183, allocations: 300.6 kB / 0.5942 GB, free: 15.69 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.6183, allocations: 0 / 0.5942 GB, free: 15.69 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005079/0.6189, allocations: 179.6 kB / 0.5944 GB, free: 15.53 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003714/0.6192, allocations: 68.05 kB / 0.5944 GB, free: 15.47 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003738/0.623, allocations: 3.705 MB / 0.598 GB, free: 11.91 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004241/0.6234, allocations: 0.7932 MB / 0.5988 GB, free: 11.1 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000218/0.6237, allocations: 82.88 kB / 0.5989 GB, free: 11.02 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001159/0.6238, allocations: 74.41 kB / 0.599 GB, free: 10.99 MB / 410.7 MB Notification: Performance of SimCode: time 5.81e-07/0.6238, allocations: 0 / 0.599 GB, free: 10.99 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02484/0.6486, allocations: 7.948 MB / 0.6067 GB, free: 3.105 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002601/0.649, allocations: 258.3 kB / 0.607 GB, free: 2.766 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.084/2.733, allocations: 0 / 0.607 GB, free: 2.766 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_res.mat does not exist to compare? outputFormat=mat