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_turbulent.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_turbulent,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent",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.002277/0.002276, allocations: 186.3 kB / 16.41 MB, free: 5.727 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.074/2.074, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001152/0.001152, allocations: 88.38 kB / 270.9 MB, free: 8.367 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.5322/0.5322, allocations: 43.56 MB / 362.7 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00111/0.001111, allocations: 19.98 kB / 431.5 MB, free: 6.027 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.134, allocations: 58.84 MB / 490.3 MB, free: 11.11 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5243/0.6583, allocations: 90.84 MB / 0.5676 GB, free: 11.67 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003755/0.6587, allocations: 95.94 kB / 0.5676 GB, free: 11.57 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0371/0.6959, allocations: 7.64 MB / 0.5751 GB, free: 3.93 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.6959, allocations: 0 / 0.5751 GB, free: 3.93 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.571e-05/0.696, allocations: 8 kB / 0.5751 GB, free: 3.922 MB / 394.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.001342/0.6973, allocations: 0.4939 MB / 0.5756 GB, free: 3.379 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.405e-05/0.6974, allocations: 8.562 kB / 0.5756 GB, free: 3.371 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.692e-05/0.6975, allocations: 54.55 kB / 0.5757 GB, free: 3.309 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.683e-05/0.6976, allocations: 23.16 kB / 0.5757 GB, free: 3.289 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003397/0.6979, allocations: 214.8 kB / 0.5759 GB, free: 3.039 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.887e-05/0.6979, allocations: 8.234 kB / 0.5759 GB, free: 3.031 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.642e-05/0.698, allocations: 12 kB / 0.5759 GB, free: 3.02 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008945/0.6989, allocations: 278.5 kB / 0.5762 GB, free: 2.727 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.6989, allocations: 3.984 kB / 0.5762 GB, free: 2.723 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.652e-05/0.699, allocations: 11.98 kB / 0.5762 GB, free: 2.711 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-05/0.699, allocations: 9.266 kB / 0.5762 GB, free: 2.703 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001114/0.7002, allocations: 252.4 kB / 0.5764 GB, free: 2.457 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001778/0.702, allocations: 0.8295 MB / 0.5772 GB, free: 1.566 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007019/0.7027, allocations: 200.5 kB / 0.5774 GB, free: 1.344 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.133e-05/0.7028, allocations: 7.984 kB / 0.5774 GB, free: 1.336 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.397e-05/0.7028, allocations: 34.56 kB / 0.5775 GB, free: 1.293 MB / 394.7 MB Notification: Performance of pre-optimization done (n=11): time 2.946e-06/0.7028, allocations: 0 / 0.5775 GB, free: 1.293 MB / 394.7 MB Notification: Performance of matching and sorting (n=11): time 0.00175/0.7046, allocations: 353.4 kB / 0.5778 GB, free: 0.9414 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.434e-05/0.7047, allocations: 106.8 kB / 0.5779 GB, free: 0.8125 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004203/0.7051, allocations: 236.1 kB / 0.5781 GB, free: 0.582 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.232e-05/0.7052, allocations: 29.7 kB / 0.5782 GB, free: 0.5469 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001381/0.7053, allocations: 194.4 kB / 0.5784 GB, free: 364 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.985e-05/0.7054, allocations: 43.44 kB / 0.5784 GB, free: 320 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.304e-05/0.7055, allocations: 0 / 0.5784 GB, free: 320 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.7056, allocations: 314.8 kB / 0.5787 GB, free: 16 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005101/0.7061, allocations: 107.9 kB / 0.5788 GB, free: 15.89 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005504/0.7067, allocations: 141 kB / 0.5789 GB, free: 15.73 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005816/0.7073, allocations: 119.9 kB / 0.579 GB, free: 15.62 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.7073, allocations: 0 / 0.579 GB, free: 15.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.001225/0.7086, allocations: 293.2 kB / 0.5793 GB, free: 15.32 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.38e-05/0.7086, allocations: 12.41 kB / 0.5793 GB, free: 15.31 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.794e-05/0.7087, allocations: 4 kB / 0.5793 GB, free: 15.31 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.231e-05/0.7087, allocations: 4 kB / 0.5793 GB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004514/0.7092, allocations: 48.11 kB / 0.5794 GB, free: 15.26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.344e-05/0.7092, allocations: 7.891 kB / 0.5794 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004362/0.7096, allocations: 47.69 kB / 0.5794 GB, free: 15.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.235e-05/0.7097, allocations: 8 kB / 0.5795 GB, free: 15.2 MB / 410.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.0002153/0.7099, allocations: 141.8 kB / 0.5796 GB, free: 15.05 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001032/0.71, allocations: 15.81 kB / 0.5796 GB, free: 15.03 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008762/0.7109, allocations: 234 kB / 0.5798 GB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.079e-05/0.7109, allocations: 3.984 kB / 0.5798 GB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.711, allocations: 8 kB / 0.5798 GB, free: 14.79 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.711, allocations: 3.953 kB / 0.5798 GB, free: 14.79 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000618/0.7116, allocations: 245.6 kB / 0.5801 GB, free: 14.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.505e-05/0.7117, allocations: 11.98 kB / 0.5801 GB, free: 14.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003568/0.712, allocations: 35.91 kB / 0.5801 GB, free: 14.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.443e-06/0.712, allocations: 0 / 0.5801 GB, free: 14.45 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.813e-05/0.7121, allocations: 7.984 kB / 0.5801 GB, free: 14.44 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.7121, allocations: 0 / 0.5801 GB, free: 14.44 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.7121, allocations: 8 kB / 0.5801 GB, free: 14.43 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001243/0.7134, allocations: 0.5226 MB / 0.5806 GB, free: 13.88 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001115/0.7135, allocations: 96.86 kB / 0.5807 GB, free: 13.77 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.129e-05/0.7136, allocations: 15.98 kB / 0.5808 GB, free: 13.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004563/0.714, allocations: 23.94 kB / 0.5808 GB, free: 13.73 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.7142, allocations: 19.91 kB / 0.5808 GB, free: 13.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.592e-05/0.7142, allocations: 4 kB / 0.5808 GB, free: 13.71 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003105/0.7145, allocations: 192.4 kB / 0.581 GB, free: 13.52 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.7145, allocations: 0 / 0.581 GB, free: 13.52 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006343/0.7152, allocations: 75.94 kB / 0.5811 GB, free: 13.44 MB / 410.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.001972/0.7172, allocations: 1.269 MB / 0.5823 GB, free: 12.14 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001206/0.7184, allocations: 304.8 kB / 0.5826 GB, free: 11.82 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.197e-06/0.7184, allocations: 0 / 0.5826 GB, free: 11.82 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005909/0.719, allocations: 197.2 kB / 0.5828 GB, free: 11.61 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005996/0.7197, allocations: 36.53 kB / 0.5828 GB, free: 11.57 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004879/0.7246, allocations: 2.297 MB / 0.5851 GB, free: 9.203 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00045/0.725, allocations: 0.7478 MB / 0.5858 GB, free: 8.43 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000204/0.7253, allocations: 55.41 kB / 0.5858 GB, free: 8.375 MB / 410.7 MB Notification: Performance of SimCode: time 9.41e-07/0.7253, allocations: 0 / 0.5858 GB, free: 8.375 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.813/3.538, allocations: 4.481 MB / 0.5902 GB, free: 3.922 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.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_turbulent_res.mat does not exist to compare? outputFormat=mat