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.001491/0.001492, allocations: 175.9 kB / 17.06 MB, free: 5.098 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.393/1.393, allocations: 223.2 MB / 241 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009496/0.0009497, allocations: 91.05 kB / 292.1 MB, free: 10.9 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.3152/0.3152, allocations: 44.2 MB / 387.5 MB, free: 38.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003505/0.0003506, allocations: 12 kB / 460 MB, free: 1.395 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3561/0.3565, allocations: 61.9 MB / 0.5097 GB, free: 38.07 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1204/0.477, allocations: 90 MB / 0.5975 GB, free: 5.094 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002857/0.4773, allocations: 99.86 kB / 0.5976 GB, free: 5.004 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01685/0.4942, allocations: 5.929 MB / 0.6034 GB, free: 15.03 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.4942, allocations: 0 / 0.6034 GB, free: 15.03 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.075e-05/0.4943, allocations: 0 / 0.6034 GB, free: 15.03 MB / 426.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.0006528/0.4949, allocations: 450.7 kB / 0.6039 GB, free: 14.54 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/0.495, allocations: 12.5 kB / 0.6039 GB, free: 14.53 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.141e-05/0.4951, allocations: 46.55 kB / 0.6039 GB, free: 14.48 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007999/0.4959, allocations: 107.7 kB / 0.604 GB, free: 14.37 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002999/0.4962, allocations: 222.8 kB / 0.6042 GB, free: 14.11 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.4962, allocations: 8 kB / 0.6042 GB, free: 14.11 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.661e-05/0.4962, allocations: 15.95 kB / 0.6043 GB, free: 14.09 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005653/0.4968, allocations: 299.8 kB / 0.6045 GB, free: 13.78 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.4968, allocations: 0 / 0.6045 GB, free: 13.78 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.433e-05/0.4969, allocations: 4 kB / 0.6045 GB, free: 13.78 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.846e-05/0.4969, allocations: 16 kB / 0.6046 GB, free: 13.76 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005721/0.4975, allocations: 311.7 kB / 0.6049 GB, free: 13.46 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001625/0.4991, allocations: 0.7262 MB / 0.6056 GB, free: 12.68 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005223/0.4996, allocations: 286.3 kB / 0.6058 GB, free: 12.39 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.868e-05/0.4997, allocations: 4.109 kB / 0.6058 GB, free: 12.39 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/0.4997, allocations: 38.44 kB / 0.6059 GB, free: 12.34 MB / 426.7 MB Notification: Performance of pre-optimization done (n=13): time 1.502e-06/0.4997, allocations: 0 / 0.6059 GB, free: 12.34 MB / 426.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008087/0.5005, allocations: 361.2 kB / 0.6062 GB, free: 11.98 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.709e-05/0.5006, allocations: 55.41 kB / 0.6063 GB, free: 11.91 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002231/0.5008, allocations: 200.5 kB / 0.6065 GB, free: 11.71 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.086e-05/0.5009, allocations: 33.7 kB / 0.6065 GB, free: 11.68 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.715e-05/0.501, allocations: 115.9 kB / 0.6066 GB, free: 11.56 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.501e-05/0.501, allocations: 47.34 kB / 0.6067 GB, free: 11.51 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.523e-05/0.501, allocations: 8 kB / 0.6067 GB, free: 11.5 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001814/0.5012, allocations: 330.8 kB / 0.607 GB, free: 11.17 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002204/0.5015, allocations: 103.9 kB / 0.6071 GB, free: 11.07 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002334/0.5017, allocations: 137.2 kB / 0.6072 GB, free: 10.93 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002514/0.502, allocations: 125.5 kB / 0.6073 GB, free: 10.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.502, allocations: 0 / 0.6073 GB, free: 10.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005907/0.5026, allocations: 305.1 kB / 0.6076 GB, free: 10.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.628e-05/0.5026, allocations: 8 kB / 0.6076 GB, free: 10.49 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.004e-06/0.5026, allocations: 0 / 0.6076 GB, free: 10.49 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.5026, allocations: 0 / 0.6076 GB, free: 10.49 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02042/0.5231, allocations: 0.9319 MB / 0.6085 GB, free: 9.559 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02543/0.5485, allocations: 10.3 MB / 0.6186 GB, free: 14.45 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004681/0.549, allocations: 27.86 kB / 0.6186 GB, free: 14.43 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.942e-05/0.5491, allocations: 19.95 kB / 0.6186 GB, free: 14.41 MB / 442.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 () * Number of clocked 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.0002013/0.5493, allocations: 143.3 kB / 0.6188 GB, free: 14.26 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.701e-05/0.5494, allocations: 15.81 kB / 0.6188 GB, free: 14.24 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007474/0.5568, allocations: 0.6803 MB / 0.6195 GB, free: 13.55 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.5569, allocations: 0 / 0.6195 GB, free: 13.55 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.5569, allocations: 3.984 kB / 0.6195 GB, free: 13.54 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.5569, allocations: 0 / 0.6195 GB, free: 13.54 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000384/0.5573, allocations: 281.3 kB / 0.6197 GB, free: 13.22 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.5573, allocations: 0 / 0.6197 GB, free: 13.22 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000246/0.5575, allocations: 39.97 kB / 0.6198 GB, free: 13.18 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008671/0.5662, allocations: 485.7 kB / 0.6202 GB, free: 12.7 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.065e-05/0.5663, allocations: 11.98 kB / 0.6202 GB, free: 12.68 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01788/0.5842, allocations: 9.726 MB / 0.6297 GB, free: 2.148 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.5842, allocations: 0 / 0.6297 GB, free: 2.148 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007537/0.5918, allocations: 0.7335 MB / 0.6305 GB, free: 1.391 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001299/0.592, allocations: 100.8 kB / 0.6306 GB, free: 1.273 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.942e-05/0.592, allocations: 3.953 kB / 0.6306 GB, free: 1.27 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003112/0.5923, allocations: 15.98 kB / 0.6306 GB, free: 1.254 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001851/0.5925, allocations: 47.83 kB / 0.6306 GB, free: 1.207 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.315e-05/0.5925, allocations: 15.98 kB / 0.6306 GB, free: 1.191 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001738/0.5927, allocations: 168.2 kB / 0.6308 GB, free: 1.027 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5927, allocations: 0 / 0.6308 GB, free: 1.027 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000612/0.5933, allocations: 96 kB / 0.6309 GB, free: 0.9336 MB / 442.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 () * Number of clocked 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.007952/0.6013, allocations: 1.275 MB / 0.6321 GB, free: 15.62 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01424/0.6156, allocations: 0.7826 MB / 0.6329 GB, free: 14.84 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.6156, allocations: 0 / 0.6329 GB, free: 14.84 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002241/0.6179, allocations: 0.5309 MB / 0.6334 GB, free: 14.27 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003481/0.6182, allocations: 36.11 kB / 0.6334 GB, free: 14.23 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004881/0.6231, allocations: 2.156 MB / 0.6355 GB, free: 12 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003802/0.6235, allocations: 0.7557 MB / 0.6363 GB, free: 11.21 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001248/0.6237, allocations: 41.52 kB / 0.6363 GB, free: 11.18 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.657e-05/0.6238, allocations: 55.41 kB / 0.6364 GB, free: 11.12 MB / 458.7 MB Notification: Performance of SimCode: time 4.218e-06/0.6238, allocations: 4 kB / 0.6364 GB, free: 11.12 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02583/0.6496, allocations: 9.142 MB / 0.6453 GB, free: 2.242 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002989/0.65, allocations: 253.1 kB / 0.6456 GB, free: 1.941 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.035/2.685, allocations: 3.516 kB / 0.6456 GB, free: 1.941 MB / 458.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