Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001796/0.001796, allocations: 174.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 221.5 MB / 230.7 MB, free: 7.562 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009361/0.0009361, allocations: 89.84 kB / 281.6 MB, free: 5.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2054/0.2054, allocations: 44.15 MB / 376.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.6e-05/1.604e-05, allocations: 4.219 kB / 444.7 MB, free: 15.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1125, allocations: 61.92 MB / 0.4948 GB, free: 1.125 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3855/0.498, allocations: 93.31 MB / 0.5859 GB, free: 3.004 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002513/0.4983, allocations: 91.94 kB / 0.586 GB, free: 2.914 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02859/0.5269, allocations: 10.84 MB / 0.5966 GB, free: 7.926 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.527, allocations: 0 / 0.5966 GB, free: 7.926 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.137e-05/0.527, allocations: 8 kB / 0.5966 GB, free: 7.918 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.0009301/0.528, allocations: 0.6251 MB / 0.5972 GB, free: 7.25 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.528, allocations: 15.98 kB / 0.5972 GB, free: 7.234 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.015e-05/0.5281, allocations: 43.44 kB / 0.5973 GB, free: 7.191 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003679/0.5285, allocations: 282.3 kB / 0.5975 GB, free: 6.875 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.863e-05/0.5285, allocations: 15.95 kB / 0.5975 GB, free: 6.859 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.697e-05/0.5286, allocations: 24 kB / 0.5976 GB, free: 6.836 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005121/0.5291, allocations: 329.8 kB / 0.5979 GB, free: 6.512 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007205/0.5298, allocations: 494.6 kB / 0.5984 GB, free: 6.004 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.5298, allocations: 0 / 0.5984 GB, free: 6.004 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.177e-05/0.5299, allocations: 0 / 0.5984 GB, free: 6.004 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.52e-05/0.5299, allocations: 20.78 kB / 0.5984 GB, free: 5.984 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001686/0.5316, allocations: 1.241 MB / 0.5996 GB, free: 4.691 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003471/0.532, allocations: 231.7 kB / 0.5998 GB, free: 4.438 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001738/0.5322, allocations: 110.4 kB / 0.5999 GB, free: 4.32 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.146e-05/0.5322, allocations: 19.92 kB / 0.5999 GB, free: 4.301 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.5323, allocations: 38.56 kB / 0.6 GB, free: 4.254 MB / 410.7 MB Notification: Performance of pre-optimization done (n=17): time 1.543e-06/0.5323, allocations: 0 / 0.6 GB, free: 4.254 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005356/0.5328, allocations: 253.2 kB / 0.6002 GB, free: 4 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.44e-05/0.5329, allocations: 106.8 kB / 0.6003 GB, free: 3.871 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001868/0.5331, allocations: 179.1 kB / 0.6005 GB, free: 3.688 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.983e-05/0.5331, allocations: 25.81 kB / 0.6005 GB, free: 3.656 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001414/0.5333, allocations: 231.8 kB / 0.6007 GB, free: 3.422 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.809e-05/0.5333, allocations: 59.27 kB / 0.6008 GB, free: 3.363 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.72e-05/0.5334, allocations: 0 / 0.6008 GB, free: 3.363 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.5335, allocations: 334.8 kB / 0.6011 GB, free: 3.027 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001521/0.5336, allocations: 92.11 kB / 0.6012 GB, free: 2.934 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001814/0.5338, allocations: 141.4 kB / 0.6013 GB, free: 2.777 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001921/0.534, allocations: 113.6 kB / 0.6014 GB, free: 2.668 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.534, allocations: 7.938 kB / 0.6014 GB, free: 2.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004805/0.5345, allocations: 281.2 kB / 0.6017 GB, free: 2.379 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.5346, allocations: 5.25 kB / 0.6017 GB, free: 2.375 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.784e-05/0.5346, allocations: 35.91 kB / 0.6018 GB, free: 2.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.5346, allocations: 0 / 0.6018 GB, free: 2.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002251/0.5349, allocations: 44.12 kB / 0.6018 GB, free: 2.297 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.398e-05/0.5349, allocations: 4 kB / 0.6018 GB, free: 2.293 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002106/0.5351, allocations: 27.88 kB / 0.6018 GB, free: 2.266 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.853e-05/0.5352, allocations: 12 kB / 0.6018 GB, free: 2.254 MB / 410.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 () * 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.0001016/0.5353, allocations: 116.8 kB / 0.6019 GB, free: 2.133 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004461/0.5357, allocations: 255 kB / 0.6022 GB, free: 1.879 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.15e-05/0.5358, allocations: 15.81 kB / 0.6022 GB, free: 1.863 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000564/0.5364, allocations: 335.1 kB / 0.6025 GB, free: 1.531 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.668e-06/0.5364, allocations: 7.984 kB / 0.6025 GB, free: 1.523 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.5364, allocations: 0 / 0.6025 GB, free: 1.523 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.5364, allocations: 64 / 0.6025 GB, free: 1.523 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004509/0.5369, allocations: 333.9 kB / 0.6029 GB, free: 1.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.746e-05/0.5369, allocations: 23.98 kB / 0.6029 GB, free: 1.137 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001624/0.5371, allocations: 35.91 kB / 0.6029 GB, free: 1.102 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.5371, allocations: 3.984 kB / 0.6029 GB, free: 1.098 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.212e-05/0.5371, allocations: 8 kB / 0.6029 GB, free: 1.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.5372, allocations: 0 / 0.6029 GB, free: 1.09 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.5372, allocations: 0 / 0.6029 GB, free: 1.09 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004803/0.5377, allocations: 0.517 MB / 0.6034 GB, free: 0.543 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.816e-05/0.5377, allocations: 92.92 kB / 0.6035 GB, free: 444 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.932e-05/0.5378, allocations: 0 / 0.6035 GB, free: 444 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002581/0.538, allocations: 27.97 kB / 0.6035 GB, free: 416 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.268e-05/0.5381, allocations: 19.98 kB / 0.6036 GB, free: 396 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.598e-05/0.5381, allocations: 15.94 kB / 0.6036 GB, free: 380 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001172/0.5383, allocations: 153.4 kB / 0.6037 GB, free: 228 kB / 410.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5383, allocations: 0 / 0.6037 GB, free: 228 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005701/0.5388, allocations: 147.4 kB / 0.6039 GB, free: 80 kB / 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 () * 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.0011/0.54, allocations: 1.282 MB / 0.6051 GB, free: 14.76 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005126/0.5405, allocations: 467.1 kB / 0.6056 GB, free: 14.25 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.5405, allocations: 0 / 0.6056 GB, free: 14.25 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002952/0.5408, allocations: 359.1 kB / 0.6059 GB, free: 13.84 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003389/0.5411, allocations: 24.83 kB / 0.6059 GB, free: 13.82 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001524/0.5427, allocations: 0.6637 MB / 0.6066 GB, free: 13.11 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004978/0.5432, allocations: 0.8566 MB / 0.6074 GB, free: 12.23 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001/0.5433, allocations: 21.19 kB / 0.6074 GB, free: 12.21 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001401/0.5435, allocations: 107.4 kB / 0.6075 GB, free: 12.1 MB / 426.7 MB Notification: Performance of SimCode: time 4.81e-07/0.5435, allocations: 0 / 0.6075 GB, free: 12.1 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02676/0.5702, allocations: 6.17 MB / 0.6136 GB, free: 5.965 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001917/0.5705, allocations: 185.7 kB / 0.6137 GB, free: 5.77 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.764/2.335, allocations: 5.688 kB / 0.6137 GB, free: 5.766 MB / 426.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_res.mat does not exist to compare? outputFormat=mat