Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,fileNamePrefix="ModelicaTest_trunk_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_trunk_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 trunk/package.mo): time 0.001097/0.001097, allocations: 198.3 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.446/1.446, allocations: 225.6 MB / 234.8 MB, free: 3.223 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009039/0.0009039, allocations: 97.89 kB / 286.7 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.217/0.217, allocations: 45.15 MB / 383.8 MB, free: 240 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.159e-05/2.163e-05, allocations: 0 / 453.3 MB, free: 75.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1225, allocations: 63.25 MB / 0.5045 GB, free: 12.51 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4242/0.5468, allocations: 94.3 MB / 0.5966 GB, free: 7.938 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002523/0.547, allocations: 88.38 kB / 0.5966 GB, free: 7.887 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03737/0.5844, allocations: 13.76 MB / 0.6101 GB, free: 12.4 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.5845, allocations: 0 / 0.6101 GB, free: 12.4 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.596e-05/0.5845, allocations: 4 kB / 0.6101 GB, free: 12.4 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.0008632/0.5854, allocations: 0.5668 MB / 0.6106 GB, free: 11.81 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.5854, allocations: 12.03 kB / 0.6107 GB, free: 11.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003687/0.5858, allocations: 79.53 kB / 0.6107 GB, free: 11.72 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003157/0.5861, allocations: 253.7 kB / 0.611 GB, free: 11.44 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.5862, allocations: 11.94 kB / 0.611 GB, free: 11.43 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.467e-05/0.5862, allocations: 19.94 kB / 0.611 GB, free: 11.41 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003594/0.5866, allocations: 229.2 kB / 0.6112 GB, free: 11.25 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005104/0.5871, allocations: 368.2 kB / 0.6116 GB, free: 10.93 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.5871, allocations: 4 kB / 0.6116 GB, free: 10.93 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.592e-05/0.5872, allocations: 0 / 0.6116 GB, free: 10.93 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.875e-05/0.5872, allocations: 20.45 kB / 0.6116 GB, free: 10.91 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001381/0.5886, allocations: 1.005 MB / 0.6126 GB, free: 9.957 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00029/0.5889, allocations: 205.7 kB / 0.6128 GB, free: 9.75 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001231/0.589, allocations: 82.91 kB / 0.6129 GB, free: 9.672 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.058e-05/0.5891, allocations: 7.984 kB / 0.6129 GB, free: 9.664 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.5891, allocations: 41.28 kB / 0.6129 GB, free: 9.617 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.523e-06/0.5891, allocations: 0 / 0.6129 GB, free: 9.617 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004244/0.5895, allocations: 187 kB / 0.6131 GB, free: 9.445 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.267e-05/0.5896, allocations: 102.9 kB / 0.6132 GB, free: 9.32 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002125/0.5898, allocations: 219.8 kB / 0.6134 GB, free: 9.129 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.419e-05/0.5899, allocations: 25.7 kB / 0.6134 GB, free: 9.098 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/0.59, allocations: 205.8 kB / 0.6136 GB, free: 8.918 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.402e-05/0.5901, allocations: 49.83 kB / 0.6137 GB, free: 8.875 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.587e-05/0.5901, allocations: 0 / 0.6137 GB, free: 8.875 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.5902, allocations: 332.4 kB / 0.614 GB, free: 8.551 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00014/0.5904, allocations: 86.22 kB / 0.6141 GB, free: 8.473 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002023/0.5906, allocations: 195.7 kB / 0.6142 GB, free: 8.246 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001744/0.5908, allocations: 127.9 kB / 0.6144 GB, free: 8.137 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.5908, allocations: 4 kB / 0.6144 GB, free: 8.133 MB / 410.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004785/0.5913, allocations: 299.1 kB / 0.6146 GB, free: 7.863 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.5913, allocations: 12.06 kB / 0.6147 GB, free: 7.852 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.235e-05/0.5913, allocations: 19.98 kB / 0.6147 GB, free: 7.832 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.354e-05/0.5914, allocations: 12 kB / 0.6147 GB, free: 7.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002709/0.5916, allocations: 55.08 kB / 0.6147 GB, free: 7.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.394e-05/0.5917, allocations: 8 kB / 0.6148 GB, free: 7.762 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002429/0.5919, allocations: 35.83 kB / 0.6148 GB, free: 7.727 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.145e-05/0.592, allocations: 19.98 kB / 0.6148 GB, free: 7.707 MB / 410.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 () * 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.0001151/0.5921, allocations: 124 kB / 0.6149 GB, free: 7.582 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003633/0.5924, allocations: 201 kB / 0.6151 GB, free: 7.395 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.126e-05/0.5926, allocations: 15.81 kB / 0.6151 GB, free: 7.379 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000451/0.593, allocations: 248.6 kB / 0.6154 GB, free: 7.156 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/0.593, allocations: 4 kB / 0.6154 GB, free: 7.152 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.593, allocations: 0 / 0.6154 GB, free: 7.152 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.593, allocations: 0 / 0.6154 GB, free: 7.152 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004206/0.5935, allocations: 269 kB / 0.6156 GB, free: 6.879 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.269e-05/0.5935, allocations: 19.98 kB / 0.6156 GB, free: 6.859 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001646/0.5937, allocations: 37.16 kB / 0.6157 GB, free: 6.824 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.02e-06/0.5937, allocations: 0 / 0.6157 GB, free: 6.824 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.825e-05/0.5937, allocations: 11.92 kB / 0.6157 GB, free: 6.812 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.5938, allocations: 0 / 0.6157 GB, free: 6.812 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.5938, allocations: 4 kB / 0.6157 GB, free: 6.809 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004381/0.5942, allocations: 460.8 kB / 0.6161 GB, free: 6.352 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.561e-05/0.5943, allocations: 97.41 kB / 0.6162 GB, free: 6.238 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.547e-05/0.5943, allocations: 0 / 0.6162 GB, free: 6.238 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002472/0.5946, allocations: 20.73 kB / 0.6162 GB, free: 6.219 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.542e-05/0.5947, allocations: 21.61 kB / 0.6163 GB, free: 6.199 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.875e-05/0.5947, allocations: 12.59 kB / 0.6163 GB, free: 6.188 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001613/0.5949, allocations: 168.7 kB / 0.6164 GB, free: 6.047 MB / 410.7 MB Notification: Performance of sort global known variables: time 2e-07/0.5949, allocations: 3.938 kB / 0.6164 GB, free: 6.043 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006013/0.5955, allocations: 119.5 kB / 0.6166 GB, free: 5.93 MB / 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 (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.001065/0.5966, allocations: 1.214 MB / 0.6177 GB, free: 4.703 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004754/0.597, allocations: 356.8 kB / 0.6181 GB, free: 4.344 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.5971, allocations: 0 / 0.6181 GB, free: 4.344 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000222/0.5973, allocations: 243.3 kB / 0.6183 GB, free: 4.082 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003324/0.5976, allocations: 24.75 kB / 0.6183 GB, free: 4.066 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001202/0.5988, allocations: 0.5008 MB / 0.6188 GB, free: 3.551 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004/0.5992, allocations: 0.8109 MB / 0.6196 GB, free: 2.719 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001503/0.5994, allocations: 53.78 kB / 0.6197 GB, free: 2.668 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/0.5995, allocations: 78.22 kB / 0.6197 GB, free: 2.645 MB / 410.7 MB Notification: Performance of SimCode: time 5.21e-07/0.5995, allocations: 0 / 0.6197 GB, free: 2.645 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02583/0.6254, allocations: 5.664 MB / 0.6253 GB, free: 13.03 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000245/0.6257, allocations: 187 kB / 0.6255 GB, free: 12.84 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.714/2.34, allocations: 1.547 kB / 0.6255 GB, free: 12.84 MB / 426.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_res.mat does not exist to compare? outputFormat=mat