Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002348/0.002352, allocations: 183.5 kB / 16.4 MB, free: 5.754 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.275/2.275, allocations: 205.4 MB / 222.5 MB, free: 9.117 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001221/0.001221, allocations: 86.92 kB / 270.9 MB, free: 8.398 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5574/0.5574, allocations: 43.55 MB / 362.7 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007152/0.0007153, allocations: 12 kB / 431.5 MB, free: 5.855 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.179/0.1798, allocations: 58.85 MB / 490.3 MB, free: 10.91 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar): time 0.003937/0.1838, allocations: 1.465 MB / 491.8 MB, free: 9.438 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003002/0.1868, allocations: 0.8702 MB / 492.7 MB, free: 8.559 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001755/0.1871, allocations: 7.938 kB / 492.7 MB, free: 8.551 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003579/0.1875, allocations: 27.88 kB / 492.7 MB, free: 8.523 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004059/0.1879, allocations: 47.86 kB / 492.8 MB, free: 8.477 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008138/0.1887, allocations: 103.7 kB / 492.9 MB, free: 8.375 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004488/0.1892, allocations: 123.8 kB / 493 MB, free: 8.254 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.1893, allocations: 21.53 kB / 493 MB, free: 8.23 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002919/0.1896, allocations: 67.75 kB / 493.1 MB, free: 8.164 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002426/0.1899, allocations: 79.73 kB / 493.1 MB, free: 8.086 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.972e-05/0.19, allocations: 8 kB / 493.1 MB, free: 8.078 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005868/0.1906, allocations: 111.8 kB / 493.3 MB, free: 7.969 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001444/0.1908, allocations: 51.88 kB / 493.3 MB, free: 7.918 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001076/0.1909, allocations: 49.58 kB / 493.4 MB, free: 7.863 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005353/0.1914, allocations: 155.8 kB / 493.5 MB, free: 7.711 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1915, allocations: 0 / 493.5 MB, free: 7.711 MB / 378.7 MB Notification: Performance of FrontEnd: time 5.921e-06/0.1915, allocations: 0 / 493.5 MB, free: 7.711 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.1915, allocations: 3.938 kB / 493.5 MB, free: 7.707 MB / 378.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.002011/0.1935, allocations: 0.5144 MB / 494 MB, free: 7.145 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.441e-05/0.1936, allocations: 12.02 kB / 494 MB, free: 7.133 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001314/0.1938, allocations: 54.53 kB / 494.1 MB, free: 7.07 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001023/0.1939, allocations: 27.67 kB / 494.1 MB, free: 7.043 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004776/0.1944, allocations: 210.8 kB / 494.3 MB, free: 6.797 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.049e-05/0.1944, allocations: 12.23 kB / 494.3 MB, free: 6.785 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.148e-05/0.1945, allocations: 8 kB / 494.3 MB, free: 6.777 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001239/0.1958, allocations: 282.5 kB / 494.6 MB, free: 6.484 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.726e-05/0.1959, allocations: 0 / 494.6 MB, free: 6.484 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.66e-05/0.1959, allocations: 4 kB / 494.6 MB, free: 6.48 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.491e-05/0.196, allocations: 16.22 kB / 494.6 MB, free: 6.465 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001534/0.1976, allocations: 252.4 kB / 494.9 MB, free: 6.219 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00254/0.2002, allocations: 0.8177 MB / 495.7 MB, free: 5.34 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/0.2013, allocations: 203.6 kB / 495.9 MB, free: 5.113 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.775e-05/0.2014, allocations: 4 kB / 495.9 MB, free: 5.109 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.271e-05/0.2015, allocations: 42.52 kB / 495.9 MB, free: 5.059 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 4.148e-06/0.2015, allocations: 0 / 495.9 MB, free: 5.059 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.002475/0.204, allocations: 357.4 kB / 496.3 MB, free: 4.703 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.54e-05/0.2041, allocations: 102.8 kB / 496.4 MB, free: 4.578 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006239/0.2047, allocations: 257 kB / 496.6 MB, free: 4.32 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.132e-05/0.2048, allocations: 29.7 kB / 496.7 MB, free: 4.285 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001797/0.205, allocations: 194.4 kB / 496.9 MB, free: 4.094 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.224e-05/0.2051, allocations: 35.45 kB / 496.9 MB, free: 4.059 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.816e-05/0.2052, allocations: 7.938 kB / 496.9 MB, free: 4.051 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000198/0.2054, allocations: 322.8 kB / 497.2 MB, free: 3.727 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007162/0.2061, allocations: 99.91 kB / 497.3 MB, free: 3.629 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007728/0.2069, allocations: 153.3 kB / 497.5 MB, free: 3.461 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007949/0.2078, allocations: 115.8 kB / 497.6 MB, free: 3.348 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.354e-06/0.2078, allocations: 0 / 497.6 MB, free: 3.348 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.001793/0.2096, allocations: 289.2 kB / 497.9 MB, free: 3.059 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.723e-05/0.2097, allocations: 4 kB / 497.9 MB, free: 3.055 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.229e-05/0.2098, allocations: 15.94 kB / 497.9 MB, free: 3.039 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.622e-05/0.2099, allocations: 0 / 497.9 MB, free: 3.039 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006077/0.2105, allocations: 52.11 kB / 497.9 MB, free: 2.988 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.931e-05/0.2105, allocations: 4 kB / 497.9 MB, free: 2.984 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005706/0.2111, allocations: 35.77 kB / 498 MB, free: 2.949 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-05/0.2112, allocations: 11.92 kB / 498 MB, free: 2.938 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000303/0.2115, allocations: 141.8 kB / 498.1 MB, free: 2.789 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001917/0.2117, allocations: 23.81 kB / 498.2 MB, free: 2.766 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001208/0.2129, allocations: 227.2 kB / 498.4 MB, free: 2.539 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.167e-05/0.213, allocations: 7.953 kB / 498.4 MB, free: 2.531 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/0.213, allocations: 0 / 498.4 MB, free: 2.531 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.216e-06/0.2131, allocations: 4 kB / 498.4 MB, free: 2.527 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009459/0.214, allocations: 253.4 kB / 498.6 MB, free: 2.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-05/0.2141, allocations: 11.98 kB / 498.6 MB, free: 2.219 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000499/0.2146, allocations: 35.97 kB / 498.7 MB, free: 2.184 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.464e-05/0.2147, allocations: 4 kB / 498.7 MB, free: 2.18 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.356e-05/0.2147, allocations: 3.984 kB / 498.7 MB, free: 2.176 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.076e-05/0.2148, allocations: 7.938 kB / 498.7 MB, free: 2.168 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.967e-06/0.2148, allocations: 7.953 kB / 498.7 MB, free: 2.16 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001823/0.2166, allocations: 0.5167 MB / 499.2 MB, free: 1.613 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001869/0.2169, allocations: 104.7 kB / 499.3 MB, free: 1.492 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.784e-05/0.217, allocations: 8.172 kB / 499.3 MB, free: 1.484 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006824/0.2177, allocations: 23.98 kB / 499.4 MB, free: 1.461 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001439/0.2179, allocations: 19.91 kB / 499.4 MB, free: 1.441 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.433e-05/0.2179, allocations: 7.984 kB / 499.4 MB, free: 1.434 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004424/0.2184, allocations: 188.4 kB / 499.6 MB, free: 1.25 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.52e-07/0.2184, allocations: 3.938 kB / 499.6 MB, free: 1.246 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001022/0.2194, allocations: 68 kB / 499.6 MB, free: 1.18 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.3535/0.573, allocations: 1.237 MB / 0.4891 GB, free: 43.2 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001281/0.5743, allocations: 308.3 kB / 0.4894 GB, free: 43.11 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.441e-06/0.5744, allocations: 3.781 kB / 0.4894 GB, free: 43.11 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005834/0.575, allocations: 194.3 kB / 0.4896 GB, free: 43.02 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006018/0.5756, allocations: 32.69 kB / 0.4896 GB, free: 43.02 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004951/0.5806, allocations: 2.295 MB / 0.4919 GB, free: 41.74 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002818/0.5809, allocations: 0.7534 MB / 0.4926 GB, free: 41.05 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000209/0.5811, allocations: 49.89 kB / 0.4927 GB, free: 41.04 MB / 378.7 MB Notification: Performance of SimCode: time 1.372e-06/0.5811, allocations: 0 / 0.4927 GB, free: 41.04 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.721/3.302, allocations: 4.352 MB / 0.4969 GB, free: 40.81 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_res.mat does not exist to compare? outputFormat=mat