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.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_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_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.001053/0.001053, allocations: 183.3 kB / 15.76 MB, free: 6.367 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.503/1.503, 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.0009251/0.0009251, allocations: 90.84 kB / 270.2 MB, free: 13.36 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.2474/0.2474, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003119/0.0003118, allocations: 8 kB / 431.5 MB, free: 19.47 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1387, allocations: 58.87 MB / 490.4 MB, free: 8.543 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4426/0.5813, allocations: 92.76 MB / 0.5695 GB, free: 6.938 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004176/0.5819, allocations: 102.3 kB / 0.5696 GB, free: 6.875 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03819/0.6201, allocations: 13.47 MB / 0.5827 GB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.6201, allocations: 0 / 0.5827 GB, free: 11.34 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.384e-05/0.6201, allocations: 8 kB / 0.5827 GB, free: 11.33 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.000914/0.621, allocations: 0.5797 MB / 0.5833 GB, free: 10.71 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.176e-05/0.6211, allocations: 16.02 kB / 0.5833 GB, free: 10.7 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.914e-05/0.6212, allocations: 60.67 kB / 0.5834 GB, free: 10.65 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.33e-05/0.6213, allocations: 35.58 kB / 0.5834 GB, free: 10.61 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003608/0.6216, allocations: 264.3 kB / 0.5836 GB, free: 10.32 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.46e-05/0.6217, allocations: 19.31 kB / 0.5837 GB, free: 10.31 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.005e-05/0.6217, allocations: 26.12 kB / 0.5837 GB, free: 10.3 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007447/0.6225, allocations: 441.6 kB / 0.5841 GB, free: 9.934 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.6225, allocations: 0 / 0.5841 GB, free: 9.934 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.382e-05/0.6225, allocations: 18.73 kB / 0.5841 GB, free: 9.926 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.297e-05/0.6226, allocations: 12.56 kB / 0.5841 GB, free: 9.914 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000689/0.6233, allocations: 361 kB / 0.5845 GB, free: 9.625 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001558/0.6248, allocations: 1.107 MB / 0.5856 GB, free: 8.578 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004725/0.6253, allocations: 247.8 kB / 0.5858 GB, free: 8.332 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.186e-05/0.6254, allocations: 12.02 kB / 0.5858 GB, free: 8.32 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.91e-05/0.6254, allocations: 34.56 kB / 0.5859 GB, free: 8.277 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 1.673e-06/0.6254, allocations: 0 / 0.5859 GB, free: 8.277 MB / 394.7 MB Notification: Performance of matching and sorting (n=14): time 0.001145/0.6266, allocations: 0.6167 MB / 0.5865 GB, free: 7.633 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.309e-05/0.6267, allocations: 110.8 kB / 0.5866 GB, free: 7.5 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003918/0.6271, allocations: 367.8 kB / 0.5869 GB, free: 7.191 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.606e-05/0.6271, allocations: 25.7 kB / 0.5869 GB, free: 7.16 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001337/0.6272, allocations: 195.1 kB / 0.5871 GB, free: 7.012 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.242e-05/0.6273, allocations: 46.23 kB / 0.5872 GB, free: 6.973 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.479e-05/0.6273, allocations: 3.25 kB / 0.5872 GB, free: 6.973 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.6275, allocations: 348.5 kB / 0.5875 GB, free: 6.637 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003022/0.6278, allocations: 129.3 kB / 0.5876 GB, free: 6.52 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003619/0.6281, allocations: 243.6 kB / 0.5879 GB, free: 6.246 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003524/0.6285, allocations: 171.6 kB / 0.588 GB, free: 6.102 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.6285, allocations: 0 / 0.588 GB, free: 6.102 MB / 394.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008038/0.6293, allocations: 420.6 kB / 0.5884 GB, free: 5.727 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.6293, allocations: 8 kB / 0.5884 GB, free: 5.719 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.457e-05/0.6294, allocations: 20.48 kB / 0.5884 GB, free: 5.699 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.6294, allocations: 11.94 kB / 0.5885 GB, free: 5.688 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002525/0.6297, allocations: 55.89 kB / 0.5885 GB, free: 5.633 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.6297, allocations: 4 kB / 0.5885 GB, free: 5.629 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002777/0.63, allocations: 61.69 kB / 0.5886 GB, free: 5.574 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.173e-05/0.63, allocations: 16 kB / 0.5886 GB, free: 5.559 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 () * 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.0001901/0.6302, allocations: 193.3 kB / 0.5888 GB, free: 5.379 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.63e-05/0.6303, allocations: 27.62 kB / 0.5888 GB, free: 5.352 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005906/0.6309, allocations: 287.8 kB / 0.5891 GB, free: 5.094 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.6309, allocations: 4 kB / 0.5891 GB, free: 5.09 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.6309, allocations: 0 / 0.5891 GB, free: 5.09 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.631, allocations: 7.984 kB / 0.5891 GB, free: 5.082 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004273/0.6314, allocations: 306.9 kB / 0.5894 GB, free: 4.766 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-05/0.6314, allocations: 19.97 kB / 0.5894 GB, free: 4.746 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001598/0.6316, allocations: 42.59 kB / 0.5894 GB, free: 4.707 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.6316, allocations: 4 kB / 0.5894 GB, free: 4.703 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.025e-05/0.6316, allocations: 4 kB / 0.5894 GB, free: 4.699 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.6317, allocations: 4 kB / 0.5894 GB, free: 4.695 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.6317, allocations: 0 / 0.5894 GB, free: 4.695 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000748/0.6324, allocations: 0.5489 MB / 0.59 GB, free: 4.145 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.6325, allocations: 108.7 kB / 0.5901 GB, free: 4.02 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.334e-05/0.6326, allocations: 7.188 kB / 0.5901 GB, free: 4.016 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002726/0.6329, allocations: 27.98 kB / 0.5901 GB, free: 3.988 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.335e-05/0.6329, allocations: 27.05 kB / 0.5901 GB, free: 3.965 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.665e-05/0.633, allocations: 4 kB / 0.5902 GB, free: 3.961 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002702/0.6332, allocations: 285.9 kB / 0.5904 GB, free: 3.73 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6332, allocations: 0 / 0.5904 GB, free: 3.73 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000543/0.6338, allocations: 103.6 kB / 0.5905 GB, free: 3.637 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 () * 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.001316/0.6351, allocations: 1.309 MB / 0.5918 GB, free: 2.328 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007917/0.6359, allocations: 453.3 kB / 0.5922 GB, free: 1.879 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.6359, allocations: 4.062 kB / 0.5922 GB, free: 1.875 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003524/0.6363, allocations: 280.4 kB / 0.5925 GB, free: 1.574 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004537/0.6368, allocations: 74.69 kB / 0.5926 GB, free: 1.52 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004606/0.6414, allocations: 4.72 MB / 0.5972 GB, free: 12.95 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000431/0.6418, allocations: 0.8056 MB / 0.598 GB, free: 12.12 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000205/0.642, allocations: 62.91 kB / 0.598 GB, free: 12.07 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001177/0.6422, allocations: 84.59 kB / 0.5981 GB, free: 12.04 MB / 410.7 MB Notification: Performance of SimCode: time 9.72e-07/0.6422, allocations: 4 kB / 0.5981 GB, free: 12.03 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02175/0.6639, allocations: 8.523 MB / 0.6064 GB, free: 3.574 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001954/0.6642, allocations: 218.4 kB / 0.6066 GB, free: 3.336 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.292/2.956, allocations: 0 / 0.6066 GB, free: 3.336 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent.fmu > ModelicaTest_3.2.3_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_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.mat does not exist to compare? outputFormat=mat