Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.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.StraightPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC",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.000985/0.0009851, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 221.3 MB / 236 MB, free: 2.98 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.0008262/0.0008261, allocations: 80.11 kB / 287 MB, free: 248 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2597/0.2597, allocations: 44.15 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.596e-05/3.599e-05, allocations: 4.219 kB / 452 MB, free: 9.309 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1375, allocations: 61.91 MB / 0.5018 GB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3935/0.5311, allocations: 91.74 MB / 0.5914 GB, free: 13.5 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003005/0.5314, allocations: 91.94 kB / 0.5915 GB, free: 13.41 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03327/0.5647, allocations: 12.17 MB / 0.6034 GB, free: 1.16 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.5647, allocations: 3.938 kB / 0.6034 GB, free: 1.156 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.38e-05/0.5648, allocations: 12 kB / 0.6034 GB, free: 1.145 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0009565/0.5657, allocations: 498.6 kB / 0.6039 GB, free: 0.6094 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.911e-05/0.5658, allocations: 8.031 kB / 0.6039 GB, free: 0.6016 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000127/0.566, allocations: 66.53 kB / 0.6039 GB, free: 0.5273 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.725e-05/0.5661, allocations: 31.62 kB / 0.604 GB, free: 0.4961 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003612/0.5664, allocations: 238.5 kB / 0.6042 GB, free: 228 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.359e-05/0.5665, allocations: 24.52 kB / 0.6042 GB, free: 204 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.402e-05/0.5665, allocations: 28 kB / 0.6042 GB, free: 176 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006703/0.5672, allocations: 346.1 kB / 0.6046 GB, free: 15.82 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.5672, allocations: 0 / 0.6046 GB, free: 15.82 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.191e-05/0.5673, allocations: 15.98 kB / 0.6046 GB, free: 15.81 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.129e-05/0.5673, allocations: 20.77 kB / 0.6046 GB, free: 15.79 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004959/0.5678, allocations: 346.8 kB / 0.6049 GB, free: 15.45 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001598/0.5694, allocations: 0.8508 MB / 0.6058 GB, free: 14.54 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004244/0.5699, allocations: 243.6 kB / 0.606 GB, free: 14.3 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001312/0.57, allocations: 84.8 kB / 0.6061 GB, free: 14.21 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.049e-05/0.57, allocations: 3.984 kB / 0.6061 GB, free: 14.21 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/0.5701, allocations: 38.56 kB / 0.6061 GB, free: 14.16 MB / 426.7 MB Notification: Performance of pre-optimization done (n=16): time 1.623e-06/0.5701, allocations: 0 / 0.6061 GB, free: 14.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004918/0.5706, allocations: 219.5 kB / 0.6063 GB, free: 13.94 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.439e-05/0.5706, allocations: 51.41 kB / 0.6064 GB, free: 13.88 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003371/0.571, allocations: 307.7 kB / 0.6067 GB, free: 13.57 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.067e-05/0.5711, allocations: 29.7 kB / 0.6067 GB, free: 13.54 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001351/0.5712, allocations: 167.9 kB / 0.6069 GB, free: 13.37 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.681e-05/0.5713, allocations: 55.2 kB / 0.6069 GB, free: 13.32 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.382e-05/0.5713, allocations: 8 kB / 0.6069 GB, free: 13.31 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.5714, allocations: 342.8 kB / 0.6073 GB, free: 12.96 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001463/0.5716, allocations: 84.34 kB / 0.6073 GB, free: 12.88 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002023/0.5718, allocations: 169.2 kB / 0.6075 GB, free: 12.68 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001819/0.572, allocations: 115.8 kB / 0.6076 GB, free: 12.56 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.572, allocations: 0 / 0.6076 GB, free: 12.56 MB / 426.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000511/0.5725, allocations: 319.3 kB / 0.6079 GB, free: 12.25 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.5725, allocations: 5.406 kB / 0.6079 GB, free: 12.24 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.5726, allocations: 4.375 kB / 0.6079 GB, free: 12.24 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.721e-05/0.5726, allocations: 8 kB / 0.6079 GB, free: 12.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000632/0.5732, allocations: 123.8 kB / 0.608 GB, free: 12.11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002058/0.5753, allocations: 3.653 MB / 0.6116 GB, free: 8.316 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002336/0.5756, allocations: 39.59 kB / 0.6117 GB, free: 8.277 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.841e-05/0.5756, allocations: 15.98 kB / 0.6117 GB, free: 8.262 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (28): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001306/0.5757, allocations: 118.8 kB / 0.6118 GB, free: 8.141 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.575e-05/0.5758, allocations: 23.72 kB / 0.6118 GB, free: 8.117 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005501/0.5763, allocations: 311.4 kB / 0.6121 GB, free: 7.805 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.5764, allocations: 0 / 0.6121 GB, free: 7.805 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.5764, allocations: 3.953 kB / 0.6121 GB, free: 7.801 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.5764, allocations: 3.984 kB / 0.6121 GB, free: 7.797 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003564/0.5767, allocations: 289.5 kB / 0.6124 GB, free: 7.465 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.5768, allocations: 0 / 0.6124 GB, free: 7.465 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000495/0.5773, allocations: 107.9 kB / 0.6125 GB, free: 7.359 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.5773, allocations: 4 kB / 0.6125 GB, free: 7.355 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.378e-05/0.5773, allocations: 11.98 kB / 0.6125 GB, free: 7.344 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001909/0.5792, allocations: 3.645 MB / 0.6161 GB, free: 3.559 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.5792, allocations: 7.891 kB / 0.6161 GB, free: 3.551 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003738/0.5796, allocations: 315.5 kB / 0.6164 GB, free: 3.227 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.127e-05/0.5797, allocations: 108.7 kB / 0.6165 GB, free: 3.102 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.856e-05/0.5798, allocations: 4 kB / 0.6165 GB, free: 3.098 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001661/0.5799, allocations: 15.97 kB / 0.6165 GB, free: 3.082 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.294e-05/0.58, allocations: 20.03 kB / 0.6165 GB, free: 3.062 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.58, allocations: 11.98 kB / 0.6165 GB, free: 3.051 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002369/0.5803, allocations: 243.1 kB / 0.6168 GB, free: 2.812 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.5803, allocations: 3.938 kB / 0.6168 GB, free: 2.809 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003969/0.5807, allocations: 71.94 kB / 0.6168 GB, free: 2.738 MB / 426.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 (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008596/0.5816, allocations: 0.9043 MB / 0.6177 GB, free: 1.809 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007437/0.5823, allocations: 276.3 kB / 0.618 GB, free: 1.539 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.5823, allocations: 0 / 0.618 GB, free: 1.539 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005084/0.5828, allocations: 151.8 kB / 0.6181 GB, free: 1.391 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003816/0.5832, allocations: 67.09 kB / 0.6182 GB, free: 1.328 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/0.5842, allocations: 490.9 kB / 0.6186 GB, free: 0.8086 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003902/0.5847, allocations: 0.8028 MB / 0.6194 GB, free: 15.98 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001999/0.5849, allocations: 78.83 kB / 0.6195 GB, free: 15.9 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000122/0.585, allocations: 77.94 kB / 0.6196 GB, free: 15.83 MB / 442.7 MB Notification: Performance of SimCode: time 5.81e-07/0.585, allocations: 0 / 0.6196 GB, free: 15.83 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02493/0.6099, allocations: 7.944 MB / 0.6273 GB, free: 8.137 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002139/0.6102, allocations: 225.9 kB / 0.6276 GB, free: 7.91 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.053/2.663, allocations: 0 / 0.6276 GB, free: 7.91 MB / 442.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC_res.mat does not exist to compare? outputFormat=mat