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.002216/0.002216, allocations: 180.4 kB / 13.66 MB, free: 1.66 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.389/2.389, allocations: 205.2 MB / 219.4 MB, free: 14.27 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.001107/0.001106, allocations: 86.36 kB / 267.5 MB, free: 14.11 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.2914/0.2914, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 5.183e-05/5.188e-05, allocations: 7.984 kB / 425.4 MB, free: 23.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.1742, allocations: 58.85 MB / 484.3 MB, free: 12.34 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5708/0.745, allocations: 90.75 MB / 0.5615 GB, free: 12.39 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003964/0.7455, allocations: 94.66 kB / 0.5616 GB, free: 12.33 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03885/0.7844, allocations: 7.636 MB / 0.5691 GB, free: 5.758 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.7844, allocations: 0 / 0.5691 GB, free: 5.758 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.002e-05/0.7845, allocations: 4 kB / 0.5691 GB, free: 5.754 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.00124/0.7857, allocations: 487.7 kB / 0.5696 GB, free: 5.242 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.002e-05/0.7858, allocations: 12.02 kB / 0.5696 GB, free: 5.23 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.419e-05/0.7859, allocations: 43.38 kB / 0.5696 GB, free: 5.188 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.362e-05/0.786, allocations: 19.72 kB / 0.5696 GB, free: 5.168 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003998/0.7864, allocations: 226.2 kB / 0.5698 GB, free: 4.91 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.7864, allocations: 7.484 kB / 0.5698 GB, free: 4.906 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.531e-05/0.7865, allocations: 11.31 kB / 0.5699 GB, free: 4.898 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000604/0.7871, allocations: 233.8 kB / 0.5701 GB, free: 4.691 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.7871, allocations: 0 / 0.5701 GB, free: 4.691 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.312e-05/0.7872, allocations: 7.922 kB / 0.5701 GB, free: 4.688 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.912e-05/0.7872, allocations: 20.16 kB / 0.5701 GB, free: 4.668 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005171/0.7878, allocations: 171 kB / 0.5703 GB, free: 4.531 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001916/0.7897, allocations: 0.8143 MB / 0.5711 GB, free: 3.719 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000437/0.7902, allocations: 167.1 kB / 0.5712 GB, free: 3.543 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005059/0.7907, allocations: 74.47 kB / 0.5713 GB, free: 3.469 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.921e-05/0.7909, allocations: 3.938 kB / 0.5713 GB, free: 3.465 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.032e-05/0.791, allocations: 38.44 kB / 0.5713 GB, free: 3.422 MB / 378.7 MB Notification: Performance of pre-optimization done (n=11): time 5.1e-06/0.791, allocations: 0 / 0.5713 GB, free: 3.422 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.001117/0.7921, allocations: 184.6 kB / 0.5715 GB, free: 3.25 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.834e-05/0.7923, allocations: 106.8 kB / 0.5716 GB, free: 3.121 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000622/0.7929, allocations: 234 kB / 0.5718 GB, free: 2.918 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.908e-05/0.793, allocations: 29.2 kB / 0.5719 GB, free: 2.887 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001854/0.7932, allocations: 184.2 kB / 0.572 GB, free: 2.723 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.982e-05/0.7933, allocations: 42.38 kB / 0.5721 GB, free: 2.688 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.62e-05/0.7933, allocations: 4 kB / 0.5721 GB, free: 2.684 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001973/0.7936, allocations: 318.5 kB / 0.5724 GB, free: 2.367 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003633/0.7939, allocations: 62.52 kB / 0.5725 GB, free: 2.312 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004649/0.7944, allocations: 110.6 kB / 0.5726 GB, free: 2.203 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004596/0.7949, allocations: 78.73 kB / 0.5726 GB, free: 2.133 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.7949, allocations: 0 / 0.5726 GB, free: 2.133 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.001069/0.796, allocations: 198.6 kB / 0.5728 GB, free: 1.953 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.188e-05/0.7961, allocations: 4 kB / 0.5728 GB, free: 1.949 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.437e-05/0.7962, allocations: 11.98 kB / 0.5728 GB, free: 1.938 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.842e-05/0.7962, allocations: 4 kB / 0.5728 GB, free: 1.934 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007981/0.797, allocations: 52.05 kB / 0.5729 GB, free: 1.883 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.454e-05/0.7971, allocations: 11.94 kB / 0.5729 GB, free: 1.871 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007227/0.7978, allocations: 46.84 kB / 0.5729 GB, free: 1.828 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.658e-05/0.7979, allocations: 11.62 kB / 0.573 GB, free: 1.82 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 () * 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.0001761/0.7981, allocations: 107.2 kB / 0.5731 GB, free: 1.715 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002011/0.7983, allocations: 27.75 kB / 0.5731 GB, free: 1.688 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001008/0.7994, allocations: 190.6 kB / 0.5733 GB, free: 1.523 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.548e-05/0.7994, allocations: 4 kB / 0.5733 GB, free: 1.52 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.296e-06/0.7994, allocations: 0 / 0.5733 GB, free: 1.52 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.143e-05/0.7995, allocations: 3.953 kB / 0.5733 GB, free: 1.516 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000954/0.8004, allocations: 252.3 kB / 0.5735 GB, free: 1.242 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.26e-05/0.8005, allocations: 15.92 kB / 0.5735 GB, free: 1.227 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006397/0.8012, allocations: 38.72 kB / 0.5736 GB, free: 1.191 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-05/0.8012, allocations: 8 kB / 0.5736 GB, free: 1.184 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.347e-05/0.8013, allocations: 3.984 kB / 0.5736 GB, free: 1.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.849e-06/0.8013, allocations: 4 kB / 0.5736 GB, free: 1.176 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.8013, allocations: 0 / 0.5736 GB, free: 1.176 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001131/0.8025, allocations: 451.3 kB / 0.574 GB, free: 0.7305 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001827/0.8027, allocations: 108.8 kB / 0.5741 GB, free: 0.6055 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.852e-05/0.8028, allocations: 0 / 0.5741 GB, free: 0.6055 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006031/0.8034, allocations: 31.48 kB / 0.5741 GB, free: 0.5781 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.833e-05/0.8035, allocations: 15.97 kB / 0.5742 GB, free: 0.5625 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.823e-05/0.8036, allocations: 7.562 kB / 0.5742 GB, free: 0.5586 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003021/0.8039, allocations: 190.9 kB / 0.5744 GB, free: 404 kB / 378.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.8039, allocations: 0 / 0.5744 GB, free: 404 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006294/0.8045, allocations: 75.61 kB / 0.5744 GB, free: 332 kB / 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 () * 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.001414/0.806, allocations: 1.183 MB / 0.5756 GB, free: 15.13 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006387/0.8066, allocations: 231.2 kB / 0.5758 GB, free: 14.91 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.8067, allocations: 3.938 kB / 0.5758 GB, free: 14.9 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002986/0.807, allocations: 146.9 kB / 0.5759 GB, free: 14.75 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005451/0.8075, allocations: 41.47 kB / 0.576 GB, free: 14.72 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001696/0.8092, allocations: 414.8 kB / 0.5764 GB, free: 14.29 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004496/0.8097, allocations: 0.7469 MB / 0.5771 GB, free: 13.52 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001852/0.8099, allocations: 53.16 kB / 0.5772 GB, free: 13.5 MB / 394.7 MB Notification: Performance of SimCode: time 1.112e-06/0.81, allocations: 4 kB / 0.5772 GB, free: 13.5 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.664/3.474, allocations: 4.426 MB / 0.5815 GB, free: 9.09 MB / 394.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