Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent,fileNamePrefix="ModelicaTest_4_0_0_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_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 174.5 kB / 8.743 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 221.5 MB / 230.7 MB, free: 7.535 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009029/0.0009024, allocations: 94.48 kB / 281.6 MB, free: 5.281 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2093/0.2093, allocations: 44.15 MB / 376.5 MB, free: 3.055 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.841e-05/1.882e-05, allocations: 4.219 kB / 444.7 MB, free: 15.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1395, allocations: 61.92 MB / 0.4948 GB, free: 1.148 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.43/0.5696, allocations: 91.2 MB / 0.5838 GB, free: 5.254 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002385/0.5699, allocations: 99.92 kB / 0.5839 GB, free: 5.156 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02149/0.5914, allocations: 7.728 MB / 0.5915 GB, free: 13.4 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.5914, allocations: 0 / 0.5915 GB, free: 13.4 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.204e-05/0.5914, allocations: 4 kB / 0.5915 GB, free: 13.39 MB / 410.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.0007165/0.5922, allocations: 486.2 kB / 0.592 GB, free: 12.87 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.5922, allocations: 11.98 kB / 0.592 GB, free: 12.86 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.952e-05/0.5923, allocations: 19.72 kB / 0.592 GB, free: 12.84 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002411/0.5925, allocations: 224.4 kB / 0.5922 GB, free: 12.58 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.5925, allocations: 7.953 kB / 0.5922 GB, free: 12.57 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.509e-05/0.5926, allocations: 8 kB / 0.5922 GB, free: 12.57 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000238/0.5928, allocations: 128.4 kB / 0.5923 GB, free: 12.44 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003073/0.5931, allocations: 222.4 kB / 0.5926 GB, free: 12.2 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.5931, allocations: 0 / 0.5926 GB, free: 12.2 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.29e-05/0.5932, allocations: 0 / 0.5926 GB, free: 12.2 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.891e-05/0.5932, allocations: 12.23 kB / 0.5926 GB, free: 12.19 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009964/0.5942, allocations: 0.7635 MB / 0.5933 GB, free: 11.38 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002091/0.5944, allocations: 159.7 kB / 0.5935 GB, free: 11.2 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001103/0.5946, allocations: 74.53 kB / 0.5935 GB, free: 11.11 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.495e-05/0.5946, allocations: 0 / 0.5935 GB, free: 11.11 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.5946, allocations: 42.55 kB / 0.5936 GB, free: 11.06 MB / 410.7 MB Notification: Performance of pre-optimization done (n=11): time 1.062e-06/0.5946, allocations: 0 / 0.5936 GB, free: 11.06 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003547/0.595, allocations: 165.5 kB / 0.5937 GB, free: 10.89 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.365e-05/0.5951, allocations: 106.9 kB / 0.5938 GB, free: 10.77 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001664/0.5952, allocations: 174.6 kB / 0.594 GB, free: 10.58 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.5953, allocations: 25.7 kB / 0.594 GB, free: 10.55 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.929e-05/0.5954, allocations: 136 kB / 0.5942 GB, free: 10.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.34e-05/0.5954, allocations: 35.45 kB / 0.5942 GB, free: 10.38 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.368e-05/0.5954, allocations: 4 kB / 0.5942 GB, free: 10.37 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.5955, allocations: 326.8 kB / 0.5945 GB, free: 10.04 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001007/0.5956, allocations: 55.95 kB / 0.5946 GB, free: 9.988 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001285/0.5958, allocations: 107.8 kB / 0.5947 GB, free: 9.867 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001215/0.5959, allocations: 83.84 kB / 0.5947 GB, free: 9.785 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.5959, allocations: 0 / 0.5947 GB, free: 9.785 MB / 410.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003244/0.5962, allocations: 205.3 kB / 0.5949 GB, free: 9.578 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.5963, allocations: 8 kB / 0.5949 GB, free: 9.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.366e-05/0.5963, allocations: 7.984 kB / 0.5949 GB, free: 9.562 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.5963, allocations: 4 kB / 0.595 GB, free: 9.559 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002586/0.5966, allocations: 43.95 kB / 0.595 GB, free: 9.516 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.5966, allocations: 0 / 0.595 GB, free: 9.516 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002144/0.5968, allocations: 36.03 kB / 0.595 GB, free: 9.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.461e-05/0.5969, allocations: 8 kB / 0.595 GB, free: 9.473 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 () * 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 8.265e-05/0.5969, allocations: 112.8 kB / 0.5951 GB, free: 9.355 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003016/0.5972, allocations: 166.2 kB / 0.5953 GB, free: 9.188 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.997e-05/0.5973, allocations: 19.8 kB / 0.5953 GB, free: 9.168 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003271/0.5977, allocations: 187.5 kB / 0.5955 GB, free: 8.98 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.5977, allocations: 8 kB / 0.5955 GB, free: 8.973 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.5977, allocations: 0 / 0.5955 GB, free: 8.973 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.5977, allocations: 3.984 kB / 0.5955 GB, free: 8.969 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003404/0.5981, allocations: 230 kB / 0.5957 GB, free: 8.707 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.534e-05/0.5981, allocations: 4 kB / 0.5957 GB, free: 8.703 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000206/0.5983, allocations: 47.89 kB / 0.5958 GB, free: 8.656 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.5983, allocations: 0 / 0.5958 GB, free: 8.656 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.96e-05/0.5983, allocations: 8 kB / 0.5958 GB, free: 8.648 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.5983, allocations: 0 / 0.5958 GB, free: 8.648 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/0.5984, allocations: 4 kB / 0.5958 GB, free: 8.645 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004387/0.5988, allocations: 437.3 kB / 0.5962 GB, free: 8.188 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.841e-05/0.5989, allocations: 100.9 kB / 0.5963 GB, free: 8.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.309e-05/0.5989, allocations: 0 / 0.5963 GB, free: 8.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002701/0.5992, allocations: 23.97 kB / 0.5963 GB, free: 8.047 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.972e-05/0.5993, allocations: 19.92 kB / 0.5963 GB, free: 8.027 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-05/0.5993, allocations: 7.984 kB / 0.5964 GB, free: 8.02 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001089/0.5994, allocations: 137.2 kB / 0.5965 GB, free: 7.887 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5994, allocations: 4 kB / 0.5965 GB, free: 7.883 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004764/0.5999, allocations: 71.84 kB / 0.5966 GB, free: 7.812 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 () * 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.001017/0.6009, allocations: 1.16 MB / 0.5977 GB, free: 6.613 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003274/0.6013, allocations: 216.9 kB / 0.5979 GB, free: 6.383 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.6013, allocations: 0 / 0.5979 GB, free: 6.383 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001557/0.6015, allocations: 160.9 kB / 0.5981 GB, free: 6.207 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003421/0.6018, allocations: 20.56 kB / 0.5981 GB, free: 6.184 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00093/0.6028, allocations: 360.4 kB / 0.5984 GB, free: 5.793 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002992/0.6031, allocations: 0.7431 MB / 0.5991 GB, free: 5.023 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000119/0.6032, allocations: 48.5 kB / 0.5992 GB, free: 4.973 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.615e-05/0.6033, allocations: 45.55 kB / 0.5992 GB, free: 4.93 MB / 410.7 MB Notification: Performance of SimCode: time 2.61e-07/0.6033, allocations: 0 / 0.5992 GB, free: 4.93 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02263/0.6259, allocations: 4.008 MB / 0.6031 GB, free: 0.9453 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001905/0.6262, allocations: 186.1 kB / 0.6033 GB, free: 0.7422 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.568/2.194, allocations: 0 / 0.6033 GB, free: 0.7422 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Plate_kc_turbulent.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Plate.kc_turbulent_res.mat does not exist to compare? outputFormat=mat