Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.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.Plate.kc_turbulent_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_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.002103/0.002103, allocations: 176.3 kB / 8.742 MB, free: 344 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.552/1.552, allocations: 221.5 MB / 230.7 MB, free: 7.574 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.0008808/0.0008808, allocations: 96.05 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.1878/0.1878, allocations: 44.14 MB / 376.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.492e-05/2.45e-05, allocations: 4 kB / 444.7 MB, free: 15.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1312, allocations: 61.92 MB / 0.4948 GB, free: 1.133 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4342/0.5655, allocations: 89.26 MB / 0.582 GB, free: 7.086 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002737/0.5658, allocations: 91.94 kB / 0.582 GB, free: 6.996 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01677/0.5826, allocations: 5.887 MB / 0.5878 GB, free: 1.086 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.5826, allocations: 0 / 0.5878 GB, free: 1.086 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.708e-05/0.5826, allocations: 8 kB / 0.5878 GB, free: 1.078 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.00066/0.5833, allocations: 414.1 kB / 0.5882 GB, free: 0.6289 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.56e-05/0.5834, allocations: 11.98 kB / 0.5882 GB, free: 0.6172 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008007/0.5842, allocations: 107.7 kB / 0.5883 GB, free: 0.5117 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003169/0.5845, allocations: 224.1 kB / 0.5885 GB, free: 260 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.5845, allocations: 4 kB / 0.5885 GB, free: 256 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.455e-05/0.5846, allocations: 8 kB / 0.5885 GB, free: 248 kB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004628/0.5851, allocations: 252.1 kB / 0.5888 GB, free: 15.99 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004138/0.5855, allocations: 256 kB / 0.589 GB, free: 15.73 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.5855, allocations: 3.938 kB / 0.589 GB, free: 15.72 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.868e-05/0.5855, allocations: 4 kB / 0.589 GB, free: 15.72 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.863e-05/0.5856, allocations: 19.98 kB / 0.589 GB, free: 15.7 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001471/0.5871, allocations: 0.6546 MB / 0.5897 GB, free: 15.01 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004063/0.5875, allocations: 270.2 kB / 0.5899 GB, free: 14.73 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001304/0.5876, allocations: 80.83 kB / 0.59 GB, free: 14.65 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.708e-05/0.5877, allocations: 3.984 kB / 0.59 GB, free: 14.65 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.286e-05/0.5877, allocations: 38.55 kB / 0.5901 GB, free: 14.6 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 1.733e-06/0.5877, allocations: 4 kB / 0.5901 GB, free: 14.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004533/0.5882, allocations: 218.9 kB / 0.5903 GB, free: 14.38 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.346e-05/0.5882, allocations: 51.41 kB / 0.5903 GB, free: 14.32 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001541/0.5884, allocations: 141.5 kB / 0.5905 GB, free: 14.17 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.006e-05/0.5884, allocations: 29.7 kB / 0.5905 GB, free: 14.13 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.925e-05/0.5885, allocations: 124 kB / 0.5906 GB, free: 14.01 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.455e-05/0.5886, allocations: 47.36 kB / 0.5906 GB, free: 13.96 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.615e-05/0.5886, allocations: 0 / 0.5906 GB, free: 13.96 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.5888, allocations: 322.8 kB / 0.591 GB, free: 13.64 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001261/0.5889, allocations: 83.91 kB / 0.591 GB, free: 13.55 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001506/0.589, allocations: 120.7 kB / 0.5912 GB, free: 13.43 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001582/0.5892, allocations: 95.89 kB / 0.5912 GB, free: 13.33 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.5892, allocations: 0 / 0.5912 GB, free: 13.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004119/0.5896, allocations: 262.2 kB / 0.5915 GB, free: 13.07 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.5897, allocations: 11.89 kB / 0.5915 GB, free: 13.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.5897, allocations: 112 / 0.5915 GB, free: 13.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.5897, allocations: 7.938 kB / 0.5915 GB, free: 13.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01605/0.6058, allocations: 0.928 MB / 0.5924 GB, free: 12.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01846/0.6243, allocations: 9.65 MB / 0.6018 GB, free: 1.77 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003913/0.6247, allocations: 23.81 kB / 0.6019 GB, free: 1.746 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.314e-05/0.6248, allocations: 23.91 kB / 0.6019 GB, free: 1.723 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.0001265/0.6249, allocations: 101 kB / 0.602 GB, free: 1.617 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003544/0.6253, allocations: 219.9 kB / 0.6022 GB, free: 1.398 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.38e-05/0.6253, allocations: 19.8 kB / 0.6022 GB, free: 1.379 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00624/0.6316, allocations: 0.6251 MB / 0.6028 GB, free: 0.7383 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.847e-05/0.6317, allocations: 0 / 0.6028 GB, free: 0.7383 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/0.6317, allocations: 0 / 0.6028 GB, free: 0.7383 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.208e-05/0.6317, allocations: 11.89 kB / 0.6028 GB, free: 0.7266 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000523/0.6322, allocations: 242 kB / 0.6031 GB, free: 464 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.6323, allocations: 0 / 0.6031 GB, free: 464 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002796/0.6325, allocations: 39.97 kB / 0.6031 GB, free: 424 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00708/0.6396, allocations: 477.8 kB / 0.6036 GB, free: 15.94 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.102e-05/0.6397, allocations: 11.97 kB / 0.6036 GB, free: 15.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01266/0.6524, allocations: 9.098 MB / 0.6125 GB, free: 6.125 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.511e-06/0.6525, allocations: 224 / 0.6125 GB, free: 6.125 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006121/0.6586, allocations: 0.6791 MB / 0.6131 GB, free: 5.422 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.799e-05/0.6587, allocations: 92.86 kB / 0.6132 GB, free: 5.312 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.932e-05/0.6587, allocations: 3.953 kB / 0.6132 GB, free: 5.309 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000269/0.659, allocations: 11.98 kB / 0.6132 GB, free: 5.297 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001643/0.6592, allocations: 51.83 kB / 0.6133 GB, free: 5.246 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-05/0.6592, allocations: 11.98 kB / 0.6133 GB, free: 5.234 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001084/0.6593, allocations: 122.2 kB / 0.6134 GB, free: 5.117 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6594, allocations: 0 / 0.6134 GB, free: 5.117 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006749/0.66, allocations: 91.94 kB / 0.6135 GB, free: 5.027 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 (13): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.006403/0.6664, allocations: 1.214 MB / 0.6147 GB, free: 3.777 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0112/0.6777, allocations: 0.7507 MB / 0.6154 GB, free: 3.027 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/0.6777, allocations: 0 / 0.6154 GB, free: 3.027 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001861/0.6796, allocations: 0.4893 MB / 0.6159 GB, free: 2.508 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002944/0.6799, allocations: 23.91 kB / 0.6159 GB, free: 2.484 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002835/0.6828, allocations: 0.5532 MB / 0.6164 GB, free: 1.891 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004466/0.6832, allocations: 0.7475 MB / 0.6172 GB, free: 1.117 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001341/0.6834, allocations: 40.73 kB / 0.6172 GB, free: 1.078 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.531e-05/0.6835, allocations: 51.41 kB / 0.6173 GB, free: 1.027 MB / 426.7 MB Notification: Performance of SimCode: time 1.272e-06/0.6835, allocations: 0 / 0.6173 GB, free: 1.027 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03182/0.7153, allocations: 7.411 MB / 0.6245 GB, free: 9.637 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002299/0.7156, allocations: 182.1 kB / 0.6247 GB, free: 9.441 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.947/2.662, allocations: 0 / 0.6247 GB, free: 9.441 MB / 442.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_KC.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.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.Plate.kc_turbulent_KC_res.mat does not exist to compare? outputFormat=mat