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_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.HelicalPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_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.001785/0.001785, allocations: 183.5 kB / 13.19 MB, free: 2.129 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.552/1.552, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.0008759/0.0008759, allocations: 89.12 kB / 267 MB, free: 9.273 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.3882/0.3882, allocations: 43.47 MB / 358.6 MB, free: 51.6 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.667e-05/2.671e-05, allocations: 4 kB / 425.4 MB, free: 8.078 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1215, allocations: 58.84 MB / 484.3 MB, free: 13.13 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4423/0.5638, allocations: 91.81 MB / 0.5626 GB, free: 13.45 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002921/0.5642, allocations: 90.77 kB / 0.5627 GB, free: 13.41 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02276/0.587, allocations: 9.461 MB / 0.5719 GB, free: 5.445 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.587, allocations: 0 / 0.5719 GB, free: 5.445 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.24e-05/0.5871, allocations: 4 kB / 0.5719 GB, free: 5.441 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.0006058/0.5877, allocations: 0.5759 MB / 0.5725 GB, free: 4.852 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.5877, allocations: 8.031 kB / 0.5725 GB, free: 4.844 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.108e-05/0.5878, allocations: 83.08 kB / 0.5726 GB, free: 4.777 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.018e-05/0.5879, allocations: 50.95 kB / 0.5726 GB, free: 4.73 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002643/0.5881, allocations: 278.1 kB / 0.5729 GB, free: 4.43 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.052e-05/0.5882, allocations: 31.64 kB / 0.5729 GB, free: 4.41 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.521e-05/0.5882, allocations: 35 kB / 0.5729 GB, free: 4.387 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006038/0.5888, allocations: 0.5126 MB / 0.5734 GB, free: 4 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.5888, allocations: 0 / 0.5734 GB, free: 4 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.054e-05/0.5889, allocations: 14.81 kB / 0.5735 GB, free: 3.996 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.295e-05/0.5889, allocations: 37.78 kB / 0.5735 GB, free: 3.965 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005761/0.5895, allocations: 0.5363 MB / 0.574 GB, free: 3.559 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001374/0.5909, allocations: 1.207 MB / 0.5752 GB, free: 2.461 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004968/0.5914, allocations: 354.8 kB / 0.5755 GB, free: 2.137 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001578/0.5916, allocations: 122 kB / 0.5757 GB, free: 2.031 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.621e-05/0.5916, allocations: 12.16 kB / 0.5757 GB, free: 2.02 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.5916, allocations: 38.5 kB / 0.5757 GB, free: 1.977 MB / 394.7 MB Notification: Performance of pre-optimization done (n=22): time 1.232e-06/0.5917, allocations: 0 / 0.5757 GB, free: 1.977 MB / 394.7 MB Notification: Performance of matching and sorting (n=22): time 0.0004971/0.5922, allocations: 309.1 kB / 0.576 GB, free: 1.695 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.207e-05/0.5922, allocations: 55.41 kB / 0.576 GB, free: 1.629 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003137/0.5925, allocations: 401.2 kB / 0.5764 GB, free: 1.297 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.5925, allocations: 28.83 kB / 0.5765 GB, free: 1.266 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.65e-05/0.5926, allocations: 187.2 kB / 0.5766 GB, free: 1.141 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.644e-05/0.5927, allocations: 75.84 kB / 0.5767 GB, free: 1.074 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.297e-05/0.5927, allocations: 3.562 kB / 0.5767 GB, free: 1.074 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.127e-05/0.5928, allocations: 354.6 kB / 0.5771 GB, free: 0.7344 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001393/0.5929, allocations: 101.9 kB / 0.5771 GB, free: 0.6445 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001321/0.593, allocations: 109.5 kB / 0.5773 GB, free: 0.5508 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001579/0.5932, allocations: 113.9 kB / 0.5774 GB, free: 460 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.5932, allocations: 0 / 0.5774 GB, free: 460 kB / 394.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003928/0.5936, allocations: 312.3 kB / 0.5777 GB, free: 168 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.5936, allocations: 4 kB / 0.5777 GB, free: 164 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.5937, allocations: 4 kB / 0.5777 GB, free: 160 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.5937, allocations: 0 / 0.5777 GB, free: 160 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007259/0.5944, allocations: 147.8 kB / 0.5778 GB, free: 12 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002685/0.5971, allocations: 5.524 MB / 0.5832 GB, free: 10.35 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002277/0.5973, allocations: 48.16 kB / 0.5832 GB, free: 10.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.519e-05/0.5974, allocations: 11.98 kB / 0.5833 GB, free: 10.29 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * 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: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 9.471e-05/0.5975, allocations: 122.4 kB / 0.5834 GB, free: 10.17 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.924e-05/0.5975, allocations: 31.62 kB / 0.5834 GB, free: 10.14 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007056/0.5983, allocations: 435.4 kB / 0.5838 GB, free: 9.766 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.5983, allocations: 4 kB / 0.5838 GB, free: 9.762 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.5983, allocations: 0 / 0.5838 GB, free: 9.762 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.5983, allocations: 0 / 0.5838 GB, free: 9.762 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000424/0.5987, allocations: 379.4 kB / 0.5842 GB, free: 9.383 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.5987, allocations: 0 / 0.5842 GB, free: 9.383 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007589/0.5995, allocations: 159.4 kB / 0.5843 GB, free: 9.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.083e-06/0.5995, allocations: 3.984 kB / 0.5843 GB, free: 9.227 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.093e-05/0.5995, allocations: 4 kB / 0.5843 GB, free: 9.223 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00282/0.6024, allocations: 5.516 MB / 0.5897 GB, free: 3.566 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.6024, allocations: 0 / 0.5897 GB, free: 3.566 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005354/0.6029, allocations: 419.4 kB / 0.5901 GB, free: 3.168 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001538/0.6031, allocations: 116.6 kB / 0.5902 GB, free: 3.035 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.919e-05/0.6031, allocations: 7.547 kB / 0.5903 GB, free: 3.031 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001994/0.6033, allocations: 11.44 kB / 0.5903 GB, free: 3.023 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.704e-05/0.6034, allocations: 23.62 kB / 0.5903 GB, free: 3.004 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-05/0.6035, allocations: 11.98 kB / 0.5903 GB, free: 2.992 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003365/0.6038, allocations: 326.1 kB / 0.5906 GB, free: 2.73 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6038, allocations: 0 / 0.5906 GB, free: 2.73 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004094/0.6042, allocations: 117.8 kB / 0.5907 GB, free: 2.625 MB / 410.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * 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: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009922/0.6052, allocations: 1.02 MB / 0.5917 GB, free: 1.613 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001028/0.6063, allocations: 341.6 kB / 0.592 GB, free: 1.305 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.6063, allocations: 0 / 0.592 GB, free: 1.305 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007846/0.6071, allocations: 230.6 kB / 0.5923 GB, free: 1.094 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004153/0.6075, allocations: 83.84 kB / 0.5923 GB, free: 1.035 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00126/0.6088, allocations: 0.6935 MB / 0.593 GB, free: 368 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004423/0.6092, allocations: 0.8606 MB / 0.5939 GB, free: 15.48 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001975/0.6094, allocations: 83.2 kB / 0.5939 GB, free: 15.39 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001341/0.6096, allocations: 113.1 kB / 0.594 GB, free: 15.36 MB / 426.7 MB Notification: Performance of SimCode: time 3.21e-07/0.6096, allocations: 0 / 0.594 GB, free: 15.36 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02499/0.6346, allocations: 10.71 MB / 0.6045 GB, free: 4.734 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002021/0.6348, allocations: 232.5 kB / 0.6047 GB, free: 4.5 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.495/3.13, allocations: 3.938 kB / 0.6047 GB, free: 4.496 MB / 426.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.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.HelicalPipe.kc_turbulent_KC_res.mat does not exist to compare? outputFormat=mat