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_KC.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_KC,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_KC",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.001685/0.001684, allocations: 189 kB / 16.4 MB, free: 5.621 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.173/2.173, allocations: 205.4 MB / 222.5 MB, free: 13.76 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.001285/0.001284, allocations: 98.91 kB / 270.9 MB, free: 13.28 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3097/0.3096, allocations: 43.55 MB / 362.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007495/0.0007498, allocations: 11.98 kB / 431.5 MB, free: 20.15 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1769/0.1777, allocations: 58.85 MB / 490.3 MB, free: 9.223 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC): time 0.004106/0.1819, allocations: 1.358 MB / 491.7 MB, free: 7.848 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002635/0.1846, allocations: 0.6871 MB / 492.4 MB, free: 7.152 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001314/0.1848, allocations: 4 kB / 492.4 MB, free: 7.148 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003755/0.1852, allocations: 27.89 kB / 492.4 MB, free: 7.121 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004249/0.1857, allocations: 39.86 kB / 492.5 MB, free: 7.082 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004182/0.1861, allocations: 47.88 kB / 492.5 MB, free: 7.035 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003351/0.1865, allocations: 95.78 kB / 492.6 MB, free: 6.941 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.1866, allocations: 13.41 kB / 492.6 MB, free: 6.93 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001418/0.1868, allocations: 39.84 kB / 492.6 MB, free: 6.891 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001913/0.187, allocations: 51.77 kB / 492.7 MB, free: 6.84 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.706e-05/0.187, allocations: 4 kB / 492.7 MB, free: 6.836 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004291/0.1875, allocations: 67.94 kB / 492.8 MB, free: 6.77 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001174/0.1876, allocations: 39.88 kB / 492.8 MB, free: 6.73 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001255/0.1878, allocations: 53.58 kB / 492.9 MB, free: 6.672 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004113/0.1882, allocations: 104 kB / 493 MB, free: 6.57 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.819e-06/0.1883, allocations: 8 kB / 493 MB, free: 6.562 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.116e-06/0.1883, allocations: 3.938 kB / 493 MB, free: 6.559 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.1883, allocations: 0 / 493 MB, free: 6.559 MB / 330.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.00127/0.1896, allocations: 438.8 kB / 493.4 MB, free: 6.082 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.153e-05/0.1897, allocations: 16.02 kB / 493.4 MB, free: 6.066 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001143/0.1898, allocations: 46.55 kB / 493.5 MB, free: 6.012 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001385/0.1912, allocations: 71.69 kB / 493.5 MB, free: 5.941 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005568/0.1919, allocations: 225.4 kB / 493.8 MB, free: 5.684 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.199e-05/0.1919, allocations: 4 kB / 493.8 MB, free: 5.68 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.621e-05/0.192, allocations: 8 kB / 493.8 MB, free: 5.672 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001203/0.1932, allocations: 255.9 kB / 494 MB, free: 5.41 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.144e-05/0.1933, allocations: 0 / 494 MB, free: 5.41 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.386e-05/0.1934, allocations: 0 / 494 MB, free: 5.41 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.826e-05/0.1935, allocations: 31.92 kB / 494 MB, free: 5.379 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001415/0.1949, allocations: 247.7 kB / 494.3 MB, free: 5.137 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003052/0.1981, allocations: 0.6641 MB / 494.9 MB, free: 4.418 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001201/0.1993, allocations: 230.4 kB / 495.2 MB, free: 4.184 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.739e-05/0.1995, allocations: 0 / 495.2 MB, free: 4.184 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.326e-05/0.1995, allocations: 38.58 kB / 495.2 MB, free: 4.137 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 3.607e-06/0.1996, allocations: 0 / 495.2 MB, free: 4.137 MB / 330.7 MB Notification: Performance of matching and sorting (n=13): time 0.00196/0.2015, allocations: 309.4 kB / 495.5 MB, free: 3.828 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.69e-05/0.2017, allocations: 55.36 kB / 495.6 MB, free: 3.762 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005494/0.2022, allocations: 230.2 kB / 495.8 MB, free: 3.523 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.798e-05/0.2023, allocations: 29.81 kB / 495.8 MB, free: 3.488 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000168/0.2025, allocations: 174.3 kB / 496 MB, free: 3.316 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/0.2027, allocations: 55.28 kB / 496 MB, free: 3.262 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.643e-05/0.2027, allocations: 0 / 496 MB, free: 3.262 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002064/0.2029, allocations: 326.8 kB / 496.4 MB, free: 2.934 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006105/0.2036, allocations: 79.91 kB / 496.4 MB, free: 2.855 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006066/0.2042, allocations: 119.1 kB / 496.6 MB, free: 2.73 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006344/0.2049, allocations: 99.89 kB / 496.7 MB, free: 2.633 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.2049, allocations: 0 / 496.7 MB, free: 2.633 MB / 330.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.001391/0.2063, allocations: 253.3 kB / 496.9 MB, free: 2.379 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.514e-05/0.2064, allocations: 11.98 kB / 496.9 MB, free: 2.367 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.2065, allocations: 0 / 496.9 MB, free: 2.367 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.574e-05/0.2065, allocations: 0 / 496.9 MB, free: 2.367 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007613/0.2141, allocations: 263.7 kB / 497.2 MB, free: 2.109 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02405/0.2383, allocations: 8.657 MB / 0.494 GB, free: 8.652 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007127/0.239, allocations: 27.83 kB / 0.494 GB, free: 8.625 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.339e-05/0.2391, allocations: 7.984 kB / 0.494 GB, free: 8.617 MB / 346.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.0003063/0.2395, allocations: 145.4 kB / 0.4941 GB, free: 8.469 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/0.2396, allocations: 19.77 kB / 0.4942 GB, free: 8.449 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001495/0.2411, allocations: 246.9 kB / 0.4944 GB, free: 8.203 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.161e-05/0.2412, allocations: 4 kB / 0.4944 GB, free: 8.199 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-05/0.2412, allocations: 3.984 kB / 0.4944 GB, free: 8.195 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.2412, allocations: 0 / 0.4944 GB, free: 8.195 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006537/0.2419, allocations: 245.4 kB / 0.4946 GB, free: 7.906 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/0.2419, allocations: 0 / 0.4946 GB, free: 7.906 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005208/0.2472, allocations: 211.6 kB / 0.4948 GB, free: 7.699 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-05/0.2472, allocations: 4 kB / 0.4948 GB, free: 7.695 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.571e-05/0.2473, allocations: 3.984 kB / 0.4949 GB, free: 7.691 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01942/0.2667, allocations: 8.157 MB / 0.5028 GB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.508e-06/0.2668, allocations: 8.125 kB / 0.5028 GB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001297/0.2681, allocations: 303.8 kB / 0.5031 GB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001974/0.2684, allocations: 104.8 kB / 0.5032 GB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.99e-05/0.2685, allocations: 8 kB / 0.5032 GB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005667/0.2691, allocations: 11.98 kB / 0.5032 GB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001982/0.2693, allocations: 19.91 kB / 0.5033 GB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.631e-05/0.2694, allocations: 4 kB / 0.5033 GB, free: 14.27 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000487/0.2699, allocations: 195.1 kB / 0.5034 GB, free: 14.07 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.41e-07/0.2699, allocations: 3.938 kB / 0.5034 GB, free: 14.07 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001077/0.271, allocations: 60 kB / 0.5035 GB, free: 14.01 MB / 362.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): 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 Backend phase and start with SimCode phase: time 0.001931/0.273, allocations: 0.845 MB / 0.5043 GB, free: 13.14 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01079/0.2839, allocations: 467.5 kB / 0.5048 GB, free: 12.68 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.046e-05/0.2839, allocations: 0 / 0.5048 GB, free: 12.68 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007185/0.2912, allocations: 311.5 kB / 0.5051 GB, free: 12.38 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006973/0.2919, allocations: 39.95 kB / 0.5051 GB, free: 12.34 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006308/0.2983, allocations: 1.809 MB / 0.5069 GB, free: 10.45 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005816/0.2989, allocations: 0.7398 MB / 0.5076 GB, free: 9.688 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002402/0.2992, allocations: 51.42 kB / 0.5076 GB, free: 9.641 MB / 362.7 MB Notification: Performance of SimCode: time 2.164e-06/0.2992, allocations: 0 / 0.5076 GB, free: 9.641 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.034/3.333, allocations: 7.001 MB / 0.5145 GB, free: 2.641 MB / 362.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_laminar_KC.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_laminar_KC.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_KC_res.mat does not exist to compare? outputFormat=mat