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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 94.62 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009811/0.0009811, allocations: 185.2 kB / 17.87 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 223.2 MB / 241.8 MB, free: 14.66 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2116/0.2116, allocations: 44.23 MB / 337.1 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003235/0.0003236, allocations: 8 kB / 409.6 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1171, allocations: 61.92 MB / 471.6 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC): time 0.001653/0.1188, allocations: 1.353 MB / 472.9 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008787/0.1197, allocations: 0.6435 MB / 473.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.976e-05/0.1198, allocations: 0 / 473.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001745/0.12, allocations: 35.81 kB / 473.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000169/0.1201, allocations: 39.81 kB / 473.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001498/0.1203, allocations: 47.88 kB / 473.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001331/0.1204, allocations: 99.78 kB / 473.8 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.588e-05/0.1205, allocations: 9.406 kB / 473.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.141e-05/0.1206, allocations: 43.83 kB / 473.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001059/0.1207, allocations: 51.81 kB / 473.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.562e-05/0.1207, allocations: 7.938 kB / 473.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001471/0.1208, allocations: 75.88 kB / 474 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.813e-05/0.1209, allocations: 39.91 kB / 474 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.712e-05/0.1209, allocations: 45.64 kB / 474 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001636/0.1211, allocations: 116 kB / 474.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.1211, allocations: 0 / 474.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.1211, allocations: 0 / 474.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.1211, allocations: 0 / 474.2 MB, free: 11.01 MB / 350.1 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.0005491/0.1217, allocations: 442.7 kB / 474.6 MB, free: 10.53 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.1217, allocations: 16.56 kB / 474.6 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.757e-05/0.1218, allocations: 46.55 kB / 474.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005597/0.1224, allocations: 83.61 kB / 474.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002439/0.1226, allocations: 210.8 kB / 474.9 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.1226, allocations: 11.98 kB / 475 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.009e-05/0.1227, allocations: 15.95 kB / 475 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004989/0.1232, allocations: 295.9 kB / 475.3 MB, free: 9.801 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.1232, allocations: 0 / 475.3 MB, free: 9.801 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.731e-05/0.1232, allocations: 11.98 kB / 475.3 MB, free: 9.789 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.442e-05/0.1233, allocations: 15.98 kB / 475.3 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005578/0.1238, allocations: 311.6 kB / 475.6 MB, free: 9.469 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001281/0.1251, allocations: 0.7235 MB / 476.3 MB, free: 8.688 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000476/0.1256, allocations: 293.7 kB / 476.6 MB, free: 8.395 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/0.1256, allocations: 0 / 476.6 MB, free: 8.395 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.1257, allocations: 38.56 kB / 476.6 MB, free: 8.348 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 8.61e-07/0.1257, allocations: 0 / 476.6 MB, free: 8.348 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007785/0.1265, allocations: 357.4 kB / 477 MB, free: 7.992 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.283e-05/0.1265, allocations: 55.41 kB / 477 MB, free: 7.926 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002186/0.1267, allocations: 222.4 kB / 477.3 MB, free: 7.699 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.89e-05/0.1268, allocations: 29.7 kB / 477.3 MB, free: 7.664 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.986e-05/0.1269, allocations: 127.8 kB / 477.4 MB, free: 7.535 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.9e-05/0.1269, allocations: 39.39 kB / 477.5 MB, free: 7.496 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.613e-05/0.1269, allocations: 4 kB / 477.5 MB, free: 7.492 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.127, allocations: 330.8 kB / 477.8 MB, free: 7.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000212/0.1273, allocations: 103.9 kB / 477.9 MB, free: 7.059 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002158/0.1275, allocations: 138.5 kB / 478 MB, free: 6.914 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002301/0.1277, allocations: 111.9 kB / 478.1 MB, free: 6.805 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.1277, allocations: 7.938 kB / 478.1 MB, free: 6.797 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005341/0.1283, allocations: 301.1 kB / 478.4 MB, free: 6.496 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.1283, allocations: 7.984 kB / 478.4 MB, free: 6.488 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.1283, allocations: 0 / 478.4 MB, free: 6.488 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.1283, allocations: 12.03 kB / 478.4 MB, free: 6.477 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01899/0.1473, allocations: 0.8968 MB / 479.3 MB, free: 5.578 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02076/0.1681, allocations: 10.1 MB / 489.4 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003089/0.1685, allocations: 31.8 kB / 489.5 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.365e-05/0.1685, allocations: 8.234 kB / 489.5 MB, free: 10.63 MB / 366.1 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.0001442/0.1686, allocations: 145.8 kB / 489.6 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.607e-05/0.1687, allocations: 15.81 kB / 489.6 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006283/0.175, allocations: 0.6297 MB / 490.3 MB, free: 9.82 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.175, allocations: 0 / 490.3 MB, free: 9.82 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.175, allocations: 0 / 490.3 MB, free: 9.82 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.7e-06/0.175, allocations: 4.109 kB / 490.3 MB, free: 9.816 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003295/0.1754, allocations: 277.4 kB / 490.5 MB, free: 9.496 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.1754, allocations: 0 / 490.5 MB, free: 9.496 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002285/0.1756, allocations: 43.86 kB / 490.6 MB, free: 9.453 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006824/0.1824, allocations: 409.9 kB / 491 MB, free: 9.043 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.347e-05/0.1825, allocations: 11.98 kB / 491 MB, free: 9.031 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01496/0.1975, allocations: 9.679 MB / 0.4889 GB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.1975, allocations: 0 / 0.4889 GB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006051/0.2036, allocations: 0.6693 MB / 0.4896 GB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001061/0.2037, allocations: 100.8 kB / 0.4897 GB, free: 13.73 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.687e-05/0.2038, allocations: 7.938 kB / 0.4897 GB, free: 13.72 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002427/0.204, allocations: 11.98 kB / 0.4897 GB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001764/0.2042, allocations: 43.91 kB / 0.4898 GB, free: 13.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.71e-05/0.2042, allocations: 19.97 kB / 0.4898 GB, free: 13.65 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001581/0.2044, allocations: 164.3 kB / 0.4899 GB, free: 13.49 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2044, allocations: 0 / 0.4899 GB, free: 13.49 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006102/0.205, allocations: 95.98 kB / 0.49 GB, free: 13.39 MB / 382.1 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.0064/0.2114, allocations: 1.217 MB / 0.4912 GB, free: 12.14 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.01891/0.2304, allocations: 1.104 MB / 0.4923 GB, free: 11.04 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/0.2304, allocations: 0 / 0.4923 GB, free: 11.04 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001731/0.2322, allocations: 0.5348 MB / 0.4928 GB, free: 10.46 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002873/0.2325, allocations: 32.11 kB / 0.4928 GB, free: 10.43 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003881/0.2363, allocations: 2.05 MB / 0.4948 GB, free: 8.312 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003429/0.2367, allocations: 0.7558 MB / 0.4956 GB, free: 7.527 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000121/0.2368, allocations: 45.52 kB / 0.4956 GB, free: 7.484 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.826e-05/0.2369, allocations: 47.42 kB / 0.4957 GB, free: 7.438 MB / 382.1 MB Notification: Performance of SimCode: time 4e-07/0.2369, allocations: 0 / 0.4957 GB, free: 7.438 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2175/0.4544, allocations: 9.024 MB / 0.5045 GB, free: 47.73 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001723/0.4547, allocations: 246.9 kB / 0.5047 GB, free: 47.41 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.06/2.515, allocations: 2.953 kB / 0.5047 GB, free: 47.41 MB / 382.1 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