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_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_turbulent_KC,fileNamePrefix="ModelicaTest_3_2_3_cpp_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_3_2_3_cpp_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/Complex 3.2.3+maint.om/package.mo): time 0.0015/0.001499, allocations: 186.5 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.048/2.048, allocations: 205.4 MB / 222.5 MB, free: 9.137 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.001187/0.001186, allocations: 96.36 kB / 270.9 MB, free: 8.379 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.53/0.53, allocations: 43.56 MB / 362.7 MB, free: 51.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007648/0.0007651, allocations: 12 kB / 431.5 MB, free: 5.832 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1675/0.1683, allocations: 58.84 MB / 490.3 MB, free: 10.9 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5102/0.6786, allocations: 88.89 MB / 0.5657 GB, free: 13.59 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003976/0.679, allocations: 95.94 kB / 0.5657 GB, free: 13.5 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02923/0.7083, allocations: 5.789 MB / 0.5714 GB, free: 7.711 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.456e-06/0.7083, allocations: 4 kB / 0.5714 GB, free: 7.707 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.733e-05/0.7084, allocations: 4 kB / 0.5714 GB, free: 7.703 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.0008699/0.7093, allocations: 446.5 kB / 0.5718 GB, free: 7.223 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.717e-05/0.7093, allocations: 8.562 kB / 0.5718 GB, free: 7.215 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.997e-05/0.7094, allocations: 54.48 kB / 0.5719 GB, free: 7.152 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001333/0.7108, allocations: 111.1 kB / 0.572 GB, free: 7.047 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004216/0.7112, allocations: 222.7 kB / 0.5722 GB, free: 6.789 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.7113, allocations: 12 kB / 0.5722 GB, free: 6.777 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.425e-05/0.7113, allocations: 7.984 kB / 0.5722 GB, free: 6.77 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008929/0.7122, allocations: 302.9 kB / 0.5725 GB, free: 6.461 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.7123, allocations: 7.5 kB / 0.5725 GB, free: 6.457 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.023e-05/0.7123, allocations: 8 kB / 0.5725 GB, free: 6.449 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-05/0.7124, allocations: 15.98 kB / 0.5725 GB, free: 6.434 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001095/0.7135, allocations: 311.6 kB / 0.5728 GB, free: 6.133 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002515/0.716, allocations: 0.7267 MB / 0.5736 GB, free: 5.355 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009354/0.717, allocations: 283.8 kB / 0.5738 GB, free: 5.07 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.643e-05/0.7171, allocations: 0 / 0.5738 GB, free: 5.07 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.534e-05/0.7171, allocations: 34.5 kB / 0.5739 GB, free: 5.027 MB / 394.7 MB Notification: Performance of pre-optimization done (n=13): time 1.643e-06/0.7172, allocations: 4 kB / 0.5739 GB, free: 5.023 MB / 394.7 MB Notification: Performance of matching and sorting (n=13): time 0.001467/0.7186, allocations: 361.4 kB / 0.5742 GB, free: 4.664 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.701e-05/0.7187, allocations: 51.41 kB / 0.5743 GB, free: 4.602 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003396/0.7191, allocations: 210.3 kB / 0.5745 GB, free: 4.391 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.584e-05/0.7192, allocations: 25.7 kB / 0.5745 GB, free: 4.359 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001239/0.7193, allocations: 188.5 kB / 0.5747 GB, free: 4.176 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.552e-05/0.7194, allocations: 47.3 kB / 0.5747 GB, free: 4.129 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.239e-05/0.7194, allocations: 4 kB / 0.5747 GB, free: 4.125 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.7196, allocations: 322.8 kB / 0.575 GB, free: 3.801 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004254/0.72, allocations: 103.9 kB / 0.5751 GB, free: 3.699 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004382/0.7205, allocations: 139.2 kB / 0.5752 GB, free: 3.551 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000484/0.721, allocations: 119.1 kB / 0.5754 GB, free: 3.438 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.721, allocations: 0 / 0.5754 GB, free: 3.438 MB / 394.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.001128/0.7221, allocations: 297.2 kB / 0.5756 GB, free: 3.141 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.739e-05/0.7222, allocations: 4.781 kB / 0.5756 GB, free: 3.137 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.7222, allocations: 4 kB / 0.5757 GB, free: 3.133 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.107e-05/0.7222, allocations: 0 / 0.5757 GB, free: 3.133 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03644/0.7587, allocations: 0.9319 MB / 0.5766 GB, free: 2.199 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0451/0.8038, allocations: 10.3 MB / 0.5866 GB, free: 7.098 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007346/0.8046, allocations: 31.73 kB / 0.5867 GB, free: 7.066 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.527e-05/0.8047, allocations: 11.97 kB / 0.5867 GB, free: 7.055 MB / 410.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.0002444/0.8049, allocations: 146 kB / 0.5868 GB, free: 6.902 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.206e-05/0.805, allocations: 19.8 kB / 0.5868 GB, free: 6.883 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01429/0.8193, allocations: 0.6764 MB / 0.5875 GB, free: 6.195 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.204e-05/0.8194, allocations: 0 / 0.5875 GB, free: 6.195 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.8194, allocations: 0 / 0.5875 GB, free: 6.195 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.198e-06/0.8194, allocations: 0 / 0.5875 GB, free: 6.195 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006111/0.82, allocations: 281.3 kB / 0.5878 GB, free: 5.871 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/0.8201, allocations: 7.938 kB / 0.5878 GB, free: 5.863 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004955/0.8206, allocations: 35.97 kB / 0.5878 GB, free: 5.828 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01607/0.8367, allocations: 485.7 kB / 0.5883 GB, free: 5.344 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.469e-05/0.8368, allocations: 11.97 kB / 0.5883 GB, free: 5.332 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03249/0.8693, allocations: 9.722 MB / 0.5978 GB, free: 10.8 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.8693, allocations: 0 / 0.5978 GB, free: 10.8 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01421/0.8835, allocations: 0.7277 MB / 0.5985 GB, free: 10.04 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001399/0.8837, allocations: 92.83 kB / 0.5986 GB, free: 9.934 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.085e-05/0.8838, allocations: 8 kB / 0.5986 GB, free: 9.926 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005454/0.8844, allocations: 11.98 kB / 0.5986 GB, free: 9.914 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002532/0.8846, allocations: 55.77 kB / 0.5986 GB, free: 9.859 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.129e-05/0.8847, allocations: 7.984 kB / 0.5986 GB, free: 9.852 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002873/0.885, allocations: 180.1 kB / 0.5988 GB, free: 9.676 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.555e-06/0.885, allocations: 0 / 0.5988 GB, free: 9.676 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000896/0.8859, allocations: 99.94 kB / 0.5989 GB, free: 9.578 MB / 426.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): 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.0147/0.9006, allocations: 1.275 MB / 0.6002 GB, free: 8.266 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02615/0.9268, allocations: 0.78 MB / 0.6009 GB, free: 7.484 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.216e-06/0.9269, allocations: 0 / 0.6009 GB, free: 7.484 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003879/0.9308, allocations: 0.5371 MB / 0.6014 GB, free: 6.914 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004581/0.9313, allocations: 36.12 kB / 0.6015 GB, free: 6.875 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008245/0.9395, allocations: 2.184 MB / 0.6036 GB, free: 4.625 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004603/0.9401, allocations: 0.7401 MB / 0.6043 GB, free: 3.859 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001512/0.9402, allocations: 51.36 kB / 0.6044 GB, free: 3.809 MB / 426.7 MB Notification: Performance of SimCode: time 1.283e-06/0.9402, allocations: 0 / 0.6044 GB, free: 3.809 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.047/3.988, allocations: 7.986 MB / 0.6122 GB, free: 11.84 MB / 442.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_KC_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_KC.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_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_turbulent_KC_res.mat does not exist to compare? outputFormat=mat