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.0008414/0.0008414, allocations: 100.2 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001102/0.001103, allocations: 191.8 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.447/1.447, allocations: 227.4 MB / 246 MB, free: 11.82 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2177/0.2177, allocations: 45.91 MB / 344.1 MB, free: 12.18 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002527/0.0002527, allocations: 11.98 kB / 418.2 MB, free: 20.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1131, allocations: 63.47 MB / 481.7 MB, free: 5.234 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC): time 0.001761/0.1149, allocations: 1.389 MB / 483 MB, free: 3.832 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001022/0.1159, allocations: 0.694 MB / 483.7 MB, free: 3.133 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.411e-05/0.116, allocations: 8 kB / 483.8 MB, free: 3.125 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001722/0.1162, allocations: 27.88 kB / 483.8 MB, free: 3.098 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002325/0.1164, allocations: 63.72 kB / 483.8 MB, free: 3.035 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001669/0.1166, allocations: 51.81 kB / 483.9 MB, free: 2.984 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002303/0.1168, allocations: 195.3 kB / 484.1 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.692e-05/0.1169, allocations: 17.34 kB / 484.1 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.799e-05/0.117, allocations: 63.7 kB / 484.2 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001323/0.1171, allocations: 75.73 kB / 484.2 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.777e-05/0.1172, allocations: 4 kB / 484.2 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001543/0.1173, allocations: 75.81 kB / 484.3 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.196e-05/0.1174, allocations: 43.88 kB / 484.4 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.086e-05/0.1174, allocations: 49.58 kB / 484.4 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001708/0.1176, allocations: 124 kB / 484.5 MB, free: 2.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1176, allocations: 0 / 484.5 MB, free: 2.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1176, allocations: 4 kB / 484.5 MB, free: 2.336 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.1176, allocations: 0 / 484.5 MB, free: 2.336 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.0005458/0.1182, allocations: 434.8 kB / 485 MB, free: 1.863 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.1182, allocations: 12.03 kB / 485 MB, free: 1.852 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.347e-05/0.1183, allocations: 54.48 kB / 485 MB, free: 1.789 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005234/0.1188, allocations: 83.61 kB / 485.1 MB, free: 1.707 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002071/0.119, allocations: 221.2 kB / 485.3 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.1191, allocations: 15.92 kB / 485.3 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.072e-05/0.1191, allocations: 12 kB / 485.3 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004847/0.1196, allocations: 303.7 kB / 485.6 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.1196, allocations: 0 / 485.6 MB, free: 1.117 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.069e-05/0.1196, allocations: 12 kB / 485.7 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.96e-05/0.1197, allocations: 15.98 kB / 485.7 MB, free: 1.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005376/0.1202, allocations: 304.2 kB / 486 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001241/0.1215, allocations: 0.7121 MB / 486.7 MB, free: 28 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005341/0.122, allocations: 286.2 kB / 487 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002024/0.1222, allocations: 108.7 kB / 487.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.566e-05/0.1223, allocations: 4 kB / 487.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.1223, allocations: 30.56 kB / 487.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.413e-06/0.1223, allocations: 4 kB / 487.1 MB, free: 15.58 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008229/0.1231, allocations: 364.9 kB / 487.5 MB, free: 15.22 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.969e-05/0.1232, allocations: 51.41 kB / 487.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002219/0.1234, allocations: 234.2 kB / 487.7 MB, free: 14.92 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.1234, allocations: 29.7 kB / 487.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.021e-05/0.1235, allocations: 128.1 kB / 487.9 MB, free: 14.76 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.241e-05/0.1236, allocations: 43.38 kB / 487.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.638e-05/0.1236, allocations: 4 kB / 487.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.1238, allocations: 322.8 kB / 488.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002197/0.124, allocations: 115.8 kB / 488.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002175/0.1242, allocations: 134.1 kB / 488.5 MB, free: 14.13 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002303/0.1244, allocations: 119.9 kB / 488.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1245, allocations: 0 / 488.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005377/0.125, allocations: 301.2 kB / 488.9 MB, free: 13.71 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.125, allocations: 4.094 kB / 488.9 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.125, allocations: 4 kB / 488.9 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.1251, allocations: 4 kB / 488.9 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0171/0.1422, allocations: 0.9045 MB / 489.8 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01861/0.1608, allocations: 9.92 MB / 499.7 MB, free: 2.074 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002823/0.1611, allocations: 23.86 kB / 499.8 MB, free: 2.051 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.576e-05/0.1612, allocations: 12.14 kB / 499.8 MB, free: 2.039 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.0001663/0.1614, allocations: 145.8 kB / 499.9 MB, free: 1.887 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.03e-05/0.1614, allocations: 19.77 kB / 499.9 MB, free: 1.867 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005708/0.1671, allocations: 0.6218 MB / 0.4888 GB, free: 1.23 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/0.1672, allocations: 4 kB / 0.4888 GB, free: 1.227 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.1672, allocations: 4 kB / 0.4888 GB, free: 1.223 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.1672, allocations: 3.984 kB / 0.4888 GB, free: 1.219 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003346/0.1675, allocations: 273.4 kB / 0.4891 GB, free: 0.9023 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.1675, allocations: 4.109 kB / 0.4891 GB, free: 0.8984 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002203/0.1678, allocations: 39.91 kB / 0.4891 GB, free: 0.8594 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006129/0.1739, allocations: 410 kB / 0.4895 GB, free: 460 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.749e-05/0.174, allocations: 15.97 kB / 0.4895 GB, free: 444 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01416/0.1881, allocations: 9.515 MB / 0.4988 GB, free: 6.105 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.1882, allocations: 0 / 0.4988 GB, free: 6.105 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005751/0.1939, allocations: 0.6653 MB / 0.4995 GB, free: 5.414 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/0.1941, allocations: 100.8 kB / 0.4996 GB, free: 5.297 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.42e-05/0.1942, allocations: 4 kB / 0.4996 GB, free: 5.293 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002804/0.1944, allocations: 8 kB / 0.4996 GB, free: 5.285 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002432/0.1947, allocations: 55.83 kB / 0.4997 GB, free: 5.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-05/0.1947, allocations: 7.984 kB / 0.4997 GB, free: 5.223 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001825/0.1949, allocations: 168.4 kB / 0.4998 GB, free: 5.059 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.1949, allocations: 0 / 0.4998 GB, free: 5.059 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006037/0.1955, allocations: 88 kB / 0.4999 GB, free: 4.973 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.006023/0.2016, allocations: 1.22 MB / 0.5011 GB, free: 3.719 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.01736/0.219, allocations: 1.104 MB / 0.5022 GB, free: 2.613 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.775e-06/0.219, allocations: 4 kB / 0.5022 GB, free: 2.609 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001648/0.2207, allocations: 0.5349 MB / 0.5027 GB, free: 2.035 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003673/0.221, allocations: 36.11 kB / 0.5027 GB, free: 2 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00362/0.2247, allocations: 1.604 MB / 0.5043 GB, free: 336 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2295/0.4542, allocations: 0.7418 MB / 0.505 GB, free: 39.93 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002206/0.4545, allocations: 47.39 kB / 0.5051 GB, free: 39.93 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001328/0.4546, allocations: 53.67 kB / 0.5051 GB, free: 39.92 MB / 382.1 MB Notification: Performance of SimCode: time 1.072e-06/0.4546, allocations: 0 / 0.5051 GB, free: 39.92 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02791/0.4825, allocations: 9.069 MB / 0.514 GB, free: 39.04 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001787/0.4828, allocations: 248.5 kB / 0.5142 GB, free: 38.71 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.063/2.545, allocations: 0 / 0.5142 GB, free: 38.71 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