Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC,fileNamePrefix="ModelicaTest_trunk_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_trunk_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 trunk/package.mo): time 0.001042/0.001042, allocations: 95.44 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001199/0.001199, allocations: 205.6 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.461/1.461, allocations: 227.3 MB / 245.9 MB, free: 10.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2299/0.2299, allocations: 45.92 MB / 344 MB, free: 12.05 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002938/0.0002938, allocations: 8 kB / 418.1 MB, free: 20.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1251, allocations: 63.47 MB / 481.5 MB, free: 5.195 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC): time 0.002526/0.1277, allocations: 1.373 MB / 482.9 MB, free: 3.809 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001482/0.1292, allocations: 0.6785 MB / 483.6 MB, free: 3.125 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001126/0.1293, allocations: 0 / 483.6 MB, free: 3.125 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002711/0.1296, allocations: 31.88 kB / 483.6 MB, free: 3.094 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003023/0.1299, allocations: 35.88 kB / 483.7 MB, free: 3.059 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002352/0.1302, allocations: 51.81 kB / 483.7 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002117/0.1304, allocations: 91.78 kB / 483.8 MB, free: 2.918 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.946e-05/0.1305, allocations: 13.41 kB / 483.8 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.277e-05/0.1306, allocations: 39.84 kB / 483.9 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001282/0.1307, allocations: 51.83 kB / 483.9 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.247e-05/0.1307, allocations: 4 kB / 483.9 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002007/0.131, allocations: 75.88 kB / 484 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.572e-05/0.131, allocations: 39.88 kB / 484 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.32e-05/0.1311, allocations: 53.64 kB / 484.1 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002144/0.1313, allocations: 116 kB / 484.2 MB, free: 2.523 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.1313, allocations: 0 / 484.2 MB, free: 2.523 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.1313, allocations: 0 / 484.2 MB, free: 2.523 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.874e-06/0.1313, allocations: 0 / 484.2 MB, free: 2.523 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.0006974/0.132, allocations: 434.8 kB / 484.6 MB, free: 2.051 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.1321, allocations: 19.97 kB / 484.6 MB, free: 2.031 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.321e-05/0.1322, allocations: 50.48 kB / 484.7 MB, free: 1.973 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005859/0.1328, allocations: 79.61 kB / 484.8 MB, free: 1.895 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003338/0.1331, allocations: 214.9 kB / 485 MB, free: 1.645 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/0.1331, allocations: 15.94 kB / 485 MB, free: 1.629 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.162e-05/0.1332, allocations: 11.98 kB / 485 MB, free: 1.617 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006037/0.1338, allocations: 307.7 kB / 485.3 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.1338, allocations: 3.938 kB / 485.3 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.817e-05/0.1339, allocations: 4 kB / 485.3 MB, free: 1.297 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.413e-05/0.1339, allocations: 19.98 kB / 485.3 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006376/0.1345, allocations: 308.2 kB / 485.6 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001415/0.136, allocations: 0.7159 MB / 486.3 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000513/0.1365, allocations: 286.2 kB / 486.6 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.844e-05/0.1365, allocations: 0 / 486.6 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.1366, allocations: 38.56 kB / 486.7 MB, free: 15.87 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.352e-06/0.1366, allocations: 0 / 486.7 MB, free: 15.87 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008169/0.1374, allocations: 365.2 kB / 487 MB, free: 15.51 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.064e-05/0.1375, allocations: 55.41 kB / 487.1 MB, free: 15.45 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002445/0.1377, allocations: 226.3 kB / 487.3 MB, free: 15.21 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.554e-05/0.1377, allocations: 29.7 kB / 487.3 MB, free: 15.18 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.389e-05/0.1378, allocations: 120.1 kB / 487.4 MB, free: 15.06 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.595e-05/0.1379, allocations: 43.39 kB / 487.5 MB, free: 15.02 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.403e-05/0.1379, allocations: 0 / 487.5 MB, free: 15.02 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.1381, allocations: 334.8 kB / 487.8 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002386/0.1383, allocations: 103.8 kB / 487.9 MB, free: 14.58 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002332/0.1386, allocations: 146.1 kB / 488.1 MB, free: 14.43 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002319/0.1388, allocations: 108 kB / 488.2 MB, free: 14.32 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1388, allocations: 7.938 kB / 488.2 MB, free: 14.31 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005566/0.1394, allocations: 301.2 kB / 488.5 MB, free: 14.01 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.1394, allocations: 4 kB / 488.5 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.1394, allocations: 0 / 488.5 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.1394, allocations: 8.094 kB / 488.5 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01838/0.1578, allocations: 0.9045 MB / 489.4 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02079/0.1787, allocations: 10.1 MB / 499.5 MB, free: 2.191 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004194/0.1792, allocations: 27.86 kB / 499.5 MB, free: 2.164 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-05/0.1792, allocations: 7.984 kB / 499.5 MB, free: 2.156 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.0002525/0.1795, allocations: 149.9 kB / 499.7 MB, free: 2 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.149e-05/0.1796, allocations: 19.77 kB / 499.7 MB, free: 1.98 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005983/0.1856, allocations: 0.6258 MB / 0.4886 GB, free: 1.34 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.1856, allocations: 0 / 0.4886 GB, free: 1.34 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1856, allocations: 0 / 0.4886 GB, free: 1.34 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.1856, allocations: 4 kB / 0.4886 GB, free: 1.336 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004463/0.1861, allocations: 273.4 kB / 0.4888 GB, free: 1.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.1861, allocations: 4 kB / 0.4888 GB, free: 1.016 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000255/0.1864, allocations: 39.97 kB / 0.4889 GB, free: 0.9766 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006527/0.1929, allocations: 413.9 kB / 0.4893 GB, free: 0.5625 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.403e-05/0.193, allocations: 11.97 kB / 0.4893 GB, free: 0.5508 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01617/0.2092, allocations: 9.679 MB / 0.4987 GB, free: 6.059 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.2093, allocations: 0 / 0.4987 GB, free: 6.059 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005993/0.2153, allocations: 0.677 MB / 0.4994 GB, free: 5.355 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.798e-05/0.2154, allocations: 100.8 kB / 0.4995 GB, free: 5.238 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.313e-05/0.2154, allocations: 4 kB / 0.4995 GB, free: 5.234 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002506/0.2157, allocations: 11.98 kB / 0.4995 GB, free: 5.223 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001622/0.2159, allocations: 47.84 kB / 0.4996 GB, free: 5.176 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.281e-05/0.2159, allocations: 7.984 kB / 0.4996 GB, free: 5.168 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001617/0.2161, allocations: 172.4 kB / 0.4997 GB, free: 5 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2161, allocations: 0 / 0.4997 GB, free: 5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006176/0.2167, allocations: 92 kB / 0.4998 GB, free: 4.91 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.006305/0.223, allocations: 1.216 MB / 0.501 GB, free: 3.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.01842/0.2415, allocations: 1.1 MB / 0.5021 GB, free: 2.559 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.175e-05/0.2415, allocations: 7.938 kB / 0.5021 GB, free: 2.551 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001919/0.2434, allocations: 0.5387 MB / 0.5026 GB, free: 1.973 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003531/0.2438, allocations: 28.12 kB / 0.5026 GB, free: 1.945 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2287/0.4725, allocations: 2.042 MB / 0.5046 GB, free: 40.1 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003838/0.473, allocations: 0.7512 MB / 0.5054 GB, free: 39.41 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001916/0.4732, allocations: 47.75 kB / 0.5054 GB, free: 39.4 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001365/0.4734, allocations: 54.19 kB / 0.5055 GB, free: 39.4 MB / 382.1 MB Notification: Performance of SimCode: time 1.332e-06/0.4734, allocations: 0.6562 kB / 0.5055 GB, free: 39.4 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03048/0.5039, allocations: 9.033 MB / 0.5143 GB, free: 38.54 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001872/0.5041, allocations: 256.3 kB / 0.5145 GB, free: 38.21 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.083/2.587, allocations: 0 / 0.5145 GB, free: 38.21 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC_res.mat does not exist to compare? outputFormat=mat