Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.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.HelicalPipe.kc_turbulent,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_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.001303/0.001303, allocations: 183.8 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.663/1.663, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.0009791/0.0009791, allocations: 90.88 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.2304/0.2304, allocations: 43.56 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003235/0.0003235, allocations: 8 kB / 431.5 MB, free: 19.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1333, allocations: 58.86 MB / 490.4 MB, free: 8.559 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4141/0.5474, allocations: 92.93 MB / 0.5696 GB, free: 6.75 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002977/0.5478, allocations: 96.25 kB / 0.5697 GB, free: 6.691 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0287/0.5765, allocations: 10.66 MB / 0.5801 GB, free: 13.38 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.5765, allocations: 3.938 kB / 0.5801 GB, free: 13.38 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.958e-05/0.5766, allocations: 4 kB / 0.5801 GB, free: 13.38 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001203/0.5778, allocations: 0.6499 MB / 0.5808 GB, free: 12.7 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.41e-05/0.5779, allocations: 8.562 kB / 0.5808 GB, free: 12.69 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001395/0.578, allocations: 86.83 kB / 0.5809 GB, free: 12.62 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.51e-05/0.5781, allocations: 43.48 kB / 0.5809 GB, free: 12.58 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005092/0.5786, allocations: 288.3 kB / 0.5812 GB, free: 12.27 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.082e-05/0.5787, allocations: 28.94 kB / 0.5812 GB, free: 12.25 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.142e-05/0.5787, allocations: 38.12 kB / 0.5812 GB, free: 12.23 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001002/0.5797, allocations: 0.5837 MB / 0.5818 GB, free: 11.75 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.5798, allocations: 4 kB / 0.5818 GB, free: 11.75 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.638e-05/0.5798, allocations: 16.48 kB / 0.5818 GB, free: 11.75 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.603e-05/0.5799, allocations: 21 kB / 0.5819 GB, free: 11.73 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008461/0.5807, allocations: 449.2 kB / 0.5823 GB, free: 11.37 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002193/0.5829, allocations: 1.406 MB / 0.5837 GB, free: 10.06 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005363/0.5835, allocations: 289.9 kB / 0.5839 GB, free: 9.777 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.481e-05/0.5835, allocations: 7.984 kB / 0.5839 GB, free: 9.77 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/0.5836, allocations: 43.31 kB / 0.584 GB, free: 9.719 MB / 394.7 MB Notification: Performance of pre-optimization done (n=17): time 2.685e-06/0.5836, allocations: 0 / 0.584 GB, free: 9.719 MB / 394.7 MB Notification: Performance of matching and sorting (n=17): time 0.001305/0.5849, allocations: 0.7136 MB / 0.5847 GB, free: 8.984 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.009e-05/0.585, allocations: 102.8 kB / 0.5848 GB, free: 8.859 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005108/0.5855, allocations: 460.5 kB / 0.5852 GB, free: 8.484 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.909e-05/0.5855, allocations: 25.7 kB / 0.5852 GB, free: 8.453 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001587/0.5857, allocations: 204.6 kB / 0.5854 GB, free: 8.32 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.018e-05/0.5858, allocations: 55.05 kB / 0.5855 GB, free: 8.273 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.602e-05/0.5858, allocations: 3.812 kB / 0.5855 GB, free: 8.273 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.586, allocations: 358 kB / 0.5858 GB, free: 7.93 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003415/0.5863, allocations: 135.8 kB / 0.586 GB, free: 7.805 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003499/0.5867, allocations: 184.5 kB / 0.5861 GB, free: 7.621 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000356/0.587, allocations: 155.3 kB / 0.5863 GB, free: 7.484 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.5871, allocations: 0 / 0.5863 GB, free: 7.484 MB / 394.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008655/0.5879, allocations: 400.4 kB / 0.5867 GB, free: 7.117 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.588, allocations: 7.984 kB / 0.5867 GB, free: 7.109 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.443e-05/0.588, allocations: 24.09 kB / 0.5867 GB, free: 7.086 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.5881, allocations: 7.938 kB / 0.5867 GB, free: 7.078 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002306/0.5883, allocations: 39.95 kB / 0.5867 GB, free: 7.039 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.338e-05/0.5883, allocations: 15.95 kB / 0.5868 GB, free: 7.023 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003095/0.5886, allocations: 66.86 kB / 0.5868 GB, free: 6.961 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.685e-05/0.5887, allocations: 15.98 kB / 0.5868 GB, free: 6.945 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 initialization (18): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.0002235/0.5889, allocations: 181.1 kB / 0.587 GB, free: 6.777 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/0.589, allocations: 35.53 kB / 0.587 GB, free: 6.742 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007908/0.5898, allocations: 406.2 kB / 0.5874 GB, free: 6.379 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.237e-05/0.5898, allocations: 4 kB / 0.5874 GB, free: 6.375 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.226e-06/0.5899, allocations: 0 / 0.5874 GB, free: 6.375 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.14e-05/0.5899, allocations: 7.938 kB / 0.5874 GB, free: 6.367 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007372/0.5906, allocations: 363.4 kB / 0.5878 GB, free: 6.004 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-05/0.5907, allocations: 27.97 kB / 0.5878 GB, free: 5.977 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001651/0.5909, allocations: 31.97 kB / 0.5878 GB, free: 5.945 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.5909, allocations: 0 / 0.5878 GB, free: 5.945 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.435e-05/0.5909, allocations: 15.75 kB / 0.5879 GB, free: 5.934 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.5909, allocations: 0 / 0.5879 GB, free: 5.934 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.117e-06/0.591, allocations: 3.984 kB / 0.5879 GB, free: 5.93 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009446/0.5919, allocations: 0.6169 MB / 0.5885 GB, free: 5.316 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001965/0.5921, allocations: 120.6 kB / 0.5886 GB, free: 5.18 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.324e-05/0.5922, allocations: 7.984 kB / 0.5886 GB, free: 5.172 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002959/0.5925, allocations: 31.62 kB / 0.5886 GB, free: 5.145 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.294e-05/0.5926, allocations: 19.97 kB / 0.5886 GB, free: 5.125 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.483e-05/0.5926, allocations: 11.88 kB / 0.5887 GB, free: 5.117 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004538/0.5931, allocations: 368.1 kB / 0.589 GB, free: 4.824 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5931, allocations: 0 / 0.589 GB, free: 4.824 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006682/0.5937, allocations: 123.6 kB / 0.5891 GB, free: 4.711 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 (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.001588/0.5953, allocations: 1.406 MB / 0.5905 GB, free: 3.305 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000842/0.5962, allocations: 0.5447 MB / 0.591 GB, free: 2.73 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.5962, allocations: 0 / 0.591 GB, free: 2.73 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004757/0.5967, allocations: 394.8 kB / 0.5914 GB, free: 2.305 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004859/0.5972, allocations: 88.62 kB / 0.5915 GB, free: 2.242 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004668/0.6019, allocations: 3.552 MB / 0.595 GB, free: 15 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005185/0.6024, allocations: 0.869 MB / 0.5958 GB, free: 14.11 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001958/0.6026, allocations: 63.19 kB / 0.5959 GB, free: 14.05 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000152/0.6028, allocations: 107.2 kB / 0.596 GB, free: 14.02 MB / 410.7 MB Notification: Performance of SimCode: time 1.513e-06/0.6028, allocations: 0 / 0.596 GB, free: 14.02 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02524/0.628, allocations: 10.86 MB / 0.6066 GB, free: 3.207 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002285/0.6283, allocations: 217.1 kB / 0.6068 GB, free: 2.969 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.263/2.892, allocations: 3.953 kB / 0.6068 GB, free: 2.965 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.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.HelicalPipe.kc_turbulent_res.mat does not exist to compare? outputFormat=mat